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

vtkLODActor - an actor that supports multiple levels of detail More...

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

List of all members.

Public Member Functions

 vtkLODActor (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkLODActor ()
 Creates a vtkLODActor with the following defaults: origin(0,0,0) position=(0,0,0) scale=(1,1,1) visibility=1 pickable=1 dragable=1 orientation=(0,0,0). NumberOfCloudPoints is set to 150.
void AddLODMapper (vtkMapper mapper)
 Add another level of detail. They do not have to be in any order of complexity.
virtual vtkMapperCollection GetLODMappers ()
 All the mappers for different LODs are stored here. The order is not important.
virtual vtkPolyDataAlgorithm GetLowResFilter ()
 You may plug in your own filters to decimate/subsample the input. The default is to use a vtkOutlineFilter (low-res) and vtkMaskPoints (medium-res).
virtual vtkPolyDataAlgorithm GetMediumResFilter ()
 You may plug in your own filters to decimate/subsample the input. The default is to use a vtkOutlineFilter (low-res) and vtkMaskPoints (medium-res).
virtual int GetNumberOfCloudPoints ()
 Set/Get the number of random points for the point cloud.
override int IsA (string type)
 Undocumented Block.
override void Modified ()
 When this objects gets modified, this method also modifies the object.
new vtkLODActor NewInstance ()
 Undocumented Block.
override void ReleaseGraphicsResources (vtkWindow arg0)
 Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.
override void Render (vtkRenderer arg0, vtkMapper arg1)
 This causes the actor to be rendered. It, in turn, will render the actor's property and then mapper.
override int RenderOpaqueGeometry (vtkViewport viewport)
 This method is used internally by the rendering process. We overide the superclass method to properly set the estimated render time.
virtual void SetLowResFilter (vtkPolyDataAlgorithm arg0)
 You may plug in your own filters to decimate/subsample the input. The default is to use a vtkOutlineFilter (low-res) and vtkMaskPoints (medium-res).
virtual void SetMediumResFilter (vtkPolyDataAlgorithm arg0)
 You may plug in your own filters to decimate/subsample the input. The default is to use a vtkOutlineFilter (low-res) and vtkMaskPoints (medium-res).
virtual void SetNumberOfCloudPoints (int _arg)
 Set/Get the number of random points for the point cloud.
override void ShallowCopy (vtkProp prop)
 Shallow copy of an LOD actor. Overloads the virtual vtkProp method.

Static Public Member Functions

static new vtkLODActor New ()
 Creates a vtkLODActor with the following defaults: origin(0,0,0) position=(0,0,0) scale=(1,1,1) visibility=1 pickable=1 dragable=1 orientation=(0,0,0). NumberOfCloudPoints is set to 150.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkLODActor SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "11vtkLODActor"
 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 vtkLODActor_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkLODActor_AddLODMapper_01 (HandleRef pThis, HandleRef mapper)
static internal IntPtr vtkLODActor_GetLODMappers_02 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkLODActor_GetLowResFilter_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkLODActor_GetMediumResFilter_04 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkLODActor_GetNumberOfCloudPoints_05 (HandleRef pThis)
static internal int vtkLODActor_IsA_06 (HandleRef pThis, string type)
static internal int vtkLODActor_IsTypeOf_07 (string type)
static internal void vtkLODActor_Modified_08 (HandleRef pThis)
static internal IntPtr vtkLODActor_NewInstance_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkLODActor_ReleaseGraphicsResources_11 (HandleRef pThis, HandleRef arg0)
static internal void vtkLODActor_Render_12 (HandleRef pThis, HandleRef arg0, HandleRef arg1)
static internal int vtkLODActor_RenderOpaqueGeometry_13 (HandleRef pThis, HandleRef viewport)
static internal IntPtr vtkLODActor_SafeDownCast_14 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkLODActor_SetLowResFilter_15 (HandleRef pThis, HandleRef arg0)
static internal void vtkLODActor_SetMediumResFilter_16 (HandleRef pThis, HandleRef arg0)
static internal void vtkLODActor_SetNumberOfCloudPoints_17 (HandleRef pThis, int _arg)
static internal void vtkLODActor_ShallowCopy_18 (HandleRef pThis, HandleRef prop)

Static Private Member Functions

static vtkLODActor ()
 Automatically generated type registration mechanics.

Detailed Description

vtkLODActor - an actor that supports multiple levels of detail

Description vtkLODActor is an actor that stores multiple levels of detail (LOD) and can automatically switch between them. It selects which level of detail to use based on how much time it has been allocated to render. Currently a very simple method of TotalTime/NumberOfActors is used. (In the future this should be modified to dynamically allocate the rendering time between different actors based on their needs.)

There are three levels of detail by default. The top level is just the normal data. The lowest level of detail is a simple bounding box outline of the actor. The middle level of detail is a point cloud of a fixed number of points that have been randomly sampled from the mapper's input data. Point attributes are copied over to the point cloud. These two lower levels of detail are accomplished by creating instances of a vtkOutlineFilter (low-res) and vtkMaskPoints (medium-res). Additional levels of detail can be add using the AddLODMapper() method.

To control the frame rate, you typically set the vtkRenderWindowInteractor DesiredUpdateRate and StillUpdateRate. This then will cause vtkLODActor to adjust its LOD to fulfill the requested update rate.

For greater control on levels of detail, see also vtkLODProp3D. That class allows arbitrary definition of each LOD.


Constructor & Destructor Documentation

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

Automatically generated type registration mechanics.

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

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

Creates a vtkLODActor with the following defaults: origin(0,0,0) position=(0,0,0) scale=(1,1,1) visibility=1 pickable=1 dragable=1 orientation=(0,0,0). NumberOfCloudPoints is set to 150.


Member Function Documentation

Add another level of detail. They do not have to be in any order of complexity.

override void Kitware.VTK.vtkLODActor.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.vtkActor.

All the mappers for different LODs are stored here. The order is not important.

Here is the call graph for this function:

You may plug in your own filters to decimate/subsample the input. The default is to use a vtkOutlineFilter (low-res) and vtkMaskPoints (medium-res).

Here is the call graph for this function:

You may plug in your own filters to decimate/subsample the input. The default is to use a vtkOutlineFilter (low-res) and vtkMaskPoints (medium-res).

Here is the call graph for this function:

Set/Get the number of random points for the point cloud.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkActor.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkActor.

override void Kitware.VTK.vtkLODActor.Modified ( ) [virtual]

When this objects gets modified, this method also modifies the object.

Reimplemented from Kitware.VTK.vtkObject.

static new vtkLODActor Kitware.VTK.vtkLODActor.New ( ) [static]

Creates a vtkLODActor with the following defaults: origin(0,0,0) position=(0,0,0) scale=(1,1,1) visibility=1 pickable=1 dragable=1 orientation=(0,0,0). NumberOfCloudPoints is set to 150.

Reimplemented from Kitware.VTK.vtkActor.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkActor.

Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.

Reimplemented from Kitware.VTK.vtkActor.

override void Kitware.VTK.vtkLODActor.Render ( vtkRenderer  arg0,
vtkMapper  arg1 
) [virtual]

This causes the actor to be rendered. It, in turn, will render the actor's property and then mapper.

Reimplemented from Kitware.VTK.vtkActor.

override int Kitware.VTK.vtkLODActor.RenderOpaqueGeometry ( vtkViewport  viewport) [virtual]

This method is used internally by the rendering process. We overide the superclass method to properly set the estimated render time.

Reimplemented from Kitware.VTK.vtkActor.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkActor.

Here is the call graph for this function:

You may plug in your own filters to decimate/subsample the input. The default is to use a vtkOutlineFilter (low-res) and vtkMaskPoints (medium-res).

You may plug in your own filters to decimate/subsample the input. The default is to use a vtkOutlineFilter (low-res) and vtkMaskPoints (medium-res).

virtual void Kitware.VTK.vtkLODActor.SetNumberOfCloudPoints ( int  _arg) [virtual]

Set/Get the number of random points for the point cloud.

override void Kitware.VTK.vtkLODActor.ShallowCopy ( vtkProp  prop) [virtual]

Shallow copy of an LOD actor. Overloads the virtual vtkProp method.

Reimplemented from Kitware.VTK.vtkActor.

static internal void Kitware.VTK.vtkLODActor.vtkLODActor_AddLODMapper_01 ( HandleRef  pThis,
HandleRef  mapper 
) [private]
static internal IntPtr Kitware.VTK.vtkLODActor.vtkLODActor_GetLODMappers_02 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLODActor.vtkLODActor_GetLowResFilter_03 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLODActor.vtkLODActor_GetMediumResFilter_04 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkLODActor.vtkLODActor_GetNumberOfCloudPoints_05 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkLODActor.vtkLODActor_IsA_06 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkLODActor.vtkLODActor_IsTypeOf_07 ( string  type) [private]
static internal void Kitware.VTK.vtkLODActor.vtkLODActor_Modified_08 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkLODActor.vtkLODActor_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLODActor.vtkLODActor_NewInstance_10 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkLODActor.vtkLODActor_ReleaseGraphicsResources_11 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkLODActor.vtkLODActor_Render_12 ( HandleRef  pThis,
HandleRef  arg0,
HandleRef  arg1 
) [private]
static internal int Kitware.VTK.vtkLODActor.vtkLODActor_RenderOpaqueGeometry_13 ( HandleRef  pThis,
HandleRef  viewport 
) [private]
static internal IntPtr Kitware.VTK.vtkLODActor.vtkLODActor_SafeDownCast_14 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkLODActor.vtkLODActor_SetLowResFilter_15 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkLODActor.vtkLODActor_SetMediumResFilter_16 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkLODActor.vtkLODActor_SetNumberOfCloudPoints_17 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkLODActor.vtkLODActor_ShallowCopy_18 ( HandleRef  pThis,
HandleRef  prop 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkLODActor.MRClassNameKey = "11vtkLODActor" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkActor.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkActor.


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