Section: Visualization Toolkit Geo Vis Classes
To create an instance of class vtkGeoAlignedImageRepresentation, simply invoke its constructor as follows
obj = vtkGeoAlignedImageRepresentation
obj
is an instance of the vtkGeoAlignedImageRepresentation class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkGeoAlignedImageRepresentation = obj.NewInstance ()
vtkGeoAlignedImageRepresentation = obj.SafeDownCast (vtkObject o)
vtkGeoImageNode = obj.GetBestImageForBounds (double bounds[4])
- Retrieve the most refined image patch that covers the specified
latitude and longitude bounds (lat-min, lat-max, long-min, long-max).
vtkGeoSource = obj.GetSource ()
- The source for this representation. This must be set first before
calling GetBestImageForBounds.
obj.SetSource (vtkGeoSource source)
- The source for this representation. This must be set first before
calling GetBestImageForBounds.
obj.SaveDatabase (string path)
- Serialize the database to the specified directory.
Each image is stored as a .vti file.
The Origin and Spacing of the saved image contain (lat-min, long-min)
and (lat-max, long-max), respectively.
Files are named based on their level and id within that level.