VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkGeoAlignedImageRepresentation Class Reference

A multi-resolution image tree. More...

#include <vtkGeoAlignedImageRepresentation.h>

Inheritance diagram for vtkGeoAlignedImageRepresentation:
Inheritance graph
[legend]
Collaboration diagram for vtkGeoAlignedImageRepresentation:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataRepresentation Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGeoAlignedImageRepresentationNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkGeoImageNodeGetBestImageForBounds (double bounds[4])
void SaveDatabase (const char *path)
virtual vtkGeoSourceGetSource ()
virtual void SetSource (vtkGeoSource *source)

Static Public Member Functions

static
vtkGeoAlignedImageRepresentation
New ()
static int IsTypeOf (const char *type)
static
vtkGeoAlignedImageRepresentation
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkGeoAlignedImageRepresentation ()
 ~vtkGeoAlignedImageRepresentation ()
void Initialize ()
void PrintTree (ostream &os, vtkIndent indent, vtkGeoImageNode *root)

Protected Attributes

vtkGeoImageNodeRoot
vtkGeoTreeNodeCacheCache
vtkGeoSourceGeoSource
void SetGeoSource (vtkGeoSource *source)

Detailed Description

A multi-resolution image tree.

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.

Tests:
vtkGeoAlignedImageRepresentation (Tests)

Definition at line 43 of file vtkGeoAlignedImageRepresentation.h.


Member Typedef Documentation

Reimplemented from vtkDataRepresentation.

Definition at line 47 of file vtkGeoAlignedImageRepresentation.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataRepresentation.

Reimplemented from vtkDataRepresentation.

Reimplemented from vtkDataRepresentation.

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.

Retrieve the most refined image patch that covers the specified latitude and longitude bounds (lat-min, lat-max, long-min, long-max).

The source for this representation. This must be set first before calling GetBestImageForBounds.

Definition at line 57 of file vtkGeoAlignedImageRepresentation.h.

virtual void vtkGeoAlignedImageRepresentation::SetSource ( vtkGeoSource source) [virtual]

The source for this representation. This must be set first before calling GetBestImageForBounds.

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.

The source for creating image nodes.

Initialize the representation with the current source.

void vtkGeoAlignedImageRepresentation::PrintTree ( ostream &  os,
vtkIndent  indent,
vtkGeoImageNode root 
) [protected]

Print information about the image tree.


Member Data Documentation

The source for creating image nodes.

Definition at line 75 of file vtkGeoAlignedImageRepresentation.h.

The root of the image tree.

Definition at line 79 of file vtkGeoAlignedImageRepresentation.h.

Definition at line 87 of file vtkGeoAlignedImageRepresentation.h.


The documentation for this class was generated from the following file: