VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkAffineRepresentation2D Class Reference

represent 2D affine transformations More...

#include <vtkAffineRepresentation2D.h>

Inheritance diagram for vtkAffineRepresentation2D:
[legend]
Collaboration diagram for vtkAffineRepresentation2D:
[legend]

Public Member Functions

virtual void GetTransform (vtkTransform *t)
 
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 doubleGetOrigin ()
 
virtual void GetOrigin (double &, double &, double &)
 
virtual void GetOrigin (double[3])
 
void SetProperty (vtkProperty2D *)
 
void SetSelectedProperty (vtkProperty2D *)
 
void SetTextProperty (vtkTextProperty *)
 
virtual vtkProperty2DGetProperty ()
 
virtual vtkProperty2DGetSelectedProperty ()
 
virtual vtkTextPropertyGetTextProperty ()
 
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)
 
- Public Member Functions inherited from vtkAffineRepresentation
virtual void SetTolerance (int)
 
virtual int GetTolerance ()
 
vtkAffineRepresentationNewInstance () const
 
- Public Member Functions inherited from vtkWidgetRepresentation
virtual void PickingManagedOn ()
 
virtual void PickingManagedOff ()
 
virtual void SetPickingManaged (bool)
 
virtual bool GetPickingManaged ()
 
virtual void SetRenderer (vtkRenderer *ren)
 
virtual vtkRendererGetRenderer ()
 
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 doubleGetBounds ()
 
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 ()
 
vtkWidgetRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkProp
vtkPropNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Pick ()
 
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 unsigned long GetRedrawMTime ()
 
virtual void SetUseBounds (bool)
 
virtual bool GetUseBounds ()
 
virtual void UseBoundsOn ()
 
virtual void UseBoundsOff ()
 
virtual void InitPathTraversal ()
 
virtual vtkAssemblyPathGetNextPath ()
 
virtual int GetNumberOfPaths ()
 
virtual void PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix))
 
virtual vtkMatrix4x4GetMatrix ()
 
virtual vtkInformationGetPropertyKeys ()
 
virtual void SetPropertyKeys (vtkInformation *keys)
 
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 bool GetSupportsSelection ()
 
virtual int GetNumberOfConsumers ()
 
void AddConsumer (vtkObject *c)
 
void RemoveConsumer (vtkObject *c)
 
vtkObjectGetConsumer (int i)
 
int IsConsumer (vtkObject *c)
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () 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)
 
vtkCommandGetCommand (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 &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static vtkAffineRepresentation2DNew ()
 
- Static Public Member Functions inherited from vtkAffineRepresentation
static int IsTypeOf (const char *type)
 
static vtkAffineRepresentationSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkWidgetRepresentation
static int IsTypeOf (const char *type)
 
static vtkWidgetRepresentationSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkProp
static int IsTypeOf (const char *type)
 
static vtkPropSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyGeneralTextureUnit ()
 
static vtkInformationDoubleVectorKeyGeneralTextureTransform ()
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 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 ()
 
- Protected Member Functions inherited from vtkAffineRepresentation
 vtkAffineRepresentation ()
 
 ~vtkAffineRepresentation ()
 
- Protected Member Functions inherited from vtkWidgetRepresentation
 vtkWidgetRepresentation ()
 
 ~vtkWidgetRepresentation ()
 
void AdjustBounds (double bounds[6], double newBounds[6], double center[3])
 
virtual void RegisterPickers ()
 
virtual void UnRegisterPickers ()
 
virtual void PickersModified ()
 
vtkPickingManagerGetPickingManager ()
 
double SizeHandlesRelativeToViewport (double factor, double pos[3])
 
double SizeHandlesInPixels (double factor, double pos[3])
 
vtkAssemblyPathGetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 
- Protected Member Functions inherited from vtkProp
 vtkProp ()
 
 ~vtkProp ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

int BoxWidth
 
int CircleWidth
 
int AxesWidth
 
int DisplayText
 
double CurrentWidth
 
double CurrentRadius
 
double CurrentAxesWidth
 
vtkTransformCurrentTransform
 
vtkTransformTotalTransform
 
vtkTransformTempTransform
 
double Origin [4]
 
double DisplayOrigin [3]
 
double CurrentTranslation [3]
 
double StartWorldPosition [4]
 
double StartAngle
 
double CurrentAngle
 
double CurrentScale [2]
 
double CurrentShear [2]
 
vtkProperty2DProperty
 
vtkProperty2DSelectedProperty
 
vtkTextPropertyTextProperty
 
double Opacity
 
double SelectedOpacity
 
double LastEventPosition [2]
 
vtkTextMapperTextMapper
 
vtkActor2DTextActor
 
vtkPointsBoxPoints
 
vtkCellArrayBoxCellArray
 
vtkPolyDataBox
 
vtkPolyDataMapper2DBoxMapper
 
vtkActor2DBoxActor
 
vtkPointsHBoxPoints
 
vtkCellArrayHBoxCellArray
 
vtkPolyDataHBox
 
vtkPolyDataMapper2DHBoxMapper
 
vtkActor2DHBoxActor
 
vtkPointsCirclePoints
 
vtkCellArrayCircleCellArray
 
vtkPolyDataCircle
 
vtkPolyDataMapper2DCircleMapper
 
vtkActor2DCircleActor
 
vtkPointsHCirclePoints
 
vtkCellArrayHCircleCellArray
 
vtkPolyDataHCircle
 
vtkPolyDataMapper2DHCircleMapper
 
vtkActor2DHCircleActor
 
vtkLeaderActor2DXAxis
 
vtkLeaderActor2DYAxis
 
vtkLeaderActor2DHXAxis
 
vtkLeaderActor2DHYAxis
 
- Protected Attributes inherited from vtkAffineRepresentation
int Tolerance
 
vtkTransformTransform
 
- Protected Attributes inherited from vtkWidgetRepresentation
vtkWeakPointer< vtkRendererRenderer
 
int InteractionState
 
double StartEventPosition [3]
 
double PlaceFactor
 
int Placed
 
double InitialBounds [6]
 
double InitialLength
 
int ValidPick
 
bool PickingManaged
 
double HandleSize
 
int NeedToRender
 
vtkTimeStamp BuildTime
 
- Protected Attributes inherited from vtkProp
int Visibility
 
int Pickable
 
int Dragable
 
bool UseBounds
 
double AllocatedRenderTime
 
double EstimatedRenderTime
 
double SavedEstimatedRenderTime
 
double RenderTimeMultiplier
 
int NumberOfConsumers
 
vtkObject ** Consumers
 
vtkAssemblyPathsPaths
 
vtkInformationPropertyKeys
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 
typedef vtkAffineRepresentation Superclass
 
static int IsTypeOf (const char *type)
 
static vtkAffineRepresentation2DSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkAffineRepresentation2DNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBaseNewInstanceInternal () const
 

Additional Inherited Members

- Public Types inherited from vtkAffineRepresentation
enum  _InteractionState {
  Outside =0, Rotate, Translate, TranslateX,
  TranslateY, ScaleWEdge, ScaleEEdge, ScaleNEdge,
  ScaleSEdge, ScaleNE, ScaleSW, ScaleNW,
  ScaleSE, ShearEEdge, ShearWEdge, ShearNEdge,
  ShearSEdge, MoveOriginX, MoveOriginY, MoveOrigin
}
 
typedef vtkWidgetRepresentation Superclass
 
- Public Types inherited from vtkWidgetRepresentation
typedef vtkProp Superclass
 
- Public Types inherited from vtkProp
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Detailed Description

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.

Member Typedef Documentation

Standard methods for instances of this class.

Definition at line 72 of file vtkAffineRepresentation2D.h.

Constructor & Destructor Documentation

vtkAffineRepresentation2D::vtkAffineRepresentation2D ( )
protected
vtkAffineRepresentation2D::~vtkAffineRepresentation2D ( )
protected

Member Function Documentation

static vtkAffineRepresentation2D* vtkAffineRepresentation2D::New ( )
static

Instantiate this class.

static int vtkAffineRepresentation2D::IsTypeOf ( const char *  type)
static

Standard methods for instances of this class.

virtual int vtkAffineRepresentation2D::IsA ( const char *  type)
virtual

Standard methods for instances of this class.

Reimplemented from vtkAffineRepresentation.

static vtkAffineRepresentation2D* vtkAffineRepresentation2D::SafeDownCast ( vtkObjectBase o)
static

Standard methods for instances of this class.

virtual vtkObjectBase* vtkAffineRepresentation2D::NewInstanceInternal ( ) const
protectedvirtual

Standard methods for instances of this class.

Reimplemented from vtkAffineRepresentation.

vtkAffineRepresentation2D* vtkAffineRepresentation2D::NewInstance ( ) const

Standard methods for instances of this class.

void vtkAffineRepresentation2D::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Standard methods for instances of this class.

Reimplemented from vtkAffineRepresentation.

virtual void vtkAffineRepresentation2D::SetBoxWidth ( int  )
virtual

Specify the width of the various parts of the representation (in pixels). The three parts are of the representation are the translation axes, the rotation circle, and the scale/shear box. Note that since the widget resizes itself so that the width and height are always the same, only the width needs to be specified.

virtual int vtkAffineRepresentation2D::GetBoxWidth ( )
virtual

Specify the width of the various parts of the representation (in pixels). The three parts are of the representation are the translation axes, the rotation circle, and the scale/shear box. Note that since the widget resizes itself so that the width and height are always the same, only the width needs to be specified.

virtual void vtkAffineRepresentation2D::SetCircleWidth ( int  )
virtual

Specify the width of the various parts of the representation (in pixels). The three parts are of the representation are the translation axes, the rotation circle, and the scale/shear box. Note that since the widget resizes itself so that the width and height are always the same, only the width needs to be specified.

virtual int vtkAffineRepresentation2D::GetCircleWidth ( )
virtual

Specify the width of the various parts of the representation (in pixels). The three parts are of the representation are the translation axes, the rotation circle, and the scale/shear box. Note that since the widget resizes itself so that the width and height are always the same, only the width needs to be specified.

virtual void vtkAffineRepresentation2D::SetAxesWidth ( int  )
virtual

Specify the width of the various parts of the representation (in pixels). The three parts are of the representation are the translation axes, the rotation circle, and the scale/shear box. Note that since the widget resizes itself so that the width and height are always the same, only the width needs to be specified.

virtual int vtkAffineRepresentation2D::GetAxesWidth ( )
virtual

Specify the width of the various parts of the representation (in pixels). The three parts are of the representation are the translation axes, the rotation circle, and the scale/shear box. Note that since the widget resizes itself so that the width and height are always the same, only the width needs to be specified.

void vtkAffineRepresentation2D::SetOrigin ( const double  o[3])
inline

Specify the origin of the widget (in world coordinates). The origin is the point where the widget places itself. Note that rotations and scaling occurs around the origin.

Definition at line 94 of file vtkAffineRepresentation2D.h.

void vtkAffineRepresentation2D::SetOrigin ( double  ox,
double  oy,
double  oz 
)

Specify the origin of the widget (in world coordinates). The origin is the point where the widget places itself. Note that rotations and scaling occurs around the origin.

virtual double* vtkAffineRepresentation2D::GetOrigin ( )
virtual

Specify the origin of the widget (in world coordinates). The origin is the point where the widget places itself. Note that rotations and scaling occurs around the origin.

virtual void vtkAffineRepresentation2D::GetOrigin ( double ,
double ,
double  
)
virtual

Specify the origin of the widget (in world coordinates). The origin is the point where the widget places itself. Note that rotations and scaling occurs around the origin.

virtual void vtkAffineRepresentation2D::GetOrigin ( double  [3])
virtual

Specify the origin of the widget (in world coordinates). The origin is the point where the widget places itself. Note that rotations and scaling occurs around the origin.

virtual void vtkAffineRepresentation2D::GetTransform ( vtkTransform t)
virtual

Retrieve a linear transform characterizing the affine transformation generated by this widget. This method copies its internal transform into the transform provided. Note that the PlaceWidget() method initializes the internal matrix to identity. All subsequent widget operations (i.e., scale, translate, rotate, shear) are concatenated with the internal transform.

Implements vtkAffineRepresentation.

void vtkAffineRepresentation2D::SetProperty ( vtkProperty2D )

Set/Get the properties when unselected and selected.

void vtkAffineRepresentation2D::SetSelectedProperty ( vtkProperty2D )

Set/Get the properties when unselected and selected.

void vtkAffineRepresentation2D::SetTextProperty ( vtkTextProperty )

Set/Get the properties when unselected and selected.

virtual vtkProperty2D* vtkAffineRepresentation2D::GetProperty ( )
virtual

Set/Get the properties when unselected and selected.

virtual vtkProperty2D* vtkAffineRepresentation2D::GetSelectedProperty ( )
virtual

Set/Get the properties when unselected and selected.

virtual vtkTextProperty* vtkAffineRepresentation2D::GetTextProperty ( )
virtual

Set/Get the properties when unselected and selected.

virtual void vtkAffineRepresentation2D::SetDisplayText ( int  )
virtual

Enable the display of text with numeric values characterizing the transformation. Rotation and shear are expressed in degrees; translation the distance in world coordinates; and scale normalized (sx,sy) values.

virtual int vtkAffineRepresentation2D::GetDisplayText ( )
virtual

Enable the display of text with numeric values characterizing the transformation. Rotation and shear are expressed in degrees; translation the distance in world coordinates; and scale normalized (sx,sy) values.

virtual void vtkAffineRepresentation2D::DisplayTextOn ( )
virtual

Enable the display of text with numeric values characterizing the transformation. Rotation and shear are expressed in degrees; translation the distance in world coordinates; and scale normalized (sx,sy) values.

virtual void vtkAffineRepresentation2D::DisplayTextOff ( )
virtual

Enable the display of text with numeric values characterizing the transformation. Rotation and shear are expressed in degrees; translation the distance in world coordinates; and scale normalized (sx,sy) values.

virtual void vtkAffineRepresentation2D::PlaceWidget ( double  bounds[6])
virtual

Subclasses of vtkAffineRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other. Note: PlaceWidget() reinitializes the transformation matrix (i.e., sets it to identity). It also sets the origin for scaling and rotation.

virtual void vtkAffineRepresentation2D::StartWidgetInteraction ( double  eventPos[2])
virtual

Subclasses of vtkAffineRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other. Note: PlaceWidget() reinitializes the transformation matrix (i.e., sets it to identity). It also sets the origin for scaling and rotation.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkAffineRepresentation2D::WidgetInteraction ( double  eventPos[2])
virtual

Subclasses of vtkAffineRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other. Note: PlaceWidget() reinitializes the transformation matrix (i.e., sets it to identity). It also sets the origin for scaling and rotation.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkAffineRepresentation2D::EndWidgetInteraction ( double  eventPos[2])
virtual

Subclasses of vtkAffineRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other. Note: PlaceWidget() reinitializes the transformation matrix (i.e., sets it to identity). It also sets the origin for scaling and rotation.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkAffineRepresentation2D::ComputeInteractionState ( int  X,
int  Y,
int  modify = 0 
)
virtual

Subclasses of vtkAffineRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other. Note: PlaceWidget() reinitializes the transformation matrix (i.e., sets it to identity). It also sets the origin for scaling and rotation.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkAffineRepresentation2D::BuildRepresentation ( )
virtual

Subclasses of vtkAffineRepresentation2D must implement these methods. These are the methods that the widget and its representation use to communicate with each other. Note: PlaceWidget() reinitializes the transformation matrix (i.e., sets it to identity). It also sets the origin for scaling and rotation.

Implements vtkWidgetRepresentation.

virtual void vtkAffineRepresentation2D::ShallowCopy ( vtkProp prop)
virtual

Methods to make this class behave as a vtkProp.

Reimplemented from vtkAffineRepresentation.

virtual void vtkAffineRepresentation2D::GetActors2D ( vtkPropCollection )
virtual

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkAffineRepresentation2D::ReleaseGraphicsResources ( vtkWindow )
virtual

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkAffineRepresentation2D::RenderOverlay ( vtkViewport viewport)
virtual

Methods to make this class behave as a vtkProp.

Reimplemented from vtkProp.

void vtkAffineRepresentation2D::Translate ( double  eventPos[2])
protected
void vtkAffineRepresentation2D::Scale ( double  eventPos[2])
protected
void vtkAffineRepresentation2D::Rotate ( double  eventPos[2])
protected
void vtkAffineRepresentation2D::Shear ( double  eventPos[2])
protected
void vtkAffineRepresentation2D::Highlight ( int  highlight)
protected
void vtkAffineRepresentation2D::UpdateText ( const char *  text,
double  eventPos[2] 
)
protected
void vtkAffineRepresentation2D::ApplyShear ( )
protected
void vtkAffineRepresentation2D::CreateDefaultProperties ( )
protected

Member Data Documentation

int vtkAffineRepresentation2D::BoxWidth
protected

Definition at line 162 of file vtkAffineRepresentation2D.h.

int vtkAffineRepresentation2D::CircleWidth
protected

Definition at line 163 of file vtkAffineRepresentation2D.h.

int vtkAffineRepresentation2D::AxesWidth
protected

Definition at line 164 of file vtkAffineRepresentation2D.h.

int vtkAffineRepresentation2D::DisplayText
protected

Definition at line 167 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::CurrentWidth
protected

Definition at line 170 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::CurrentRadius
protected

Definition at line 171 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::CurrentAxesWidth
protected

Definition at line 172 of file vtkAffineRepresentation2D.h.

vtkTransform* vtkAffineRepresentation2D::CurrentTransform
protected

Definition at line 175 of file vtkAffineRepresentation2D.h.

vtkTransform* vtkAffineRepresentation2D::TotalTransform
protected

Definition at line 176 of file vtkAffineRepresentation2D.h.

vtkTransform* vtkAffineRepresentation2D::TempTransform
protected

Definition at line 177 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::Origin[4]
protected

Definition at line 178 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::DisplayOrigin[3]
protected

Definition at line 179 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::CurrentTranslation[3]
protected

Definition at line 180 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::StartWorldPosition[4]
protected

Definition at line 181 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::StartAngle
protected

Definition at line 182 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::CurrentAngle
protected

Definition at line 183 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::CurrentScale[2]
protected

Definition at line 184 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::CurrentShear[2]
protected

Definition at line 185 of file vtkAffineRepresentation2D.h.

vtkProperty2D* vtkAffineRepresentation2D::Property
protected

Definition at line 190 of file vtkAffineRepresentation2D.h.

vtkProperty2D* vtkAffineRepresentation2D::SelectedProperty
protected

Definition at line 191 of file vtkAffineRepresentation2D.h.

vtkTextProperty* vtkAffineRepresentation2D::TextProperty
protected

Definition at line 192 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::Opacity
protected

Definition at line 194 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::SelectedOpacity
protected

Definition at line 195 of file vtkAffineRepresentation2D.h.

double vtkAffineRepresentation2D::LastEventPosition[2]
protected

Definition at line 198 of file vtkAffineRepresentation2D.h.

vtkTextMapper* vtkAffineRepresentation2D::TextMapper
protected

Definition at line 202 of file vtkAffineRepresentation2D.h.

vtkActor2D* vtkAffineRepresentation2D::TextActor
protected

Definition at line 203 of file vtkAffineRepresentation2D.h.

vtkPoints* vtkAffineRepresentation2D::BoxPoints
protected

Definition at line 206 of file vtkAffineRepresentation2D.h.

vtkCellArray* vtkAffineRepresentation2D::BoxCellArray
protected

Definition at line 207 of file vtkAffineRepresentation2D.h.

vtkPolyData* vtkAffineRepresentation2D::Box
protected

Definition at line 208 of file vtkAffineRepresentation2D.h.

vtkPolyDataMapper2D* vtkAffineRepresentation2D::BoxMapper
protected

Definition at line 209 of file vtkAffineRepresentation2D.h.

vtkActor2D* vtkAffineRepresentation2D::BoxActor
protected

Definition at line 210 of file vtkAffineRepresentation2D.h.

vtkPoints* vtkAffineRepresentation2D::HBoxPoints
protected

Definition at line 212 of file vtkAffineRepresentation2D.h.

vtkCellArray* vtkAffineRepresentation2D::HBoxCellArray
protected

Definition at line 213 of file vtkAffineRepresentation2D.h.

vtkPolyData* vtkAffineRepresentation2D::HBox
protected

Definition at line 214 of file vtkAffineRepresentation2D.h.

vtkPolyDataMapper2D* vtkAffineRepresentation2D::HBoxMapper
protected

Definition at line 215 of file vtkAffineRepresentation2D.h.

vtkActor2D* vtkAffineRepresentation2D::HBoxActor
protected

Definition at line 216 of file vtkAffineRepresentation2D.h.

vtkPoints* vtkAffineRepresentation2D::CirclePoints
protected

Definition at line 219 of file vtkAffineRepresentation2D.h.

vtkCellArray* vtkAffineRepresentation2D::CircleCellArray
protected

Definition at line 220 of file vtkAffineRepresentation2D.h.

vtkPolyData* vtkAffineRepresentation2D::Circle
protected

Definition at line 221 of file vtkAffineRepresentation2D.h.

vtkPolyDataMapper2D* vtkAffineRepresentation2D::CircleMapper
protected

Definition at line 222 of file vtkAffineRepresentation2D.h.

vtkActor2D* vtkAffineRepresentation2D::CircleActor
protected

Definition at line 223 of file vtkAffineRepresentation2D.h.

vtkPoints* vtkAffineRepresentation2D::HCirclePoints
protected

Definition at line 225 of file vtkAffineRepresentation2D.h.

vtkCellArray* vtkAffineRepresentation2D::HCircleCellArray
protected

Definition at line 226 of file vtkAffineRepresentation2D.h.

vtkPolyData* vtkAffineRepresentation2D::HCircle
protected

Definition at line 227 of file vtkAffineRepresentation2D.h.

vtkPolyDataMapper2D* vtkAffineRepresentation2D::HCircleMapper
protected

Definition at line 228 of file vtkAffineRepresentation2D.h.

vtkActor2D* vtkAffineRepresentation2D::HCircleActor
protected

Definition at line 229 of file vtkAffineRepresentation2D.h.

vtkLeaderActor2D* vtkAffineRepresentation2D::XAxis
protected

Definition at line 232 of file vtkAffineRepresentation2D.h.

vtkLeaderActor2D* vtkAffineRepresentation2D::YAxis
protected

Definition at line 233 of file vtkAffineRepresentation2D.h.

vtkLeaderActor2D* vtkAffineRepresentation2D::HXAxis
protected

Definition at line 234 of file vtkAffineRepresentation2D.h.

vtkLeaderActor2D* vtkAffineRepresentation2D::HYAxis
protected

Definition at line 235 of file vtkAffineRepresentation2D.h.


The documentation for this class was generated from the following file: