#include <vtkGeoProjectionSource.h>
vtkGeoProjectionSource is a vtkGeoSource suitable for use in vtkTerrain2D. This source uses the libproj4 library to produce geometry patches at multiple resolutions. Each patch covers a specific region in projected space.
Definition at line 39 of file vtkGeoProjectionSource.h.
Public Types | |
typedef vtkGeoSource | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
vtkGeoProjectionSource () | |
~vtkGeoProjectionSource () | |
virtual vtkAbstractTransform * | GetTransform () |
virtual bool | FetchRoot (vtkGeoTreeNode *root) |
virtual bool | FetchChild (vtkGeoTreeNode *node, int index, vtkGeoTreeNode *child) |
virtual int | GetProjection () |
virtual void | SetProjection (int projection) |
virtual int | GetMinCellsPerNode () |
virtual void | SetMinCellsPerNode (int) |
Static Public Member Functions | |
static vtkGeoProjectionSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkGeoProjectionSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
void | RefineAndComputeError (vtkGeoTerrainNode *node) |
virtual void | SetTransform (vtkAbstractTransform *transform) |
Protected Attributes | |
int | Projection |
int | MinCellsPerNode |
vtkMutexLock * | TransformLock |
vtkAbstractTransform * | Transform |
vtkGeoProjectionSource::vtkGeoProjectionSource | ( | ) |
vtkGeoProjectionSource::~vtkGeoProjectionSource | ( | ) |
static vtkGeoProjectionSource* vtkGeoProjectionSource::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkGeoProjectionSource::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkGeoSource.
static int vtkGeoProjectionSource::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 vtkGeoSource.
virtual int vtkGeoProjectionSource::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 vtkGeoSource.
static vtkGeoProjectionSource* vtkGeoProjectionSource::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkGeoSource.
virtual void vtkGeoProjectionSource::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
virtual bool vtkGeoProjectionSource::FetchRoot | ( | vtkGeoTreeNode * | root | ) | [virtual] |
Blocking methods for sources with low latency.
Implements vtkGeoSource.
virtual bool vtkGeoProjectionSource::FetchChild | ( | vtkGeoTreeNode * | node, | |
int | index, | |||
vtkGeoTreeNode * | child | |||
) | [virtual] |
Blocking methods for sources with low latency.
Implements vtkGeoSource.
virtual int vtkGeoProjectionSource::GetProjection | ( | ) | [virtual] |
The projection ID defining the projection.
virtual void vtkGeoProjectionSource::SetProjection | ( | int | projection | ) | [virtual] |
The projection ID defining the projection.
virtual int vtkGeoProjectionSource::GetMinCellsPerNode | ( | ) | [virtual] |
The minimum number of cells per node.
virtual void vtkGeoProjectionSource::SetMinCellsPerNode | ( | int | ) | [virtual] |
The minimum number of cells per node.
virtual vtkAbstractTransform* vtkGeoProjectionSource::GetTransform | ( | ) | [virtual] |
Return the projection transformation used by this 2D terrain.
Reimplemented from vtkGeoSource.
void vtkGeoProjectionSource::RefineAndComputeError | ( | vtkGeoTerrainNode * | node | ) | [protected] |
virtual void vtkGeoProjectionSource::SetTransform | ( | vtkAbstractTransform * | transform | ) | [protected, virtual] |
int vtkGeoProjectionSource::Projection [protected] |
Definition at line 73 of file vtkGeoProjectionSource.h.
int vtkGeoProjectionSource::MinCellsPerNode [protected] |
Definition at line 74 of file vtkGeoProjectionSource.h.
vtkMutexLock* vtkGeoProjectionSource::TransformLock [protected] |
Definition at line 76 of file vtkGeoProjectionSource.h.
vtkAbstractTransform* vtkGeoProjectionSource::Transform [protected] |
Definition at line 77 of file vtkGeoProjectionSource.h.