|
virtual int | IsA (const char *type) |
|
vtkLODActor * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | Render (vtkRenderer *, vtkMapper *) |
|
int | RenderOpaqueGeometry (vtkViewport *viewport) |
|
void | ReleaseGraphicsResources (vtkWindow *) |
|
void | AddLODMapper (vtkMapper *mapper) |
|
void | Modified () |
|
void | ShallowCopy (vtkProp *prop) |
|
|
virtual void | SetLowResFilter (vtkPolyDataAlgorithm *) |
|
virtual void | SetMediumResFilter (vtkPolyDataAlgorithm *) |
|
virtual vtkPolyDataAlgorithm * | GetLowResFilter () |
|
virtual vtkPolyDataAlgorithm * | GetMediumResFilter () |
|
|
virtual int | GetNumberOfCloudPoints () |
|
virtual void | SetNumberOfCloudPoints (int) |
|
|
virtual vtkMapperCollection * | GetLODMappers () |
|
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) |
|
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 () |
|
an actor that supports multiple levels of detail
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.
- Warning
- If you provide your own mappers, you are responsible for setting its ivars correctly, such as ScalarRange, LookupTable, and so on.
-
On some systems the point cloud rendering (the default, medium level of detail) can result in points so small that they can hardly be seen. In this case, use the GetProperty()->SetPointSize() method to increase the rendered size of the points.
- See also
- vtkActor vtkRenderer vtkLODProp3D
- Examples:
- vtkLODActor (Examples)
- Tests:
- vtkLODActor (Tests)
Definition at line 75 of file vtkLODActor.h.