a specific level-of-detail strategy using the quadric clustering decimation algorithm
More...
|
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 vtkQuadricClustering * | GetLODFilter () |
|
|
virtual void | SetMaximumDisplayListSize (int) |
|
virtual int | GetMaximumDisplayListSize () |
|
|
virtual void | SetPropType (int) |
|
virtual int | GetPropType () |
|
void | SetPropTypeToFollower () |
|
void | SetPropTypeToActor () |
|
|
void | SetCamera (vtkCamera *) |
|
virtual vtkCamera * | GetCamera () |
|
vtkActor * | NewInstance () const |
|
virtual void | GetActors (vtkPropCollection *) |
|
virtual int | HasTranslucentPolygonalGeometry () |
|
virtual vtkProperty * | MakeProperty () |
|
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) |
|
vtkProperty * | GetProperty () |
|
void | SetBackfaceProperty (vtkProperty *lut) |
|
virtual vtkProperty * | GetBackfaceProperty () |
|
virtual void | SetTexture (vtkTexture *) |
|
virtual vtkTexture * | GetTexture () |
|
virtual vtkMapper * | GetMapper () |
|
void | GetBounds (double bounds[6]) |
|
double * | GetBounds () |
|
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 () |
|
vtkProp3D * | NewInstance () const |
|
virtual void | SetPosition (double pos[3]) |
|
virtual double * | GetPosition () |
|
virtual void | GetPosition (double data[3]) |
|
void | AddPosition (double deltaPosition[3]) |
|
void | AddPosition (double deltaX, double deltaY, double deltaZ) |
|
double * | GetCenter () |
|
double * | GetXRange () |
|
double * | GetYRange () |
|
double * | GetZRange () |
|
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]) |
|
double * | GetOrientationWXYZ () |
|
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 double * | GetOrigin () |
|
virtual void | GetOrigin (double data[3]) |
|
virtual void | SetScale (double x, double y, double z) |
|
virtual void | SetScale (double scale[3]) |
|
virtual double * | GetScale () |
|
virtual void | GetScale (double data[3]) |
|
void | SetScale (double s) |
|
void | SetUserTransform (vtkLinearTransform *transform) |
|
virtual vtkLinearTransform * | GetUserTransform () |
|
void | SetUserMatrix (vtkMatrix4x4 *matrix) |
|
vtkMatrix4x4 * | GetUserMatrix () |
|
virtual void | GetMatrix (vtkMatrix4x4 *m) |
|
virtual void | GetMatrix (double m[16]) |
|
void | GetBounds (double bounds[6]) |
|
double * | GetOrientation () |
|
void | GetOrientation (double orentation[3]) |
|
vtkMatrix4x4 * | GetMatrix () |
|
virtual int | GetIsIdentity () |
|
vtkProp * | NewInstance () 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 vtkAssemblyPath * | GetNextPath () |
|
virtual int | GetNumberOfPaths () |
|
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
|
virtual vtkInformation * | GetPropertyKeys () |
|
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) |
|
vtkObject * | GetConsumer (int i) |
|
int | IsConsumer (vtkObject *c) |
|
vtkObject * | NewInstance () 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) |
|
vtkCommand * | GetCommand (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) |
|
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 () |
|
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.