Section: Visualization Toolkit Infovis Classes
.SECTION Thanks Thanks to Brian Wylie from Sandia National Laboratories for creating this class.
To create an instance of class vtkSimple2DLayoutStrategy, simply invoke its constructor as follows
obj = vtkSimple2DLayoutStrategy
obj
is an instance of the vtkSimple2DLayoutStrategy class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkSimple2DLayoutStrategy = obj.NewInstance ()
vtkSimple2DLayoutStrategy = obj.SafeDownCast (vtkObject o)
obj.SetRandomSeed (int )
- Seed the random number generator used to jitter point positions.
This has a significant effect on their final positions when
the layout is complete.
int = obj.GetRandomSeedMinValue ()
- Seed the random number generator used to jitter point positions.
This has a significant effect on their final positions when
the layout is complete.
int = obj.GetRandomSeedMaxValue ()
- Seed the random number generator used to jitter point positions.
This has a significant effect on their final positions when
the layout is complete.
int = obj.GetRandomSeed ()
- Seed the random number generator used to jitter point positions.
This has a significant effect on their final positions when
the layout is complete.
obj.SetMaxNumberOfIterations (int )
- Set/Get the maximum number of iterations to be used.
The higher this number, the more iterations through the algorithm
is possible, and thus, the more the graph gets modified.
The default is '100' for no particular reason
Note: The strong recommendation is that you do not change
this parameter. :)
int = obj.GetMaxNumberOfIterationsMinValue ()
- Set/Get the maximum number of iterations to be used.
The higher this number, the more iterations through the algorithm
is possible, and thus, the more the graph gets modified.
The default is '100' for no particular reason
Note: The strong recommendation is that you do not change
this parameter. :)
int = obj.GetMaxNumberOfIterationsMaxValue ()
- Set/Get the maximum number of iterations to be used.
The higher this number, the more iterations through the algorithm
is possible, and thus, the more the graph gets modified.
The default is '100' for no particular reason
Note: The strong recommendation is that you do not change
this parameter. :)
int = obj.GetMaxNumberOfIterations ()
- Set/Get the maximum number of iterations to be used.
The higher this number, the more iterations through the algorithm
is possible, and thus, the more the graph gets modified.
The default is '100' for no particular reason
Note: The strong recommendation is that you do not change
this parameter. :)
obj.SetIterationsPerLayout (int )
- Set/Get the number of iterations per layout.
The only use for this ivar is for the application
to do visualizations of the layout before it's complete.
The default is '100' to match the default 'MaxNumberOfIterations'
Note: Changing this parameter is just fine :)
int = obj.GetIterationsPerLayoutMinValue ()
- Set/Get the number of iterations per layout.
The only use for this ivar is for the application
to do visualizations of the layout before it's complete.
The default is '100' to match the default 'MaxNumberOfIterations'
Note: Changing this parameter is just fine :)
int = obj.GetIterationsPerLayoutMaxValue ()
- Set/Get the number of iterations per layout.
The only use for this ivar is for the application
to do visualizations of the layout before it's complete.
The default is '100' to match the default 'MaxNumberOfIterations'
Note: Changing this parameter is just fine :)
int = obj.GetIterationsPerLayout ()
- Set/Get the number of iterations per layout.
The only use for this ivar is for the application
to do visualizations of the layout before it's complete.
The default is '100' to match the default 'MaxNumberOfIterations'
Note: Changing this parameter is just fine :)
obj.SetInitialTemperature (float )
- Set the initial temperature. The temperature default is '5'
for no particular reason
Note: The strong recommendation is that you do not change
this parameter. :)
float = obj.GetInitialTemperatureMinValue ()
- Set the initial temperature. The temperature default is '5'
for no particular reason
Note: The strong recommendation is that you do not change
this parameter. :)
float = obj.GetInitialTemperatureMaxValue ()
- Set the initial temperature. The temperature default is '5'
for no particular reason
Note: The strong recommendation is that you do not change
this parameter. :)
float = obj.GetInitialTemperature ()
- Set the initial temperature. The temperature default is '5'
for no particular reason
Note: The strong recommendation is that you do not change
this parameter. :)
obj.SetCoolDownRate (double )
- Set/Get the Cool-down rate.
The higher this number is, the longer it will take to "cool-down",
and thus, the more the graph will be modified. The default is '10'
for no particular reason.
Note: The strong recommendation is that you do not change
this parameter. :)
double = obj.GetCoolDownRateMinValue ()
- Set/Get the Cool-down rate.
The higher this number is, the longer it will take to "cool-down",
and thus, the more the graph will be modified. The default is '10'
for no particular reason.
Note: The strong recommendation is that you do not change
this parameter. :)
double = obj.GetCoolDownRateMaxValue ()
- Set/Get the Cool-down rate.
The higher this number is, the longer it will take to "cool-down",
and thus, the more the graph will be modified. The default is '10'
for no particular reason.
Note: The strong recommendation is that you do not change
this parameter. :)
double = obj.GetCoolDownRate ()
- Set/Get the Cool-down rate.
The higher this number is, the longer it will take to "cool-down",
and thus, the more the graph will be modified. The default is '10'
for no particular reason.
Note: The strong recommendation is that you do not change
this parameter. :)
obj.SetJitter (bool )
- Set Random jitter of the nodes at initialization
to on or off.
Note: It's strongly recommendation to have jitter ON
even if you have initial coordinates in your graph.
Default is ON
bool = obj.GetJitter ()
- Set Random jitter of the nodes at initialization
to on or off.
Note: It's strongly recommendation to have jitter ON
even if you have initial coordinates in your graph.
Default is ON
obj.SetRestDistance (float )
- Manually set the resting distance. Otherwise the
distance is computed automatically.
float = obj.GetRestDistance ()
- Manually set the resting distance. Otherwise the
distance is computed automatically.
obj.Initialize ()
- This strategy sets up some data structures
for faster processing of each Layout() call
obj.Layout ()
- This is the layout method where the graph that was
set in SetGraph() is laid out. The method can either
entirely layout the graph or iteratively lay out the
graph. If you have an iterative layout please implement
the IsLayoutComplete() method.
int = obj.IsLayoutComplete ()