VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkQuadricLODActor Class Reference

a specific level-of-detail strategy using the quadric clustering decimation algorithm More...

#include <vtkQuadricLODActor.h>

Inheritance diagram for vtkQuadricLODActor:
[legend]
Collaboration diagram for vtkQuadricLODActor:
[legend]

Public Types

enum  DataConfigurationEnum {
  UNKNOWN = 0, XLINE, YLINE, ZLINE,
  XYPLANE, XZPLANE, YZPLANE, XYZVOLUME
}
 
enum  PropTypeEnum { FOLLOWER = 0, ACTOR }
 
- Public Types inherited from vtkActor
typedef vtkProp3D Superclass
 
- Public Types inherited from vtkProp3D
typedef vtkProp Superclass
 
- Public Types inherited from vtkProp
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual void Render (vtkRenderer *, vtkMapper *)
 
int RenderOpaqueGeometry (vtkViewport *viewport)
 
void ReleaseGraphicsResources (vtkWindow *)
 
void ShallowCopy (vtkProp *prop)
 
virtual void SetDeferLODConstruction (int)
 
virtual int GetDeferLODConstruction ()
 
virtual void DeferLODConstructionOn ()
 
virtual void DeferLODConstructionOff ()
 
virtual void SetStatic (int)
 
virtual int GetStatic ()
 
virtual void StaticOn ()
 
virtual void StaticOff ()
 
virtual void SetDataConfiguration (int)
 
virtual int GetDataConfiguration ()
 
void SetDataConfigurationToUnknown ()
 
void SetDataConfigurationToXLine ()
 
void SetDataConfigurationToYLine ()
 
void SetDataConfigurationToZLine ()
 
void SetDataConfigurationToXYPlane ()
 
void SetDataConfigurationToYZPlane ()
 
void SetDataConfigurationToXZPlane ()
 
void SetDataConfigurationToXYZVolume ()
 
virtual void SetCollapseDimensionRatio (double)
 
virtual double GetCollapseDimensionRatio ()
 
void SetLODFilter (vtkQuadricClustering *lodFilter)
 
virtual vtkQuadricClusteringGetLODFilter ()
 
virtual void SetMaximumDisplayListSize (int)
 
virtual int GetMaximumDisplayListSize ()
 
virtual void SetPropType (int)
 
virtual int GetPropType ()
 
void SetPropTypeToFollower ()
 
void SetPropTypeToActor ()
 
void SetCamera (vtkCamera *)
 
virtual vtkCameraGetCamera ()
 
- Public Member Functions inherited from vtkActor
vtkActorNewInstance () const
 
virtual void GetActors (vtkPropCollection *)
 
virtual int HasTranslucentPolygonalGeometry ()
 
virtual vtkPropertyMakeProperty ()
 
virtual void SetMapper (vtkMapper *)
 
virtual void ApplyProperties ()
 
unsigned long int GetMTime ()
 
virtual unsigned long GetRedrawMTime ()
 
virtual bool GetSupportsSelection ()
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
 
void SetProperty (vtkProperty *lut)
 
vtkPropertyGetProperty ()
 
void SetBackfaceProperty (vtkProperty *lut)
 
virtual vtkPropertyGetBackfaceProperty ()
 
virtual void SetTexture (vtkTexture *)
 
virtual vtkTextureGetTexture ()
 
virtual vtkMapperGetMapper ()
 
void GetBounds (double bounds[6])
 
doubleGetBounds ()
 
virtual bool GetForceOpaque ()
 
virtual void SetForceOpaque (bool)
 
virtual void ForceOpaqueOn ()
 
virtual void ForceOpaqueOff ()
 
virtual bool GetForceTranslucent ()
 
virtual void SetForceTranslucent (bool)
 
virtual void ForceTranslucentOn ()
 
virtual void ForceTranslucentOff ()
 
- Public Member Functions inherited from vtkProp3D
vtkProp3DNewInstance () const
 
virtual void SetPosition (double pos[3])
 
virtual doubleGetPosition ()
 
virtual void GetPosition (double data[3])
 
void AddPosition (double deltaPosition[3])
 
void AddPosition (double deltaX, double deltaY, double deltaZ)
 
doubleGetCenter ()
 
doubleGetXRange ()
 
doubleGetYRange ()
 
doubleGetZRange ()
 
double GetLength ()
 
void RotateX (double)
 
void RotateY (double)
 
void RotateZ (double)
 
void RotateWXYZ (double w, double x, double y, double z)
 
void SetOrientation (double x, double y, double z)
 
void SetOrientation (double orientation[3])
 
doubleGetOrientationWXYZ ()
 
void AddOrientation (double x, double y, double z)
 
void AddOrientation (double orentation[3])
 
void PokeMatrix (vtkMatrix4x4 *matrix)
 
void InitPathTraversal ()
 
unsigned long int GetMTime ()
 
unsigned long int GetUserTransformMatrixMTime ()
 
virtual void ComputeMatrix ()
 
virtual void SetPosition (double x, double y, double z)
 
virtual void SetOrigin (double x, double y, double z)
 
virtual void SetOrigin (const double pos[3])
 
virtual doubleGetOrigin ()
 
virtual void GetOrigin (double data[3])
 
virtual void SetScale (double x, double y, double z)
 
virtual void SetScale (double scale[3])
 
virtual doubleGetScale ()
 
virtual void GetScale (double data[3])
 
void SetScale (double s)
 
void SetUserTransform (vtkLinearTransform *transform)
 
virtual vtkLinearTransformGetUserTransform ()
 
void SetUserMatrix (vtkMatrix4x4 *matrix)
 
vtkMatrix4x4GetUserMatrix ()
 
virtual void GetMatrix (vtkMatrix4x4 *m)
 
virtual void GetMatrix (double m[16])
 
void GetBounds (double bounds[6])
 
doubleGetOrientation ()
 
void GetOrientation (double orentation[3])
 
vtkMatrix4x4GetMatrix ()
 
virtual int GetIsIdentity ()
 
- Public Member Functions inherited from vtkProp
vtkPropNewInstance () const
 
virtual void Pick ()
 
virtual bool HasKeys (vtkInformation *requiredKeys)
 
virtual void BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path)
 
virtual void GetActors2D (vtkPropCollection *)
 
virtual void GetVolumes (vtkPropCollection *)
 
virtual void SetVisibility (int)
 
virtual int GetVisibility ()
 
virtual void VisibilityOn ()
 
virtual void VisibilityOff ()
 
virtual void SetPickable (int)
 
virtual int GetPickable ()
 
virtual void PickableOn ()
 
virtual void PickableOff ()
 
virtual void SetDragable (int)
 
virtual int GetDragable ()
 
virtual void DragableOn ()
 
virtual void DragableOff ()
 
virtual void SetUseBounds (bool)
 
virtual bool GetUseBounds ()
 
virtual void UseBoundsOn ()
 
virtual void UseBoundsOff ()
 
virtual vtkAssemblyPathGetNextPath ()
 
virtual int GetNumberOfPaths ()
 
virtual void PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix))
 
virtual vtkInformationGetPropertyKeys ()
 
virtual void SetPropertyKeys (vtkInformation *keys)
 
virtual int RenderVolumetricGeometry (vtkViewport *)
 
virtual int RenderOverlay (vtkViewport *)
 
virtual bool RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual bool RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual bool RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual bool RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual double GetEstimatedRenderTime (vtkViewport *)
 
virtual double GetEstimatedRenderTime ()
 
virtual void SetEstimatedRenderTime (double t)
 
virtual void RestoreEstimatedRenderTime ()
 
virtual void AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp))
 
virtual void SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v))
 
virtual double GetAllocatedRenderTime ()
 
void SetRenderTimeMultiplier (double t)
 
virtual double GetRenderTimeMultiplier ()
 
virtual int GetNumberOfConsumers ()
 
void AddConsumer (vtkObject *c)
 
void RemoveConsumer (vtkObject *c)
 
vtkObjectGetConsumer (int i)
 
int IsConsumer (vtkObject *c)
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static vtkQuadricLODActorNew ()
 
- Static Public Member Functions inherited from vtkActor
static int IsTypeOf (const char *type)
 
static vtkActorSafeDownCast (vtkObjectBase *o)
 
static vtkActorNew ()
 
- Static Public Member Functions inherited from vtkProp3D
static int IsTypeOf (const char *type)
 
static vtkProp3DSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkProp
static int IsTypeOf (const char *type)
 
static vtkPropSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyGeneralTextureUnit ()
 
static vtkInformationDoubleVectorKeyGeneralTextureTransform ()
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkQuadricLODActor ()
 
 ~vtkQuadricLODActor ()
 
vtkIdType GetDisplayListSize (vtkPolyData *pd)
 
- Protected Member Functions inherited from vtkActor
 vtkActor ()
 
 ~vtkActor ()
 
int GetIsOpaque ()
 
- Protected Member Functions inherited from vtkProp3D
 vtkProp3D ()
 
 ~vtkProp3D ()
 
- Protected Member Functions inherited from vtkProp
 vtkProp ()
 
 ~vtkProp ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkActorLODActor
 
vtkPolyDataMapperLODMapper
 
double CachedInteractiveFrameRate
 
vtkQuadricClusteringLODFilter
 
int Static
 
double CollapseDimensionRatio
 
int DataConfiguration
 
int PropType
 
vtkCameraCamera
 
int MaximumDisplayListSize
 
int DeferLODConstruction
 
vtkTimeStamp BuildTime
 
- Protected Attributes inherited from vtkActor
bool ForceOpaque
 
bool ForceTranslucent
 
vtkPropertyProperty
 
vtkPropertyBackfaceProperty
 
vtkTextureTexture
 
vtkMapperMapper
 
double MapperBounds [6]
 
vtkTimeStamp BoundsMTime
 
- Protected Attributes inherited from vtkProp3D
vtkLinearTransformUserTransform
 
vtkMatrix4x4UserMatrix
 
vtkMatrix4x4Matrix
 
vtkTimeStamp MatrixMTime
 
double Origin [3]
 
double Position [3]
 
double Orientation [3]
 
double Scale [3]
 
double Center [3]
 
vtkTransformTransform
 
double Bounds [6]
 
vtkProp3DCachedProp3D
 
int IsIdentity
 
- Protected Attributes inherited from vtkProp
int Visibility
 
int Pickable
 
int Dragable
 
bool UseBounds
 
double AllocatedRenderTime
 
double EstimatedRenderTime
 
double SavedEstimatedRenderTime
 
double RenderTimeMultiplier
 
int NumberOfConsumers
 
vtkObject ** Consumers
 
vtkAssemblyPathsPaths
 
vtkInformationPropertyKeys
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 
typedef vtkActor Superclass
 
static int IsTypeOf (const char *type)
 
static vtkQuadricLODActorSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkQuadricLODActorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBaseNewInstanceInternal () const
 

Detailed Description

a specific level-of-detail strategy using the quadric clustering decimation algorithm

vtkQuadricLODActor implements a specific strategy for level-of-detail using the vtkQuadricClustering decimation algorithm. It supports only two levels of detail: full resolution and a decimated version. The decimated LOD is generated using a tuned strategy to produce output consistent with the requested interactive frame rate (i.e., the vtkRenderWindowInteractor's DesiredUpdateRate). It also makes use of display lists for performance, and adjusts the vtkQuadricClustering algorithm to take into account the dimensionality of the data (e.g., 2D, x-y surfaces may be binned into n x n x 1 to reduce extra polygons in the z-direction). Finally, the filter may optionally be set in "Static" mode (this works with the vtkMapper::SetStatic() method). `Enabling Static results in a one time execution of the Mapper's pipeline. After that, the pipeline no longer updated (unless manually forced to do so).

Warning
By default the algorithm is set up to pre-compute the LODs. That is, on the first render (whether a full resolution render or interactive render) the LOD is computed. This behavior can be changed so that the LOD construction is deferred until the first interactive render. Either way, when the LOD is constructed, the user may notice a short pause.
This class can be used as a direct replacement for vtkActor. It may also be used as a replacement for vtkFollower's (the ability to track a camera is provided).
See also
vtkLODActor vtkQuadricClustering
Tests:
vtkQuadricLODActor (Tests)

Definition at line 63 of file vtkQuadricLODActor.h.

Member Typedef Documentation

Standard class methods.

Definition at line 71 of file vtkQuadricLODActor.h.

Member Enumeration Documentation

Enumerator
UNKNOWN 
XLINE 
YLINE 
ZLINE 
XYPLANE 
XZPLANE 
YZPLANE 
XYZVOLUME 

Definition at line 97 of file vtkQuadricLODActor.h.

Enumerator
FOLLOWER 
ACTOR 

Definition at line 169 of file vtkQuadricLODActor.h.

Constructor & Destructor Documentation

vtkQuadricLODActor::vtkQuadricLODActor ( )
protected
vtkQuadricLODActor::~vtkQuadricLODActor ( )
protected

Member Function Documentation

static vtkQuadricLODActor* vtkQuadricLODActor::New ( )
static

Creates a vtkQuadricLODActor.

static int vtkQuadricLODActor::IsTypeOf ( const char *  type)
static

Standard class methods.

virtual int vtkQuadricLODActor::IsA ( const char *  type)
virtual

Standard class methods.

Reimplemented from vtkActor.

static vtkQuadricLODActor* vtkQuadricLODActor::SafeDownCast ( vtkObjectBase o)
static

Standard class methods.

virtual vtkObjectBase* vtkQuadricLODActor::NewInstanceInternal ( ) const
protectedvirtual

Standard class methods.

Reimplemented from vtkActor.

vtkQuadricLODActor* vtkQuadricLODActor::NewInstance ( ) const

Standard class methods.

void vtkQuadricLODActor::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Standard class methods.

Reimplemented from vtkActor.

virtual void vtkQuadricLODActor::SetDeferLODConstruction ( int  )
virtual

Specify whether to build the LOD immediately (i.e., on the first render) or to wait until the LOD is requested in a subsequent render. By default, LOD construction is not deferred (DeferLODConstruction is false).

virtual int vtkQuadricLODActor::GetDeferLODConstruction ( )
virtual

Specify whether to build the LOD immediately (i.e., on the first render) or to wait until the LOD is requested in a subsequent render. By default, LOD construction is not deferred (DeferLODConstruction is false).

virtual void vtkQuadricLODActor::DeferLODConstructionOn ( )
virtual

Specify whether to build the LOD immediately (i.e., on the first render) or to wait until the LOD is requested in a subsequent render. By default, LOD construction is not deferred (DeferLODConstruction is false).

virtual void vtkQuadricLODActor::DeferLODConstructionOff ( )
virtual

Specify whether to build the LOD immediately (i.e., on the first render) or to wait until the LOD is requested in a subsequent render. By default, LOD construction is not deferred (DeferLODConstruction is false).

virtual void vtkQuadricLODActor::SetStatic ( int  )
virtual

Turn on/off a flag to control whether the underlying pipeline is static. If static, this means that the data pipeline executes once and then not again until the user manually modifies this class. By default, Static is off because trying to debug this is tricky, and you should only use it when you know what you are doing.

virtual int vtkQuadricLODActor::GetStatic ( )
virtual

Turn on/off a flag to control whether the underlying pipeline is static. If static, this means that the data pipeline executes once and then not again until the user manually modifies this class. By default, Static is off because trying to debug this is tricky, and you should only use it when you know what you are doing.

virtual void vtkQuadricLODActor::StaticOn ( )
virtual

Turn on/off a flag to control whether the underlying pipeline is static. If static, this means that the data pipeline executes once and then not again until the user manually modifies this class. By default, Static is off because trying to debug this is tricky, and you should only use it when you know what you are doing.

virtual void vtkQuadricLODActor::StaticOff ( )
virtual

Turn on/off a flag to control whether the underlying pipeline is static. If static, this means that the data pipeline executes once and then not again until the user manually modifies this class. By default, Static is off because trying to debug this is tricky, and you should only use it when you know what you are doing.

virtual void vtkQuadricLODActor::SetDataConfiguration ( int  )
virtual

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

virtual int vtkQuadricLODActor::GetDataConfiguration ( )
virtual

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

void vtkQuadricLODActor::SetDataConfigurationToUnknown ( )
inline

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

Definition at line 119 of file vtkQuadricLODActor.h.

void vtkQuadricLODActor::SetDataConfigurationToXLine ( )
inline

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

Definition at line 121 of file vtkQuadricLODActor.h.

void vtkQuadricLODActor::SetDataConfigurationToYLine ( )
inline

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

Definition at line 123 of file vtkQuadricLODActor.h.

void vtkQuadricLODActor::SetDataConfigurationToZLine ( )
inline

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

Definition at line 125 of file vtkQuadricLODActor.h.

void vtkQuadricLODActor::SetDataConfigurationToXYPlane ( )
inline

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

Definition at line 127 of file vtkQuadricLODActor.h.

void vtkQuadricLODActor::SetDataConfigurationToYZPlane ( )
inline

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

Definition at line 129 of file vtkQuadricLODActor.h.

void vtkQuadricLODActor::SetDataConfigurationToXZPlane ( )
inline

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

Definition at line 131 of file vtkQuadricLODActor.h.

void vtkQuadricLODActor::SetDataConfigurationToXYZVolume ( )
inline

Force the binning of the quadric clustering according to application knowledge relative to the dimension of the data. For example, if you know your data lies in a 2D x-y plane, the performance of the quadric clustering algorithm can be greatly improved by indicating this (i.e., the number of resulting triangles, and the quality of the decimation version is better). Setting this parameter forces the binning to be configured consistent with the dimnesionality of the data, and the collapse dimension ratio is ignored. Specifying the value of DataConfiguration to UNKNOWN (the default value) means that the class will attempt to figure the dimension of the class automatically using the CollapseDimensionRatio ivar.

Definition at line 133 of file vtkQuadricLODActor.h.

virtual void vtkQuadricLODActor::SetCollapseDimensionRatio ( double  )
virtual

If the data configuration is set to UNKNOWN, this class attempts to figure out the dimensionality of the data using CollapseDimensionRatio. This ivar is the ratio of short edge of the input bounding box to its long edge, which is then used to collapse the data dimension (and set the quadric bin size in that direction to one). By default, this value is 0.05.

virtual double vtkQuadricLODActor::GetCollapseDimensionRatio ( )
virtual

If the data configuration is set to UNKNOWN, this class attempts to figure out the dimensionality of the data using CollapseDimensionRatio. This ivar is the ratio of short edge of the input bounding box to its long edge, which is then used to collapse the data dimension (and set the quadric bin size in that direction to one). By default, this value is 0.05.

void vtkQuadricLODActor::SetLODFilter ( vtkQuadricClustering lodFilter)

This class will create a vtkQuadricClustering algorithm automatically. However, if you would like to specify the filter to use, or to access it and configure it, these method provide access to the filter.

virtual vtkQuadricClustering* vtkQuadricLODActor::GetLODFilter ( )
virtual

This class will create a vtkQuadricClustering algorithm automatically. However, if you would like to specify the filter to use, or to access it and configure it, these method provide access to the filter.

virtual void vtkQuadricLODActor::SetMaximumDisplayListSize ( int  )
virtual

Specify the maximum display list size. This variable is used to determine whether to use display lists (ImmediateModeRenderingOff) or not. Controlling display list size is important to prevent program crashes (i.e., overly large display lists on some graphics hardware will cause faults). The display list size is the length of the vtkCellArray representing the topology of the input vtkPolyData.

virtual int vtkQuadricLODActor::GetMaximumDisplayListSize ( )
virtual

Specify the maximum display list size. This variable is used to determine whether to use display lists (ImmediateModeRenderingOff) or not. Controlling display list size is important to prevent program crashes (i.e., overly large display lists on some graphics hardware will cause faults). The display list size is the length of the vtkCellArray representing the topology of the input vtkPolyData.

virtual void vtkQuadricLODActor::SetPropType ( int  )
virtual

Indicate that this actor is actually a follower. By default, the prop type is a vtkActor.

virtual int vtkQuadricLODActor::GetPropType ( )
virtual

Indicate that this actor is actually a follower. By default, the prop type is a vtkActor.

void vtkQuadricLODActor::SetPropTypeToFollower ( )
inline

Indicate that this actor is actually a follower. By default, the prop type is a vtkActor.

Definition at line 180 of file vtkQuadricLODActor.h.

void vtkQuadricLODActor::SetPropTypeToActor ( )
inline

Indicate that this actor is actually a follower. By default, the prop type is a vtkActor.

Definition at line 182 of file vtkQuadricLODActor.h.

void vtkQuadricLODActor::SetCamera ( vtkCamera )

Set/Get the camera to follow. This method is only applicable when the prop type is set to a vtkFollower.

virtual vtkCamera* vtkQuadricLODActor::GetCamera ( )
virtual

Set/Get the camera to follow. This method is only applicable when the prop type is set to a vtkFollower.

virtual void vtkQuadricLODActor::Render ( vtkRenderer ,
vtkMapper  
)
virtual

This causes the actor to be rendered. Depending on the frame rate request, it will use either a full resolution render or an interactive render (i.e., it will use the decimated geometry).

Reimplemented from vtkActor.

int vtkQuadricLODActor::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 vtkActor.

void vtkQuadricLODActor::ReleaseGraphicsResources ( vtkWindow )
virtual

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 vtkActor.

void vtkQuadricLODActor::ShallowCopy ( vtkProp prop)
virtual

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

Reimplemented from vtkActor.

vtkIdType vtkQuadricLODActor::GetDisplayListSize ( vtkPolyData pd)
protected

Member Data Documentation

vtkActor* vtkQuadricLODActor::LODActor
protected

Definition at line 215 of file vtkQuadricLODActor.h.

vtkPolyDataMapper* vtkQuadricLODActor::LODMapper
protected

Definition at line 216 of file vtkQuadricLODActor.h.

double vtkQuadricLODActor::CachedInteractiveFrameRate
protected

Definition at line 219 of file vtkQuadricLODActor.h.

vtkQuadricClustering* vtkQuadricLODActor::LODFilter
protected

Definition at line 222 of file vtkQuadricLODActor.h.

int vtkQuadricLODActor::Static
protected

Definition at line 225 of file vtkQuadricLODActor.h.

double vtkQuadricLODActor::CollapseDimensionRatio
protected

Definition at line 228 of file vtkQuadricLODActor.h.

int vtkQuadricLODActor::DataConfiguration
protected

Definition at line 229 of file vtkQuadricLODActor.h.

int vtkQuadricLODActor::PropType
protected

Definition at line 232 of file vtkQuadricLODActor.h.

vtkCamera* vtkQuadricLODActor::Camera
protected

Definition at line 233 of file vtkQuadricLODActor.h.

int vtkQuadricLODActor::MaximumDisplayListSize
protected

Definition at line 237 of file vtkQuadricLODActor.h.

int vtkQuadricLODActor::DeferLODConstruction
protected

Definition at line 240 of file vtkQuadricLODActor.h.

vtkTimeStamp vtkQuadricLODActor::BuildTime
protected

Definition at line 243 of file vtkQuadricLODActor.h.


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