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.vtkTerrainContourLineInterpolator Class Reference

vtkTerrainContourLineInterpolator - Contour interpolator for DEM data. More...

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

List of all members.

Public Member Functions

 vtkTerrainContourLineInterpolator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkTerrainContourLineInterpolator ()
 Instantiate this class.
virtual vtkImageData GetImageData ()
 Set the height field data. The height field data is a 2D image. The scalars in the image represent the height field. This must be set.
virtual vtkProjectedTerrainPath GetProjector ()
 Get the vtkProjectedTerrainPath operator used to project the terrain onto the data. This operator has several modes, See the documentation of vtkProjectedTerrainPath. The default mode is to hug the terrain data at 0 height offset.
override int InterpolateLine (vtkRenderer ren, vtkContourRepresentation rep, int idx1, int idx2)
 Interpolate to create lines between contour nodes idx1 and idx2. Depending on the projection mode, the interpolated line may either hug the terrain, just connect the two points with a straight line or a non-occluded interpolation. Used internally by vtkContourRepresentation.
override int IsA (string type)
 Standard methods for instances of this class.
new
vtkTerrainContourLineInterpolator 
NewInstance ()
 Standard methods for instances of this class.
virtual void SetImageData (vtkImageData arg0)
 Set the height field data. The height field data is a 2D image. The scalars in the image represent the height field. This must be set.
override int UpdateNode (vtkRenderer arg0, vtkContourRepresentation arg1, IntPtr arg2, int arg3)
 The interpolator is given a chance to update the node. Used internally by vtkContourRepresentation Returns 0 if the node (world position) is unchanged.

Static Public Member Functions

static new
vtkTerrainContourLineInterpolator 
New ()
 Instantiate this class.
static new int IsTypeOf (string type)
 Standard methods for instances of this class.
static new
vtkTerrainContourLineInterpolator 
SafeDownCast (vtkObjectBase o)
 Standard methods for instances of this class.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "33vtkTerrainContourLineInterpolator"
 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 IntPtr vtkTerrainContourLineInterpolator_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkTerrainContourLineInterpolator_GetImageData_01 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkTerrainContourLineInterpolator_GetProjector_02 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkTerrainContourLineInterpolator_InterpolateLine_03 (HandleRef pThis, HandleRef ren, HandleRef rep, int idx1, int idx2)
static internal int vtkTerrainContourLineInterpolator_IsA_04 (HandleRef pThis, string type)
static internal int vtkTerrainContourLineInterpolator_IsTypeOf_05 (string type)
static internal IntPtr vtkTerrainContourLineInterpolator_NewInstance_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkTerrainContourLineInterpolator_SafeDownCast_08 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkTerrainContourLineInterpolator_SetImageData_09 (HandleRef pThis, HandleRef arg0)
static internal int vtkTerrainContourLineInterpolator_UpdateNode_10 (HandleRef pThis, HandleRef arg0, HandleRef arg1, IntPtr arg2, int arg3)

Static Private Member Functions

static vtkTerrainContourLineInterpolator ()
 Automatically generated type registration mechanics.

Detailed Description

vtkTerrainContourLineInterpolator - Contour interpolator for DEM data.

Description vtkTerrainContourLineInterpolator interpolates nodes on height field data. The class is meant to be used in conjunciton with a vtkContourWidget, enabling you to draw paths on terrain data. The class internally uses a vtkProjectedTerrainPath. Users can set kind of interpolation desired between two node points by setting the modes of the this filter. For instance:

    contourRepresentation->SetLineInterpolator(interpolator);
    interpolator->SetImageData( demDataFile );
    interpolator->GetProjector()->SetProjectionModeToHug();
    interpolator->SetHeightOffset(25.0);

You are required to set the ImageData to this class as the height-field image.

vtkTerrainDataPointPlacer vtkProjectedTerrainPath


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Instantiate this class.


Member Function Documentation

override void Kitware.VTK.vtkTerrainContourLineInterpolator.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.vtkContourLineInterpolator.

Set the height field data. The height field data is a 2D image. The scalars in the image represent the height field. This must be set.

Here is the call graph for this function:

Get the vtkProjectedTerrainPath operator used to project the terrain onto the data. This operator has several modes, See the documentation of vtkProjectedTerrainPath. The default mode is to hug the terrain data at 0 height offset.

Here is the call graph for this function:

override int Kitware.VTK.vtkTerrainContourLineInterpolator.InterpolateLine ( vtkRenderer  ren,
vtkContourRepresentation  rep,
int  idx1,
int  idx2 
) [virtual]

Interpolate to create lines between contour nodes idx1 and idx2. Depending on the projection mode, the interpolated line may either hug the terrain, just connect the two points with a straight line or a non-occluded interpolation. Used internally by vtkContourRepresentation.

Reimplemented from Kitware.VTK.vtkContourLineInterpolator.

override int Kitware.VTK.vtkTerrainContourLineInterpolator.IsA ( string  type) [virtual]

Standard methods for instances of this class.

Reimplemented from Kitware.VTK.vtkContourLineInterpolator.

static new int Kitware.VTK.vtkTerrainContourLineInterpolator.IsTypeOf ( string  type) [static]

Standard methods for instances of this class.

Reimplemented from Kitware.VTK.vtkContourLineInterpolator.

Instantiate this class.

Reimplemented from Kitware.VTK.vtkObject.

Standard methods for instances of this class.

Reimplemented from Kitware.VTK.vtkContourLineInterpolator.

Standard methods for instances of this class.

Reimplemented from Kitware.VTK.vtkContourLineInterpolator.

Here is the call graph for this function:

Set the height field data. The height field data is a 2D image. The scalars in the image represent the height field. This must be set.

override int Kitware.VTK.vtkTerrainContourLineInterpolator.UpdateNode ( vtkRenderer  arg0,
vtkContourRepresentation  arg1,
IntPtr  arg2,
int  arg3 
) [virtual]

The interpolator is given a chance to update the node. Used internally by vtkContourRepresentation Returns 0 if the node (world position) is unchanged.

Reimplemented from Kitware.VTK.vtkContourLineInterpolator.

static internal IntPtr Kitware.VTK.vtkTerrainContourLineInterpolator.vtkTerrainContourLineInterpolator_GetImageData_01 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTerrainContourLineInterpolator.vtkTerrainContourLineInterpolator_GetProjector_02 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkTerrainContourLineInterpolator.vtkTerrainContourLineInterpolator_InterpolateLine_03 ( HandleRef  pThis,
HandleRef  ren,
HandleRef  rep,
int  idx1,
int  idx2 
) [private]
static internal int Kitware.VTK.vtkTerrainContourLineInterpolator.vtkTerrainContourLineInterpolator_IsA_04 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkTerrainContourLineInterpolator.vtkTerrainContourLineInterpolator_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTerrainContourLineInterpolator.vtkTerrainContourLineInterpolator_NewInstance_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTerrainContourLineInterpolator.vtkTerrainContourLineInterpolator_SafeDownCast_08 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkTerrainContourLineInterpolator.vtkTerrainContourLineInterpolator_SetImageData_09 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkTerrainContourLineInterpolator.vtkTerrainContourLineInterpolator_UpdateNode_10 ( HandleRef  pThis,
HandleRef  arg0,
HandleRef  arg1,
IntPtr  arg2,
int  arg3 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkTerrainContourLineInterpolator.MRClassNameKey = "33vtkTerrainContourLineInterpolator" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkContourLineInterpolator.

new const string Kitware.VTK.vtkTerrainContourLineInterpolator.MRFullTypeName = "Kitware.VTK.vtkTerrainContourLineInterpolator"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkContourLineInterpolator.


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