|
VTK
|
represent a user defined handle geometry in 3D while maintaining a fixed orientation w.r.t the camera. More...
#include <vtkAbstractPolygonalHandleRepresentation3D.h>


Public Member Functions | |
| virtual vtkAbstractTransform * | GetTransform () |
| virtual void | SetUniformScale (double scale) |
| void | Highlight (int highlight) |
| virtual void | SetWorldPosition (double p[3]) |
| virtual void | SetDisplayPosition (double p[3]) |
| void | SetHandle (vtkPolyData *) |
| vtkPolyData * | GetHandle () |
| void | SetProperty (vtkProperty *) |
| void | SetSelectedProperty (vtkProperty *) |
| virtual vtkProperty * | GetProperty () |
| virtual vtkProperty * | GetSelectedProperty () |
| virtual void | BuildRepresentation () |
| virtual void | StartWidgetInteraction (double eventPos[2]) |
| virtual void | WidgetInteraction (double eventPos[2]) |
| virtual int | ComputeInteractionState (int X, int Y, int modify=0) |
| virtual void | ShallowCopy (vtkProp *prop) |
| virtual void | DeepCopy (vtkProp *prop) |
| virtual void | GetActors (vtkPropCollection *) |
| virtual void | ReleaseGraphicsResources (vtkWindow *) |
| virtual int | RenderOpaqueGeometry (vtkViewport *viewport) |
| virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) |
| virtual int | HasTranslucentPolygonalGeometry () |
| virtual double * | GetBounds () |
| virtual void | SetLabelVisibility (int) |
| virtual int | GetLabelVisibility () |
| virtual void | LabelVisibilityOn () |
| virtual void | LabelVisibilityOff () |
| virtual void | SetLabelText (const char *label) |
| virtual char * | GetLabelText () |
| virtual void | SetLabelTextScale (double scale[3]) |
| void | SetLabelTextScale (double x, double y, double z) |
| virtual double * | GetLabelTextScale () |
| virtual vtkFollower * | GetLabelTextActor () |
| virtual void | SetHandleVisibility (int) |
| virtual int | GetHandleVisibility () |
| virtual void | HandleVisibilityOn () |
| virtual void | HandleVisibilityOff () |
| virtual void | SetSmoothMotion (int) |
| virtual int | GetSmoothMotion () |
| virtual void | SmoothMotionOn () |
| virtual void | SmoothMotionOff () |
Public Member Functions inherited from vtkHandleRepresentation | |
| virtual int | CheckConstraint (vtkRenderer *renderer, double pos[2]) |
| virtual unsigned long | GetMTime () |
| virtual void | GetDisplayPosition (double pos[3]) |
| virtual double * | GetDisplayPosition () |
| 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 void | SetRenderer (vtkRenderer *ren) |
| virtual void | SetPointPlacer (vtkPointPlacer *) |
| virtual vtkPointPlacer * | GetPointPlacer () |
Public Member Functions inherited from vtkWidgetRepresentation | |
| virtual vtkRenderer * | GetRenderer () |
| virtual void | PlaceWidget (double *vtkNotUsed(bounds[6])) |
| virtual void | EndWidgetInteraction (double newEventPos[2]) |
| 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 void | GetActors2D (vtkPropCollection *) |
| virtual void | GetVolumes (vtkPropCollection *) |
| virtual int | RenderOverlay (vtkViewport *vtkNotUsed(viewport)) |
| virtual int | RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport)) |
| virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport)) |
| virtual int | RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport)) |
Public Member Functions inherited from vtkProp | |
| virtual void | Pick () |
| virtual unsigned long | GetRedrawMTime () |
| virtual bool | HasKeys (vtkInformation *requiredKeys) |
| virtual void | BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path) |
| 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 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 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 bool | GetSupportsSelection () |
| virtual int | GetNumberOfConsumers () |
| void | AddConsumer (vtkObject *c) |
| void | RemoveConsumer (vtkObject *c) |
| vtkObject * | GetConsumer (int i) |
| int | IsConsumer (vtkObject *c) |
Public Member Functions inherited from vtkObject | |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| unsigned char | GetDebug () |
| void | SetDebug (unsigned char 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) |
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 &os) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
Additional Inherited Members | |
Public Types inherited from vtkHandleRepresentation | |
| enum | _InteractionState { Outside = 0, Nearby, Selecting, Translating, Scaling } |
| typedef vtkWidgetRepresentation | Superclass |
Static Public Member Functions inherited from vtkHandleRepresentation | |
Static Public Member Functions inherited from vtkWidgetRepresentation | |
Static Public Member Functions inherited from vtkObject | |
| static vtkObject * | New () |
| static void | BreakOnError () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Friends inherited from vtkObject | |
represent a user defined handle geometry in 3D while maintaining a fixed orientation w.r.t the camera.
This class serves as the geometrical representation of a vtkHandleWidget. The handle can be represented by an arbitrary polygonal data (vtkPolyData), set via SetHandle(vtkPolyData *). The actual position of the handle will be initially assumed to be (0,0,0). You can specify an offset from this position if desired. This class differs from vtkPolygonalHandleRepresentation3D in that the handle will always remain front facing, ie it maintains a fixed orientation with respect to the camera. This is done by using vtkFollowers internally to render the actors.
Definition at line 50 of file vtkAbstractPolygonalHandleRepresentation3D.h.
Standard methods for instances of this class.
Definition at line 57 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
|
protected |
|
virtual |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
Reimplemented in vtkFixedSizeHandleRepresentation3D, vtkOrientedPolygonalHandleRepresentation3D, and vtkPolygonalHandleRepresentation3D.
|
static |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
Reimplemented in vtkFixedSizeHandleRepresentation3D, vtkOrientedPolygonalHandleRepresentation3D, and vtkPolygonalHandleRepresentation3D.
|
virtual |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
Reimplemented in vtkFixedSizeHandleRepresentation3D, vtkOrientedPolygonalHandleRepresentation3D, and vtkPolygonalHandleRepresentation3D.
|
static |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
Reimplemented in vtkFixedSizeHandleRepresentation3D, vtkOrientedPolygonalHandleRepresentation3D, and vtkPolygonalHandleRepresentation3D.
|
virtual |
Standard methods for instances of this class.
Reimplemented from vtkHandleRepresentation.
Reimplemented in vtkFixedSizeHandleRepresentation3D, vtkOrientedPolygonalHandleRepresentation3D, and vtkPolygonalHandleRepresentation3D.
|
virtual |
Set the position of the point in world and display coordinates.
Reimplemented from vtkHandleRepresentation.
Reimplemented in vtkPolygonalHandleRepresentation3D.
|
virtual |
Set the position of the point in world and display coordinates.
Reimplemented from vtkHandleRepresentation.
| void vtkAbstractPolygonalHandleRepresentation3D::SetHandle | ( | vtkPolyData * | ) |
Set/get the handle polydata.
| vtkPolyData* vtkAbstractPolygonalHandleRepresentation3D::GetHandle | ( | ) |
Set/get the handle polydata.
| void vtkAbstractPolygonalHandleRepresentation3D::SetProperty | ( | vtkProperty * | ) |
Set/Get the handle properties when unselected and selected.
| void vtkAbstractPolygonalHandleRepresentation3D::SetSelectedProperty | ( | vtkProperty * | ) |
Set/Get the handle properties when unselected and selected.
|
virtual |
Set/Get the handle properties when unselected and selected.
|
virtual |
Set/Get the handle properties when unselected and selected.
|
virtual |
Get the transform used to transform the generic handle polydata before placing it in the render window
|
virtual |
Methods to make this class properly act like a vtkWidgetRepresentation.
Implements vtkWidgetRepresentation.
Reimplemented in vtkFixedSizeHandleRepresentation3D.
|
virtual |
Methods to make this class properly act like a vtkWidgetRepresentation.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods to make this class properly act like a vtkWidgetRepresentation.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods to make this class properly act like a vtkWidgetRepresentation.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkHandleRepresentation.
|
virtual |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkHandleRepresentation.
|
virtual |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
|
virtual |
|
virtual |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods to make this class behave as a vtkProp.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.
|
virtual |
A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.
|
virtual |
A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.
|
virtual |
A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.
|
virtual |
A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.
|
virtual |
A label may be associated with the seed. The string can be set via SetLabelText. The visibility of the label can be turned on / off.
|
virtual |
Scale text (font size along each dimension).
|
inline |
Scale text (font size along each dimension).
Definition at line 119 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
virtual |
Scale text (font size along each dimension).
|
virtual |
Get the label text actor
|
virtual |
The handle may be scaled uniformly in all three dimensions using this API. The handle can also be scaled interactively using the right mouse button.
|
virtual |
Toogle the visibility of the handle on and off
|
virtual |
Toogle the visibility of the handle on and off
|
virtual |
Toogle the visibility of the handle on and off
|
virtual |
Toogle the visibility of the handle on and off
| void vtkAbstractPolygonalHandleRepresentation3D::Highlight | ( | int | highlight | ) |
|
virtual |
Turn on/off smooth motion of the handle. See the documentation of MoveFocusRequest for details. By default, SmoothMotion is ON. However, in certain applications the user may want to turn it off. For instance when using certain specific PointPlacer's with the representation such as the vtkCellCentersPointPlacer, which causes the representation to snap to the center of cells, or using a vtkPolygonalSurfacePointPlacer which constrains the widget to the surface of a mesh. In such cases, inherent restrictions on handle placement might conflict with a request for smooth motion of the handles.
|
virtual |
Turn on/off smooth motion of the handle. See the documentation of MoveFocusRequest for details. By default, SmoothMotion is ON. However, in certain applications the user may want to turn it off. For instance when using certain specific PointPlacer's with the representation such as the vtkCellCentersPointPlacer, which causes the representation to snap to the center of cells, or using a vtkPolygonalSurfacePointPlacer which constrains the widget to the surface of a mesh. In such cases, inherent restrictions on handle placement might conflict with a request for smooth motion of the handles.
|
virtual |
Turn on/off smooth motion of the handle. See the documentation of MoveFocusRequest for details. By default, SmoothMotion is ON. However, in certain applications the user may want to turn it off. For instance when using certain specific PointPlacer's with the representation such as the vtkCellCentersPointPlacer, which causes the representation to snap to the center of cells, or using a vtkPolygonalSurfacePointPlacer which constrains the widget to the surface of a mesh. In such cases, inherent restrictions on handle placement might conflict with a request for smooth motion of the handles.
|
virtual |
Turn on/off smooth motion of the handle. See the documentation of MoveFocusRequest for details. By default, SmoothMotion is ON. However, in certain applications the user may want to turn it off. For instance when using certain specific PointPlacer's with the representation such as the vtkCellCentersPointPlacer, which causes the representation to snap to the center of cells, or using a vtkPolygonalSurfacePointPlacer which constrains the widget to the surface of a mesh. In such cases, inherent restrictions on handle placement might conflict with a request for smooth motion of the handles.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Update the actor position. Different subclasses handle this differently. For instance vtkPolygonalHandleRepresentation3D updates the handle transformation and sets this on the handle. vtkOrientedPolygonalHandleRepresentation3D, which uses a vtkFollower to keep the handle geometry facinig the camera handles this differently. This is an opportunity for subclasses to update the actor's position etc each time the handle is rendered.
Reimplemented in vtkOrientedPolygonalHandleRepresentation3D.
|
protectedvirtual |
Opportunity to update the label position and text during each render.
|
protected |
Definition at line 166 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 167 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 168 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 169 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 170 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 171 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 172 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 173 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 174 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 175 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 176 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 177 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 178 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 179 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 216 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 217 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 218 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 219 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 220 of file vtkAbstractPolygonalHandleRepresentation3D.h.
|
protected |
Definition at line 221 of file vtkAbstractPolygonalHandleRepresentation3D.h.
1.8.1.2