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

a class defining the representation for a vtkImplicitPlaneWidget2 More...

#include <vtkImplicitPlaneRepresentation.h>

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

Public Types

enum  _InteractionState {
  Outside =0, Moving, MovingOutline, MovingOrigin,
  Rotating, Pushing, Scaling
}
 
- Public Types inherited from vtkWidgetRepresentation
typedef vtkProp Superclass
 
- Public Types inherited from vtkProp
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

void GetPolyData (vtkPolyData *pd)
 
vtkPolyDataAlgorithmGetPolyDataAlgorithm ()
 
void GetPlane (vtkPlane *plane)
 
void UpdatePlacement (void)
 
void BumpPlane (int dir, double factor)
 
void PushPlane (double distance)
 
void SetOrigin (double x, double y, double z)
 
void SetOrigin (double x[3])
 
doubleGetOrigin ()
 
void GetOrigin (double xyz[3])
 
void SetNormal (double x, double y, double z)
 
void SetNormal (double x[3])
 
void SetNormalToCamera ()
 
doubleGetNormal ()
 
void GetNormal (double xyz[3])
 
void SetNormalToXAxis (int)
 
virtual int GetNormalToXAxis ()
 
virtual void NormalToXAxisOn ()
 
virtual void NormalToXAxisOff ()
 
void SetNormalToYAxis (int)
 
virtual int GetNormalToYAxis ()
 
virtual void NormalToYAxisOn ()
 
virtual void NormalToYAxisOff ()
 
void SetNormalToZAxis (int)
 
virtual int GetNormalToZAxis ()
 
virtual void NormalToZAxisOn ()
 
virtual void NormalToZAxisOff ()
 
virtual void SetLockNormalToCamera (int)
 
virtual int GetLockNormalToCamera ()
 
virtual void LockNormalToCameraOn ()
 
virtual void LockNormalToCameraOff ()
 
virtual void SetTubing (int)
 
virtual int GetTubing ()
 
virtual void TubingOn ()
 
virtual void TubingOff ()
 
void SetDrawPlane (int plane)
 
virtual int GetDrawPlane ()
 
virtual void DrawPlaneOn ()
 
virtual void DrawPlaneOff ()
 
virtual void SetOutlineTranslation (int)
 
virtual int GetOutlineTranslation ()
 
virtual void OutlineTranslationOn ()
 
virtual void OutlineTranslationOff ()
 
virtual void SetOutsideBounds (int)
 
virtual int GetOutsideBounds ()
 
virtual void OutsideBoundsOn ()
 
virtual void OutsideBoundsOff ()
 
virtual void SetScaleEnabled (int)
 
virtual int GetScaleEnabled ()
 
virtual void ScaleEnabledOn ()
 
virtual void ScaleEnabledOff ()
 
virtual vtkPropertyGetNormalProperty ()
 
virtual vtkPropertyGetSelectedNormalProperty ()
 
virtual vtkPropertyGetPlaneProperty ()
 
virtual vtkPropertyGetSelectedPlaneProperty ()
 
virtual vtkPropertyGetOutlineProperty ()
 
virtual vtkPropertyGetSelectedOutlineProperty ()
 
virtual vtkPropertyGetEdgesProperty ()
 
void SetEdgeColor (vtkLookupTable *)
 
void SetEdgeColor (double, double, double)
 
void SetEdgeColor (double x[3])
 
virtual void SetBumpDistance (double)
 
virtual double GetBumpDistance ()
 
virtual int ComputeInteractionState (int X, int Y, int modify=0)
 
virtual void PlaceWidget (double bounds[6])
 
virtual void BuildRepresentation ()
 
virtual void StartWidgetInteraction (double eventPos[2])
 
virtual void WidgetInteraction (double newEventPos[2])
 
virtual void EndWidgetInteraction (double newEventPos[2])
 
virtual doubleGetBounds ()
 
virtual void GetActors (vtkPropCollection *pc)
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 
virtual int RenderOpaqueGeometry (vtkViewport *)
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
 
virtual int HasTranslucentPolygonalGeometry ()
 
virtual void SetInteractionState (int)
 
virtual void SetRepresentationState (int)
 
virtual int GetRepresentationState ()
 
- 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 void ShallowCopy (vtkProp *prop)
 
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))
 
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 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)
 
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 vtkImplicitPlaneRepresentationNew ()
 
- 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

 vtkImplicitPlaneRepresentation ()
 
 ~vtkImplicitPlaneRepresentation ()
 
void HighlightOutline (int highlight)
 
void HighlightPlane (int highlight)
 
void HighlightNormal (int highlight)
 
virtual void RegisterPickers ()
 
void ConstrainOrigin (double x[3])
 
void Rotate (double X, double Y, double *p1, double *p2, double *vpn)
 
void TranslatePlane (double *p1, double *p2)
 
void TranslateOutline (double *p1, double *p2)
 
void TranslateOrigin (double *p1, double *p2)
 
void Push (double *p1, double *p2)
 
void Scale (double *p1, double *p2, double X, double Y)
 
void SizeHandles ()
 
void CreateDefaultProperties ()
 
void GeneratePlane ()
 
- Protected Member Functions inherited from vtkWidgetRepresentation
 vtkWidgetRepresentation ()
 
 ~vtkWidgetRepresentation ()
 
void AdjustBounds (double bounds[6], double newBounds[6], double center[3])
 
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 RepresentationState
 
double LastEventPosition [3]
 
int NormalToXAxis
 
int NormalToYAxis
 
int NormalToZAxis
 
int LockNormalToCamera
 
double BumpDistance
 
vtkPlanePlane
 
vtkImageDataBox
 
vtkOutlineFilterOutline
 
vtkPolyDataMapperOutlineMapper
 
vtkActorOutlineActor
 
int OutlineTranslation
 
int ScaleEnabled
 
int OutsideBounds
 
vtkCutterCutter
 
vtkPolyDataMapperCutMapper
 
vtkActorCutActor
 
int DrawPlane
 
vtkFeatureEdgesEdges
 
vtkTubeFilterEdgesTuber
 
vtkPolyDataMapperEdgesMapper
 
vtkActorEdgesActor
 
int Tubing
 
vtkConeSourceConeSource
 
vtkPolyDataMapperConeMapper
 
vtkActorConeActor
 
vtkLineSourceLineSource
 
vtkPolyDataMapperLineMapper
 
vtkActorLineActor
 
vtkConeSourceConeSource2
 
vtkPolyDataMapperConeMapper2
 
vtkActorConeActor2
 
vtkLineSourceLineSource2
 
vtkPolyDataMapperLineMapper2
 
vtkActorLineActor2
 
vtkSphereSourceSphere
 
vtkPolyDataMapperSphereMapper
 
vtkActorSphereActor
 
vtkCellPickerPicker
 
vtkTransformTransform
 
vtkPropertyNormalProperty
 
vtkPropertySelectedNormalProperty
 
vtkPropertyPlaneProperty
 
vtkPropertySelectedPlaneProperty
 
vtkPropertyOutlineProperty
 
vtkPropertySelectedOutlineProperty
 
vtkPropertyEdgesProperty
 
vtkBoxBoundingBox
 
- 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 vtkWidgetRepresentation Superclass
 
static int IsTypeOf (const char *type)
 
static vtkImplicitPlaneRepresentationSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkImplicitPlaneRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBaseNewInstanceInternal () const
 

Detailed Description

a class defining the representation for a vtkImplicitPlaneWidget2

This class is a concrete representation for the vtkImplicitPlaneWidget2. It represents an infinite plane defined by a normal and point in the context of a bounding box. Through interaction with the widget, the plane can be manipulated by adjusting the plane normal or moving the origin point.

To use this representation, you normally define a (plane) origin and (plane) normal. The PlaceWidget() method is also used to initially position the representation.

Warning
This class, and vtkImplicitPlaneWidget2, are next generation VTK widgets. An earlier version of this functionality was defined in the class vtkImplicitPlaneWidget.
See also
vtkImplicitPlaneWidget2 vtkImplicitPlaneWidget
Tests:
vtkImplicitPlaneRepresentation (Tests)

Definition at line 65 of file vtkImplicitPlaneRepresentation.h.

Member Typedef Documentation

Standard methods for the class.

Definition at line 73 of file vtkImplicitPlaneRepresentation.h.

Member Enumeration Documentation

Enumerator
Outside 
Moving 
MovingOutline 
MovingOrigin 
Rotating 
Pushing 
Scaling 

Definition at line 251 of file vtkImplicitPlaneRepresentation.h.

Constructor & Destructor Documentation

vtkImplicitPlaneRepresentation::vtkImplicitPlaneRepresentation ( )
protected
vtkImplicitPlaneRepresentation::~vtkImplicitPlaneRepresentation ( )
protected

Member Function Documentation

static vtkImplicitPlaneRepresentation* vtkImplicitPlaneRepresentation::New ( )
static

Instantiate the class.

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

Standard methods for the class.

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

Standard methods for the class.

Reimplemented from vtkWidgetRepresentation.

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

Standard methods for the class.

virtual vtkObjectBase* vtkImplicitPlaneRepresentation::NewInstanceInternal ( ) const
protectedvirtual

Standard methods for the class.

Reimplemented from vtkWidgetRepresentation.

vtkImplicitPlaneRepresentation* vtkImplicitPlaneRepresentation::NewInstance ( ) const

Standard methods for the class.

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

Standard methods for the class.

Reimplemented from vtkObject.

void vtkImplicitPlaneRepresentation::SetOrigin ( double  x,
double  y,
double  z 
)

Get the origin of the plane.

void vtkImplicitPlaneRepresentation::SetOrigin ( double  x[3])

Get the origin of the plane.

double* vtkImplicitPlaneRepresentation::GetOrigin ( )

Get the origin of the plane.

void vtkImplicitPlaneRepresentation::GetOrigin ( double  xyz[3])

Get the origin of the plane.

void vtkImplicitPlaneRepresentation::SetNormal ( double  x,
double  y,
double  z 
)

Get the normal to the plane.

void vtkImplicitPlaneRepresentation::SetNormal ( double  x[3])

Get the normal to the plane.

void vtkImplicitPlaneRepresentation::SetNormalToCamera ( )

Get the normal to the plane.

double* vtkImplicitPlaneRepresentation::GetNormal ( )

Get the normal to the plane.

void vtkImplicitPlaneRepresentation::GetNormal ( double  xyz[3])

Get the normal to the plane.

void vtkImplicitPlaneRepresentation::SetNormalToXAxis ( int  )

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual int vtkImplicitPlaneRepresentation::GetNormalToXAxis ( )
virtual

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual void vtkImplicitPlaneRepresentation::NormalToXAxisOn ( )
virtual

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual void vtkImplicitPlaneRepresentation::NormalToXAxisOff ( )
virtual

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

void vtkImplicitPlaneRepresentation::SetNormalToYAxis ( int  )

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual int vtkImplicitPlaneRepresentation::GetNormalToYAxis ( )
virtual

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual void vtkImplicitPlaneRepresentation::NormalToYAxisOn ( )
virtual

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual void vtkImplicitPlaneRepresentation::NormalToYAxisOff ( )
virtual

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

void vtkImplicitPlaneRepresentation::SetNormalToZAxis ( int  )

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual int vtkImplicitPlaneRepresentation::GetNormalToZAxis ( )
virtual

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual void vtkImplicitPlaneRepresentation::NormalToZAxisOn ( )
virtual

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual void vtkImplicitPlaneRepresentation::NormalToZAxisOff ( )
virtual

Force the plane widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.

virtual void vtkImplicitPlaneRepresentation::SetLockNormalToCamera ( int  )
virtual

If enabled, and a vtkCamera is available through the renderer, then LockNormalToCamera will cause the normal to follow the camera's normal.

virtual int vtkImplicitPlaneRepresentation::GetLockNormalToCamera ( )
virtual

If enabled, and a vtkCamera is available through the renderer, then LockNormalToCamera will cause the normal to follow the camera's normal.

virtual void vtkImplicitPlaneRepresentation::LockNormalToCameraOn ( )
virtual

If enabled, and a vtkCamera is available through the renderer, then LockNormalToCamera will cause the normal to follow the camera's normal.

virtual void vtkImplicitPlaneRepresentation::LockNormalToCameraOff ( )
virtual

If enabled, and a vtkCamera is available through the renderer, then LockNormalToCamera will cause the normal to follow the camera's normal.

virtual void vtkImplicitPlaneRepresentation::SetTubing ( int  )
virtual

Turn on/off tubing of the wire outline of the plane. The tube thickens the line by wrapping with a vtkTubeFilter.

virtual int vtkImplicitPlaneRepresentation::GetTubing ( )
virtual

Turn on/off tubing of the wire outline of the plane. The tube thickens the line by wrapping with a vtkTubeFilter.

virtual void vtkImplicitPlaneRepresentation::TubingOn ( )
virtual

Turn on/off tubing of the wire outline of the plane. The tube thickens the line by wrapping with a vtkTubeFilter.

virtual void vtkImplicitPlaneRepresentation::TubingOff ( )
virtual

Turn on/off tubing of the wire outline of the plane. The tube thickens the line by wrapping with a vtkTubeFilter.

void vtkImplicitPlaneRepresentation::SetDrawPlane ( int  plane)

Enable/disable the drawing of the plane. In some cases the plane interferes with the object that it is operating on (i.e., the plane interferes with the cut surface it produces producing z-buffer artifacts.)

virtual int vtkImplicitPlaneRepresentation::GetDrawPlane ( )
virtual

Enable/disable the drawing of the plane. In some cases the plane interferes with the object that it is operating on (i.e., the plane interferes with the cut surface it produces producing z-buffer artifacts.)

virtual void vtkImplicitPlaneRepresentation::DrawPlaneOn ( )
virtual

Enable/disable the drawing of the plane. In some cases the plane interferes with the object that it is operating on (i.e., the plane interferes with the cut surface it produces producing z-buffer artifacts.)

virtual void vtkImplicitPlaneRepresentation::DrawPlaneOff ( )
virtual

Enable/disable the drawing of the plane. In some cases the plane interferes with the object that it is operating on (i.e., the plane interferes with the cut surface it produces producing z-buffer artifacts.)

virtual void vtkImplicitPlaneRepresentation::SetOutlineTranslation ( int  )
virtual

Turn on/off the ability to translate the bounding box by grabbing it with the left mouse button.

virtual int vtkImplicitPlaneRepresentation::GetOutlineTranslation ( )
virtual

Turn on/off the ability to translate the bounding box by grabbing it with the left mouse button.

virtual void vtkImplicitPlaneRepresentation::OutlineTranslationOn ( )
virtual

Turn on/off the ability to translate the bounding box by grabbing it with the left mouse button.

virtual void vtkImplicitPlaneRepresentation::OutlineTranslationOff ( )
virtual

Turn on/off the ability to translate the bounding box by grabbing it with the left mouse button.

virtual void vtkImplicitPlaneRepresentation::SetOutsideBounds ( int  )
virtual

Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.

virtual int vtkImplicitPlaneRepresentation::GetOutsideBounds ( )
virtual

Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.

virtual void vtkImplicitPlaneRepresentation::OutsideBoundsOn ( )
virtual

Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.

virtual void vtkImplicitPlaneRepresentation::OutsideBoundsOff ( )
virtual

Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.

virtual void vtkImplicitPlaneRepresentation::SetScaleEnabled ( int  )
virtual

Turn on/off the ability to scale the widget with the mouse.

virtual int vtkImplicitPlaneRepresentation::GetScaleEnabled ( )
virtual

Turn on/off the ability to scale the widget with the mouse.

virtual void vtkImplicitPlaneRepresentation::ScaleEnabledOn ( )
virtual

Turn on/off the ability to scale the widget with the mouse.

virtual void vtkImplicitPlaneRepresentation::ScaleEnabledOff ( )
virtual

Turn on/off the ability to scale the widget with the mouse.

void vtkImplicitPlaneRepresentation::GetPolyData ( vtkPolyData pd)

Grab the polydata that defines the plane. The polydata contains a single polygon that is clipped by the bounding box.

vtkPolyDataAlgorithm* vtkImplicitPlaneRepresentation::GetPolyDataAlgorithm ( )

Satisfies superclass API. This returns a pointer to the underlying PolyData (which represents the plane).

void vtkImplicitPlaneRepresentation::GetPlane ( vtkPlane plane)

Get the implicit function for the plane. The user must provide the instance of the class vtkPlane. Note that vtkPlane is a subclass of vtkImplicitFunction, meaning that it can be used by a variety of filters to perform clipping, cutting, and selection of data.

void vtkImplicitPlaneRepresentation::UpdatePlacement ( void  )

Satisfies the superclass API. This will change the state of the widget to match changes that have been made to the underlying PolyDataSource

virtual vtkProperty* vtkImplicitPlaneRepresentation::GetNormalProperty ( )
virtual

Get the properties on the normal (line and cone).

virtual vtkProperty* vtkImplicitPlaneRepresentation::GetSelectedNormalProperty ( )
virtual

Get the properties on the normal (line and cone).

virtual vtkProperty* vtkImplicitPlaneRepresentation::GetPlaneProperty ( )
virtual

Get the plane properties. The properties of the plane when selected and unselected can be manipulated.

virtual vtkProperty* vtkImplicitPlaneRepresentation::GetSelectedPlaneProperty ( )
virtual

Get the plane properties. The properties of the plane when selected and unselected can be manipulated.

virtual vtkProperty* vtkImplicitPlaneRepresentation::GetOutlineProperty ( )
virtual

Get the property of the outline.

virtual vtkProperty* vtkImplicitPlaneRepresentation::GetSelectedOutlineProperty ( )
virtual

Get the property of the outline.

virtual vtkProperty* vtkImplicitPlaneRepresentation::GetEdgesProperty ( )
virtual

Get the property of the intersection edges. (This property also applies to the edges when tubed.)

void vtkImplicitPlaneRepresentation::SetEdgeColor ( vtkLookupTable )

Set color to the edge

void vtkImplicitPlaneRepresentation::SetEdgeColor ( double  ,
double  ,
double   
)

Set color to the edge

void vtkImplicitPlaneRepresentation::SetEdgeColor ( double  x[3])

Set color to the edge

virtual void vtkImplicitPlaneRepresentation::SetBumpDistance ( double  )
virtual

Specify a translation distance used by the BumpPlane() method. Note that the distance is normalized; it is the fraction of the length of the bounding box of the wire outline.

virtual double vtkImplicitPlaneRepresentation::GetBumpDistance ( )
virtual

Specify a translation distance used by the BumpPlane() method. Note that the distance is normalized; it is the fraction of the length of the bounding box of the wire outline.

void vtkImplicitPlaneRepresentation::BumpPlane ( int  dir,
double  factor 
)

Translate the plane in the direction of the normal by the specified BumpDistance. The dir parameter controls which direction the pushing occurs, either in the same direction as the normal, or when negative, in the opposite direction. The factor controls whether what percentage of the bump is used.

void vtkImplicitPlaneRepresentation::PushPlane ( double  distance)

Push the plane the distance specified along the normal. Positive values are in the direction of the normal; negative values are in the opposite direction of the normal. The distance value is expressed in world coordinates.

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

Methods to interface with the vtkSliderWidget.

Reimplemented from vtkWidgetRepresentation.

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

Methods to interface with the vtkSliderWidget.

virtual void vtkImplicitPlaneRepresentation::BuildRepresentation ( )
virtual

Methods to interface with the vtkSliderWidget.

Implements vtkWidgetRepresentation.

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

Methods to interface with the vtkSliderWidget.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkImplicitPlaneRepresentation::WidgetInteraction ( double  newEventPos[2])
virtual

Methods to interface with the vtkSliderWidget.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkImplicitPlaneRepresentation::EndWidgetInteraction ( double  newEventPos[2])
virtual

Methods to interface with the vtkSliderWidget.

Reimplemented from vtkWidgetRepresentation.

virtual double* vtkImplicitPlaneRepresentation::GetBounds ( )
virtual

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkImplicitPlaneRepresentation::GetActors ( vtkPropCollection pc)
virtual

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkImplicitPlaneRepresentation::ReleaseGraphicsResources ( vtkWindow )
virtual

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual int vtkImplicitPlaneRepresentation::RenderOpaqueGeometry ( vtkViewport )
virtual

Methods supporting the rendering process.

Reimplemented from vtkProp.

virtual int vtkImplicitPlaneRepresentation::RenderTranslucentPolygonalGeometry ( vtkViewport )
virtual

Methods supporting the rendering process.

Reimplemented from vtkProp.

virtual int vtkImplicitPlaneRepresentation::HasTranslucentPolygonalGeometry ( )
virtual

Methods supporting the rendering process.

Reimplemented from vtkWidgetRepresentation.

virtual void vtkImplicitPlaneRepresentation::SetInteractionState ( int  )
virtual

The interaction state may be set from a widget (e.g., vtkImplicitPlaneWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.

virtual void vtkImplicitPlaneRepresentation::SetRepresentationState ( int  )
virtual

Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.

virtual int vtkImplicitPlaneRepresentation::GetRepresentationState ( )
virtual

Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.

void vtkImplicitPlaneRepresentation::HighlightOutline ( int  highlight)
protected
void vtkImplicitPlaneRepresentation::HighlightPlane ( int  highlight)
protected
void vtkImplicitPlaneRepresentation::HighlightNormal ( int  highlight)
protected
virtual void vtkImplicitPlaneRepresentation::RegisterPickers ( )
protectedvirtual

Register internal Pickers in the Picking Manager. Must be reimplemented by concrete widget representations to register their pickers.

Reimplemented from vtkWidgetRepresentation.

void vtkImplicitPlaneRepresentation::ConstrainOrigin ( double  x[3])
protected
void vtkImplicitPlaneRepresentation::Rotate ( double  X,
double  Y,
double p1,
double p2,
double vpn 
)
protected
void vtkImplicitPlaneRepresentation::TranslatePlane ( double p1,
double p2 
)
protected
void vtkImplicitPlaneRepresentation::TranslateOutline ( double p1,
double p2 
)
protected
void vtkImplicitPlaneRepresentation::TranslateOrigin ( double p1,
double p2 
)
protected
void vtkImplicitPlaneRepresentation::Push ( double p1,
double p2 
)
protected
void vtkImplicitPlaneRepresentation::Scale ( double p1,
double p2,
double  X,
double  Y 
)
protected
void vtkImplicitPlaneRepresentation::SizeHandles ( )
protected
void vtkImplicitPlaneRepresentation::CreateDefaultProperties ( )
protected
void vtkImplicitPlaneRepresentation::GeneratePlane ( )
protected

Member Data Documentation

int vtkImplicitPlaneRepresentation::RepresentationState
protected

Definition at line 285 of file vtkImplicitPlaneRepresentation.h.

double vtkImplicitPlaneRepresentation::LastEventPosition[3]
protected

Definition at line 288 of file vtkImplicitPlaneRepresentation.h.

int vtkImplicitPlaneRepresentation::NormalToXAxis
protected

Definition at line 291 of file vtkImplicitPlaneRepresentation.h.

int vtkImplicitPlaneRepresentation::NormalToYAxis
protected

Definition at line 292 of file vtkImplicitPlaneRepresentation.h.

int vtkImplicitPlaneRepresentation::NormalToZAxis
protected

Definition at line 293 of file vtkImplicitPlaneRepresentation.h.

int vtkImplicitPlaneRepresentation::LockNormalToCamera
protected

Definition at line 296 of file vtkImplicitPlaneRepresentation.h.

double vtkImplicitPlaneRepresentation::BumpDistance
protected

Definition at line 299 of file vtkImplicitPlaneRepresentation.h.

vtkPlane* vtkImplicitPlaneRepresentation::Plane
protected

Definition at line 302 of file vtkImplicitPlaneRepresentation.h.

vtkImageData* vtkImplicitPlaneRepresentation::Box
protected

Definition at line 305 of file vtkImplicitPlaneRepresentation.h.

vtkOutlineFilter* vtkImplicitPlaneRepresentation::Outline
protected

Definition at line 306 of file vtkImplicitPlaneRepresentation.h.

vtkPolyDataMapper* vtkImplicitPlaneRepresentation::OutlineMapper
protected

Definition at line 307 of file vtkImplicitPlaneRepresentation.h.

vtkActor* vtkImplicitPlaneRepresentation::OutlineActor
protected

Definition at line 308 of file vtkImplicitPlaneRepresentation.h.

int vtkImplicitPlaneRepresentation::OutlineTranslation
protected

Definition at line 310 of file vtkImplicitPlaneRepresentation.h.

int vtkImplicitPlaneRepresentation::ScaleEnabled
protected

Definition at line 311 of file vtkImplicitPlaneRepresentation.h.

int vtkImplicitPlaneRepresentation::OutsideBounds
protected

Definition at line 312 of file vtkImplicitPlaneRepresentation.h.

vtkCutter* vtkImplicitPlaneRepresentation::Cutter
protected

Definition at line 315 of file vtkImplicitPlaneRepresentation.h.

vtkPolyDataMapper* vtkImplicitPlaneRepresentation::CutMapper
protected

Definition at line 316 of file vtkImplicitPlaneRepresentation.h.

vtkActor* vtkImplicitPlaneRepresentation::CutActor
protected

Definition at line 317 of file vtkImplicitPlaneRepresentation.h.

int vtkImplicitPlaneRepresentation::DrawPlane
protected

Definition at line 318 of file vtkImplicitPlaneRepresentation.h.

vtkFeatureEdges* vtkImplicitPlaneRepresentation::Edges
protected

Definition at line 322 of file vtkImplicitPlaneRepresentation.h.

vtkTubeFilter* vtkImplicitPlaneRepresentation::EdgesTuber
protected

Definition at line 323 of file vtkImplicitPlaneRepresentation.h.

vtkPolyDataMapper* vtkImplicitPlaneRepresentation::EdgesMapper
protected

Definition at line 324 of file vtkImplicitPlaneRepresentation.h.

vtkActor* vtkImplicitPlaneRepresentation::EdgesActor
protected

Definition at line 325 of file vtkImplicitPlaneRepresentation.h.

int vtkImplicitPlaneRepresentation::Tubing
protected

Definition at line 326 of file vtkImplicitPlaneRepresentation.h.

vtkConeSource* vtkImplicitPlaneRepresentation::ConeSource
protected

Definition at line 329 of file vtkImplicitPlaneRepresentation.h.

vtkPolyDataMapper* vtkImplicitPlaneRepresentation::ConeMapper
protected

Definition at line 330 of file vtkImplicitPlaneRepresentation.h.

vtkActor* vtkImplicitPlaneRepresentation::ConeActor
protected

Definition at line 331 of file vtkImplicitPlaneRepresentation.h.

vtkLineSource* vtkImplicitPlaneRepresentation::LineSource
protected

Definition at line 335 of file vtkImplicitPlaneRepresentation.h.

vtkPolyDataMapper* vtkImplicitPlaneRepresentation::LineMapper
protected

Definition at line 336 of file vtkImplicitPlaneRepresentation.h.

vtkActor* vtkImplicitPlaneRepresentation::LineActor
protected

Definition at line 337 of file vtkImplicitPlaneRepresentation.h.

vtkConeSource* vtkImplicitPlaneRepresentation::ConeSource2
protected

Definition at line 340 of file vtkImplicitPlaneRepresentation.h.

vtkPolyDataMapper* vtkImplicitPlaneRepresentation::ConeMapper2
protected

Definition at line 341 of file vtkImplicitPlaneRepresentation.h.

vtkActor* vtkImplicitPlaneRepresentation::ConeActor2
protected

Definition at line 342 of file vtkImplicitPlaneRepresentation.h.

vtkLineSource* vtkImplicitPlaneRepresentation::LineSource2
protected

Definition at line 345 of file vtkImplicitPlaneRepresentation.h.

vtkPolyDataMapper* vtkImplicitPlaneRepresentation::LineMapper2
protected

Definition at line 346 of file vtkImplicitPlaneRepresentation.h.

vtkActor* vtkImplicitPlaneRepresentation::LineActor2
protected

Definition at line 347 of file vtkImplicitPlaneRepresentation.h.

vtkSphereSource* vtkImplicitPlaneRepresentation::Sphere
protected

Definition at line 350 of file vtkImplicitPlaneRepresentation.h.

vtkPolyDataMapper* vtkImplicitPlaneRepresentation::SphereMapper
protected

Definition at line 351 of file vtkImplicitPlaneRepresentation.h.

vtkActor* vtkImplicitPlaneRepresentation::SphereActor
protected

Definition at line 352 of file vtkImplicitPlaneRepresentation.h.

vtkCellPicker* vtkImplicitPlaneRepresentation::Picker
protected

Definition at line 355 of file vtkImplicitPlaneRepresentation.h.

vtkTransform* vtkImplicitPlaneRepresentation::Transform
protected

Definition at line 361 of file vtkImplicitPlaneRepresentation.h.

vtkProperty* vtkImplicitPlaneRepresentation::NormalProperty
protected

Definition at line 375 of file vtkImplicitPlaneRepresentation.h.

vtkProperty* vtkImplicitPlaneRepresentation::SelectedNormalProperty
protected

Definition at line 376 of file vtkImplicitPlaneRepresentation.h.

vtkProperty* vtkImplicitPlaneRepresentation::PlaneProperty
protected

Definition at line 377 of file vtkImplicitPlaneRepresentation.h.

vtkProperty* vtkImplicitPlaneRepresentation::SelectedPlaneProperty
protected

Definition at line 378 of file vtkImplicitPlaneRepresentation.h.

vtkProperty* vtkImplicitPlaneRepresentation::OutlineProperty
protected

Definition at line 379 of file vtkImplicitPlaneRepresentation.h.

vtkProperty* vtkImplicitPlaneRepresentation::SelectedOutlineProperty
protected

Definition at line 380 of file vtkImplicitPlaneRepresentation.h.

vtkProperty* vtkImplicitPlaneRepresentation::EdgesProperty
protected

Definition at line 381 of file vtkImplicitPlaneRepresentation.h.

vtkBox* vtkImplicitPlaneRepresentation::BoundingBox
protected

Definition at line 387 of file vtkImplicitPlaneRepresentation.h.


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