|
| virtual int | IsA (const char *type) |
| |
| vtkHandleRepresentation * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| virtual void | SetDisplayPosition (double pos[3]) |
| |
| virtual void | GetDisplayPosition (double pos[3]) |
| |
| virtual double * | GetDisplayPosition () |
| |
| virtual void | SetWorldPosition (double pos[3]) |
| |
| virtual void | GetWorldPosition (double pos[3]) |
| |
| virtual double * | GetWorldPosition () |
| |
| virtual void | SetTolerance (int) |
| |
| virtual int | GetTolerance () |
| |
| virtual void | SetActiveRepresentation (int) |
| |
| virtual int | GetActiveRepresentation () |
| |
| virtual void | ActiveRepresentationOn () |
| |
| virtual void | ActiveRepresentationOff () |
| |
| virtual void | SetInteractionState (int) |
| |
| virtual void | SetConstrained (int) |
| |
| virtual int | GetConstrained () |
| |
| virtual void | ConstrainedOn () |
| |
| virtual void | ConstrainedOff () |
| |
| virtual int | CheckConstraint (vtkRenderer *renderer, double pos[2]) |
| |
| virtual void | ShallowCopy (vtkProp *prop) |
| |
| virtual void | DeepCopy (vtkProp *prop) |
| |
| virtual void | SetRenderer (vtkRenderer *ren) |
| |
| virtual unsigned long | GetMTime () |
| |
| virtual void | SetPointPlacer (vtkPointPlacer *) |
| |
| virtual vtkPointPlacer * | GetPointPlacer () |
| |
| vtkWidgetRepresentation * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| virtual void | PickingManagedOn () |
| |
| virtual void | PickingManagedOff () |
| |
| virtual void | SetPickingManaged (bool) |
| |
| virtual bool | GetPickingManaged () |
| |
| virtual vtkRenderer * | GetRenderer () |
| |
| virtual void | BuildRepresentation ()=0 |
| |
| virtual void | PlaceWidget (double *vtkNotUsed(bounds[6])) |
| |
| virtual void | StartWidgetInteraction (double eventPos[2]) |
| |
| virtual void | WidgetInteraction (double newEventPos[2]) |
| |
| virtual void | EndWidgetInteraction (double newEventPos[2]) |
| |
| virtual int | ComputeInteractionState (int X, int Y, int modify=0) |
| |
| virtual int | GetInteractionState () |
| |
| virtual void | Highlight (int vtkNotUsed(highlightOn)) |
| |
| virtual void | SetPlaceFactor (double) |
| |
| virtual double | GetPlaceFactor () |
| |
| virtual void | SetHandleSize (double) |
| |
| virtual double | GetHandleSize () |
| |
| virtual int | GetNeedToRender () |
| |
| virtual void | SetNeedToRender (int) |
| |
| virtual void | NeedToRenderOn () |
| |
| virtual void | NeedToRenderOff () |
| |
| virtual double * | GetBounds () |
| |
| virtual void | GetActors (vtkPropCollection *) |
| |
| virtual void | GetActors2D (vtkPropCollection *) |
| |
| virtual void | GetVolumes (vtkPropCollection *) |
| |
| virtual void | ReleaseGraphicsResources (vtkWindow *) |
| |
| virtual int | RenderOverlay (vtkViewport *vtkNotUsed(viewport)) |
| |
| virtual int | RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport)) |
| |
| virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport)) |
| |
| virtual int | RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport)) |
| |
| virtual int | HasTranslucentPolygonalGeometry () |
| |
| vtkProp * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| 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 | Pick () |
| |
| virtual void | SetDragable (int) |
| |
| virtual int | GetDragable () |
| |
| virtual void | DragableOn () |
| |
| virtual void | DragableOff () |
| |
| virtual unsigned long | GetRedrawMTime () |
| |
| virtual void | SetUseBounds (bool) |
| |
| virtual bool | GetUseBounds () |
| |
| virtual void | UseBoundsOn () |
| |
| virtual void | UseBoundsOff () |
| |
| virtual void | InitPathTraversal () |
| |
| virtual vtkAssemblyPath * | GetNextPath () |
| |
| virtual int | GetNumberOfPaths () |
| |
| virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
| |
| virtual vtkMatrix4x4 * | GetMatrix () |
| |
| virtual vtkInformation * | GetPropertyKeys () |
| |
| virtual void | SetPropertyKeys (vtkInformation *keys) |
| |
| virtual bool | HasKeys (vtkInformation *requiredKeys) |
| |
| virtual int | RenderOpaqueGeometry (vtkViewport *) |
| |
| virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *) |
| |
| 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 void | BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path) |
| |
| virtual bool | GetSupportsSelection () |
| |
| 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 | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| virtual void | Register (vtkObjectBase *o) |
| |
| virtual void | UnRegister (vtkObjectBase *o) |
| |
| int | GetReferenceCount () |
| |
| void | SetReferenceCount (int) |
| |
| void | PrintRevisions (ostream &) |
| |
abstract class for representing widget handles
This class defines an API for widget handle representations. These representations interact with vtkHandleWidget. Various representations can be used depending on the nature of the handle. The basic functionality of the handle representation is to maintain a position. The position is represented via a vtkCoordinate, meaning that the position can be easily obtained in a variety of coordinate systems.
Optional features for this representation include an active mode (the widget appears only when the mouse pointer is close to it). The active distance is expressed in pixels and represents a circle in display space.
The class may be subclassed so that alternative representations can be created. The class defines an API and a default implementation that the vtkHandleWidget interacts with to render itself in the scene.
- Warning
- The separation of the widget event handling and representation enables users and developers to create new appearances for the widget. It also facilitates parallel processing, where the client application handles events, and remote representations of the widget are slaves to the client (and do not handle events).
- See also
- vtkRectilinearWipeWidget vtkWidgetRepresentation vtkAbstractWidget
- Tests:
- vtkHandleRepresentation (Tests)
Definition at line 57 of file vtkHandleRepresentation.h.