Section: Visualization Toolkit Graphics Classes
vtkDashedStreamLine introduces the instance variable DashFactor. DashFactor interacts with its superclass' instance variable StepLength to create the dashes. DashFactor is the percentage of the StepLength line segment that is visible. Thus, if the DashFactor=0.75, the dashes will be "three-quarters on" and "one-quarter off".
To create an instance of class vtkDashedStreamLine, simply invoke its constructor as follows
obj = vtkDashedStreamLine
obj
is an instance of the vtkDashedStreamLine class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkDashedStreamLine = obj.NewInstance ()
vtkDashedStreamLine = obj.SafeDownCast (vtkObject o)
obj.SetDashFactor (double )
- For each dash, specify the fraction of the dash that is "on". A factor
of 1.0 will result in a continuous line, a factor of 0.5 will result in
dashed that are half on and half off.
double = obj.GetDashFactorMinValue ()
- For each dash, specify the fraction of the dash that is "on". A factor
of 1.0 will result in a continuous line, a factor of 0.5 will result in
dashed that are half on and half off.
double = obj.GetDashFactorMaxValue ()
- For each dash, specify the fraction of the dash that is "on". A factor
of 1.0 will result in a continuous line, a factor of 0.5 will result in
dashed that are half on and half off.
double = obj.GetDashFactor ()
- For each dash, specify the fraction of the dash that is "on". A factor
of 1.0 will result in a continuous line, a factor of 0.5 will result in
dashed that are half on and half off.