#include <vtkGeoAlignedImageRepresentation.h>
vtkGeoAlignedImageRepresentation represents a high resolution image over the globle. It has an associated vtkGeoSource which is responsible for fetching new data. This class keeps the fetched data in a quad-tree structure organized by latitude and longitude.
Definition at line 41 of file vtkGeoAlignedImageRepresentation.h.
vtkGeoSource * | GeoSource |
void | SetGeoSource (vtkGeoSource *source) |
Public Types | |
typedef vtkDataRepresentation | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkGeoImageNode * | GetBestImageForBounds (double bounds[4]) |
void | SaveDatabase (const char *path) |
virtual vtkGeoSource * | GetSource () |
virtual void | SetSource (vtkGeoSource *source) |
Static Public Member Functions | |
static vtkGeoAlignedImageRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkGeoAlignedImageRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGeoAlignedImageRepresentation () | |
~vtkGeoAlignedImageRepresentation () | |
void | Initialize () |
void | PrintTree (ostream &os, vtkIndent indent, vtkGeoImageNode *root) |
Protected Attributes | |
vtkGeoImageNode * | Root |
Reimplemented from vtkDataRepresentation.
Definition at line 45 of file vtkGeoAlignedImageRepresentation.h.
vtkGeoAlignedImageRepresentation::vtkGeoAlignedImageRepresentation | ( | ) | [protected] |
vtkGeoAlignedImageRepresentation::~vtkGeoAlignedImageRepresentation | ( | ) | [protected] |
static vtkGeoAlignedImageRepresentation* vtkGeoAlignedImageRepresentation::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataRepresentation.
virtual const char* vtkGeoAlignedImageRepresentation::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataRepresentation.
static int vtkGeoAlignedImageRepresentation::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataRepresentation.
virtual int vtkGeoAlignedImageRepresentation::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataRepresentation.
static vtkGeoAlignedImageRepresentation* vtkGeoAlignedImageRepresentation::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataRepresentation.
void vtkGeoAlignedImageRepresentation::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDataRepresentation.
virtual vtkGeoImageNode* vtkGeoAlignedImageRepresentation::GetBestImageForBounds | ( | double | bounds[4] | ) | [virtual] |
Retrieve the most refined image patch that covers the specified latitude and longitude bounds (lat-min, lat-max, long-min, long-max).
virtual vtkGeoSource* vtkGeoAlignedImageRepresentation::GetSource | ( | ) | [inline, virtual] |
The source for this representation. This must be set first before calling GetBestImageForBounds.
Definition at line 55 of file vtkGeoAlignedImageRepresentation.h.
virtual void vtkGeoAlignedImageRepresentation::SetSource | ( | vtkGeoSource * | source | ) | [virtual] |
The source for this representation. This must be set first before calling GetBestImageForBounds.
void vtkGeoAlignedImageRepresentation::SaveDatabase | ( | const char * | 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.
void vtkGeoAlignedImageRepresentation::SetGeoSource | ( | vtkGeoSource * | source | ) | [protected] |
The source for creating image nodes.
void vtkGeoAlignedImageRepresentation::Initialize | ( | ) | [protected] |
Initialize the representation with the current source.
void vtkGeoAlignedImageRepresentation::PrintTree | ( | ostream & | os, | |
vtkIndent | indent, | |||
vtkGeoImageNode * | root | |||
) | [protected] |
Print information about the image tree.
vtkGeoSource* vtkGeoAlignedImageRepresentation::GeoSource [protected] |
The source for creating image nodes.
Definition at line 73 of file vtkGeoAlignedImageRepresentation.h.
vtkGeoImageNode* vtkGeoAlignedImageRepresentation::Root [protected] |
The root of the image tree.
Definition at line 77 of file vtkGeoAlignedImageRepresentation.h.