Section: Visualization Toolkit Geo Vis Classes
To create an instance of class vtkGeoTreeNodeCache, simply invoke its constructor as follows
obj = vtkGeoTreeNodeCache
obj
is an instance of the vtkGeoTreeNodeCache class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkGeoTreeNodeCache = obj.NewInstance ()
vtkGeoTreeNodeCache = obj.SafeDownCast (vtkObject o)
obj.SetCacheMaximumLimit (int )
- The size of the cache of geospatial nodes.
When the size reaches this limit, the list of non-empty
nodes will be shortened to CacheMinimumLimit.
int = obj.GetCacheMaximumLimit ()
- The size of the cache of geospatial nodes.
When the size reaches this limit, the list of non-empty
nodes will be shortened to CacheMinimumLimit.
obj.SetCacheMinimumLimit (int )
- The cache is reduced to this size when the maximum limit is reached.
int = obj.GetCacheMinimumLimit ()
- The cache is reduced to this size when the maximum limit is reached.
obj.SendToFront (vtkGeoTreeNode node)
- Send a node to the front of the list.
Perform this whenever a node is accessed, so that the most
recently accessed nodes' data are not deleted.
obj.RemoveNode (vtkGeoTreeNode node)
- Remove the node from the list.
int = obj.GetSize ()
- The current size of the list.