|
| virtual int | IsA (const char *type) |
| |
| vtkAffineRepresentation2D * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| virtual void | SetBoxWidth (int) |
| |
| virtual int | GetBoxWidth () |
| |
| virtual void | SetCircleWidth (int) |
| |
| virtual int | GetCircleWidth () |
| |
| virtual void | SetAxesWidth (int) |
| |
| virtual int | GetAxesWidth () |
| |
| void | SetOrigin (const double o[3]) |
| |
| void | SetOrigin (double ox, double oy, double oz) |
| |
| virtual double * | GetOrigin () |
| |
| virtual void | GetOrigin (double &, double &, double &) |
| |
| virtual void | GetOrigin (double[3]) |
| |
| virtual void | GetTransform (vtkTransform *t) |
| |
| void | SetProperty (vtkProperty2D *) |
| |
| void | SetSelectedProperty (vtkProperty2D *) |
| |
| void | SetTextProperty (vtkTextProperty *) |
| |
| virtual vtkProperty2D * | GetProperty () |
| |
| virtual vtkProperty2D * | GetSelectedProperty () |
| |
| virtual vtkTextProperty * | GetTextProperty () |
| |
| virtual void | SetDisplayText (int) |
| |
| virtual int | GetDisplayText () |
| |
| virtual void | DisplayTextOn () |
| |
| virtual void | DisplayTextOff () |
| |
| virtual void | PlaceWidget (double bounds[6]) |
| |
| virtual void | StartWidgetInteraction (double eventPos[2]) |
| |
| virtual void | WidgetInteraction (double eventPos[2]) |
| |
| virtual void | EndWidgetInteraction (double eventPos[2]) |
| |
| virtual int | ComputeInteractionState (int X, int Y, int modify=0) |
| |
| virtual void | BuildRepresentation () |
| |
| virtual void | ShallowCopy (vtkProp *prop) |
| |
| virtual void | GetActors2D (vtkPropCollection *) |
| |
| virtual void | ReleaseGraphicsResources (vtkWindow *) |
| |
| virtual int | RenderOverlay (vtkViewport *viewport) |
| |
| vtkAffineRepresentation * | NewInstance () const |
| |
| virtual void | SetTolerance (int) |
| |
| virtual int | GetTolerance () |
| |
| vtkWidgetRepresentation * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| virtual void | PickingManagedOn () |
| |
| virtual void | PickingManagedOff () |
| |
| virtual void | SetPickingManaged (bool) |
| |
| virtual bool | GetPickingManaged () |
| |
| virtual void | SetRenderer (vtkRenderer *ren) |
| |
| virtual vtkRenderer * | GetRenderer () |
| |
| virtual void | PlaceWidget (double *vtkNotUsed(bounds[6])) |
| |
| 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 | 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)) |
| |
| 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 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 () |
| |
| virtual unsigned long | GetMTime () |
| |
| 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 &) |
| |
|
| virtual vtkObjectBase * | NewInstanceInternal () const |
| |
| | vtkAffineRepresentation2D () |
| |
| | ~vtkAffineRepresentation2D () |
| |
| void | Translate (double eventPos[2]) |
| |
| void | Scale (double eventPos[2]) |
| |
| void | Rotate (double eventPos[2]) |
| |
| void | Shear (double eventPos[2]) |
| |
| void | Highlight (int highlight) |
| |
| void | UpdateText (const char *text, double eventPos[2]) |
| |
| void | ApplyShear () |
| |
| void | CreateDefaultProperties () |
| |
| | vtkAffineRepresentation () |
| |
| | ~vtkAffineRepresentation () |
| |
| | vtkWidgetRepresentation () |
| |
| | ~vtkWidgetRepresentation () |
| |
| void | AdjustBounds (double bounds[6], double newBounds[6], double center[3]) |
| |
| virtual void | RegisterPickers () |
| |
| virtual void | UnRegisterPickers () |
| |
| virtual void | PickersModified () |
| |
| vtkPickingManager * | GetPickingManager () |
| |
| vtkAssemblyPath * | GetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker) |
| |
| double | SizeHandlesRelativeToViewport (double factor, double pos[3]) |
| |
| double | SizeHandlesInPixels (double factor, double pos[3]) |
| |
| | vtkProp () |
| |
| | ~vtkProp () |
| |
| | vtkObject () |
| |
| virtual | ~vtkObject () |
| |
| virtual void | RegisterInternal (vtkObjectBase *, int check) |
| |
| virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
| |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| |
| void | InternalReleaseFocus () |
| |
| | vtkObjectBase () |
| |
| virtual | ~vtkObjectBase () |
| |
| virtual void | CollectRevisions (ostream &) |
| |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| |
| | vtkObjectBase (const vtkObjectBase &) |
| |
| void | operator= (const vtkObjectBase &) |
| |
represent 2D affine transformations
This class is used to represent a vtkAffineWidget. This representation consists of three parts: a box, a circle, and a cross. The box is used for scaling and shearing, the circle for rotation, and the cross for translation. These parts are drawn in the overlay plane and maintain a constant size (width and height) specified in terms of normalized viewport coordinates.
The representation maintains an internal transformation matrix (see superclass' GetTransform() method). The transformations generated by this widget assume that the representation lies in the x-y plane. If this is not the case, the user is responsible for transforming this representation's matrix into the correct coordinate space (by judicious matrix multiplication). Note that the transformation matrix returned by GetTransform() is relative to the last PlaceWidget() invocation. (The PlaceWidget() sets the origin around which rotation and scaling occurs; the origin is the center point of the bounding box provided.)
- See also
- vtkAffineRepresentation vtkAffineWidget
- Examples:
- vtkAffineRepresentation2D (Examples)
- Tests:
- vtkAffineRepresentation2D (Tests)
Definition at line 64 of file vtkAffineRepresentation2D.h.