ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkGeoSource Class Reference

vtkGeoSource - A multi-resolution geographic data source More...

Inheritance diagram for Kitware.VTK.vtkGeoSource:
[legend]
Collaboration diagram for Kitware.VTK.vtkGeoSource:
[legend]

List of all members.

Public Member Functions

 vtkGeoSource (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual bool FetchChild (vtkGeoTreeNode node, int index, vtkGeoTreeNode child)
 Blocking access methods to be implemented in subclasses.
virtual bool FetchRoot (vtkGeoTreeNode root)
 Blocking access methods to be implemented in subclasses.
virtual vtkCollection GetRequestedNodes (vtkGeoTreeNode node)
 Non-blocking methods for to use from the main application. After calling RequestChildren() for a certain node, GetRequestedNodes() will after a certain period of time return a non-null pointer to a collection of four vtkGeoTreeNode objects, which are the four children of the requested node. The collection is reference counted, so you need to eventually call Delete() on the returned collection pointer (if it is non-null).
virtual vtkAbstractTransform GetTransform ()
 Return the projection transformation used by this source.
void Initialize (int numThreads)
 Spawn worker threads.
override int IsA (string type)
 Undocumented Block.
new vtkGeoSource NewInstance ()
 Undocumented Block.
virtual void RequestChildren (vtkGeoTreeNode node)
 Non-blocking methods for to use from the main application. After calling RequestChildren() for a certain node, GetRequestedNodes() will after a certain period of time return a non-null pointer to a collection of four vtkGeoTreeNode objects, which are the four children of the requested node. The collection is reference counted, so you need to eventually call Delete() on the returned collection pointer (if it is non-null).
void ShutDown ()
 Shut down the source. This terminates the thread and releases memory.
void WorkerThread ()
 Shut down the source. This terminates the thread and releases memory.

Static Public Member Functions

static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkGeoSource SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkGeoSource"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "12vtkGeoSource"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal byte vtkGeoSource_FetchChild_01 (HandleRef pThis, HandleRef node, int index, HandleRef child)
static internal byte vtkGeoSource_FetchRoot_02 (HandleRef pThis, HandleRef root)
static internal IntPtr vtkGeoSource_GetRequestedNodes_03 (HandleRef pThis, HandleRef node, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkGeoSource_GetTransform_04 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkGeoSource_Initialize_05 (HandleRef pThis, int numThreads)
static internal int vtkGeoSource_IsA_06 (HandleRef pThis, string type)
static internal int vtkGeoSource_IsTypeOf_07 (string type)
static internal IntPtr vtkGeoSource_NewInstance_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkGeoSource_RequestChildren_09 (HandleRef pThis, HandleRef node)
static internal IntPtr vtkGeoSource_SafeDownCast_10 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkGeoSource_ShutDown_11 (HandleRef pThis)
static internal void vtkGeoSource_WorkerThread_12 (HandleRef pThis)

Static Private Member Functions

static vtkGeoSource ()
 Automatically generated type registration mechanics.

Detailed Description

vtkGeoSource - A multi-resolution geographic data source

Description vtkGeoSource is an abstract superclass for all multi-resolution data sources shown in a geographic view like vtkGeoView or vtkGeoView2D. vtkGeoSource subclasses need to implement the FetchRoot() method, which fills a vtkGeoTreeNode with the low-res data at the root, and FetchChild(), which produces a refinement of a parent node. Other geovis classes such as vtkGeoTerrain, vtkGeoTerrain2D, and vtkGeoAlignedImageSource use a vtkGeoSource subclass to build their geometry or image caches which are stored in trees. The source itself does not maintain the tree, but simply provides a mechanism for generating refined tree nodes.

Sources are multi-threaded. Each source may have one or more worker threads associated with it, which this superclass manages. It is essential that the FetchChild() method is thread-safe, since it may be called from multiple workers simultaneously.


Constructor & Destructor Documentation

static Kitware.VTK.vtkGeoSource.vtkGeoSource ( ) [static, private]

Automatically generated type registration mechanics.

Kitware.VTK.vtkGeoSource.vtkGeoSource ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.


Member Function Documentation

override void Kitware.VTK.vtkGeoSource.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkGeoFileImageSource, Kitware.VTK.vtkGeoFileTerrainSource, Kitware.VTK.vtkGeoProjectionSource, Kitware.VTK.vtkGeoAlignedImageSource, and Kitware.VTK.vtkGeoGlobeSource.

virtual bool Kitware.VTK.vtkGeoSource.FetchChild ( vtkGeoTreeNode  node,
int  index,
vtkGeoTreeNode  child 
) [virtual]
virtual bool Kitware.VTK.vtkGeoSource.FetchRoot ( vtkGeoTreeNode  root) [virtual]

Non-blocking methods for to use from the main application. After calling RequestChildren() for a certain node, GetRequestedNodes() will after a certain period of time return a non-null pointer to a collection of four vtkGeoTreeNode objects, which are the four children of the requested node. The collection is reference counted, so you need to eventually call Delete() on the returned collection pointer (if it is non-null).

Here is the call graph for this function:

Return the projection transformation used by this source.

Reimplemented in Kitware.VTK.vtkGeoProjectionSource.

Here is the call graph for this function:

void Kitware.VTK.vtkGeoSource.Initialize ( int  numThreads)

Spawn worker threads.

override int Kitware.VTK.vtkGeoSource.IsA ( string  type) [virtual]
static new int Kitware.VTK.vtkGeoSource.IsTypeOf ( string  type) [static]
virtual void Kitware.VTK.vtkGeoSource.RequestChildren ( vtkGeoTreeNode  node) [virtual]

Non-blocking methods for to use from the main application. After calling RequestChildren() for a certain node, GetRequestedNodes() will after a certain period of time return a non-null pointer to a collection of four vtkGeoTreeNode objects, which are the four children of the requested node. The collection is reference counted, so you need to eventually call Delete() on the returned collection pointer (if it is non-null).

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkGeoAlignedImageSource, Kitware.VTK.vtkGeoProjectionSource, Kitware.VTK.vtkGeoFileImageSource, Kitware.VTK.vtkGeoFileTerrainSource, and Kitware.VTK.vtkGeoGlobeSource.

Here is the call graph for this function:

Shut down the source. This terminates the thread and releases memory.

static internal byte Kitware.VTK.vtkGeoSource.vtkGeoSource_FetchChild_01 ( HandleRef  pThis,
HandleRef  node,
int  index,
HandleRef  child 
) [private]
static internal byte Kitware.VTK.vtkGeoSource.vtkGeoSource_FetchRoot_02 ( HandleRef  pThis,
HandleRef  root 
) [private]
static internal IntPtr Kitware.VTK.vtkGeoSource.vtkGeoSource_GetRequestedNodes_03 ( HandleRef  pThis,
HandleRef  node,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkGeoSource.vtkGeoSource_GetTransform_04 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkGeoSource.vtkGeoSource_Initialize_05 ( HandleRef  pThis,
int  numThreads 
) [private]
static internal int Kitware.VTK.vtkGeoSource.vtkGeoSource_IsA_06 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkGeoSource.vtkGeoSource_IsTypeOf_07 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkGeoSource.vtkGeoSource_NewInstance_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkGeoSource.vtkGeoSource_RequestChildren_09 ( HandleRef  pThis,
HandleRef  node 
) [private]
static internal IntPtr Kitware.VTK.vtkGeoSource.vtkGeoSource_SafeDownCast_10 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkGeoSource.vtkGeoSource_ShutDown_11 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkGeoSource.vtkGeoSource_WorkerThread_12 ( HandleRef  pThis) [private]

Shut down the source. This terminates the thread and releases memory.


Member Data Documentation

new readonly string Kitware.VTK.vtkGeoSource.MRClassNameKey = "12vtkGeoSource" [static]
new const string Kitware.VTK.vtkGeoSource.MRFullTypeName = "Kitware.VTK.vtkGeoSource"

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