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

Contours constrained to a focal plane. More...

#include <vtkOrientedGlyphFocalPlaneContourRepresentation.h>

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

Public Types

typedef vtkFocalPlaneContourRepresentation Superclass
 
- Public Types inherited from vtkFocalPlaneContourRepresentation
typedef vtkContourRepresentation Superclass
 
- Public Types inherited from vtkContourRepresentation
enum  { Outside =0, Nearby }
 
enum  { Inactive = 0, Translate, Shift, Scale }
 
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
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkOrientedGlyphFocalPlaneContourRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetCursorShape (vtkPolyData *cursorShape)
 
vtkPolyDataGetCursorShape ()
 
void SetActiveCursorShape (vtkPolyData *activeShape)
 
vtkPolyDataGetActiveCursorShape ()
 
virtual vtkProperty2DGetProperty ()
 
virtual vtkProperty2DGetActiveProperty ()
 
virtual vtkProperty2DGetLinesProperty ()
 
virtual void SetRenderer (vtkRenderer *ren)
 
virtual void BuildRepresentation ()
 
virtual void StartWidgetInteraction (double eventPos[2])
 
virtual void WidgetInteraction (double eventPos[2])
 
virtual int ComputeInteractionState (int X, int Y, int modified=0)
 
virtual void GetActors2D (vtkPropCollection *)
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 
virtual int RenderOverlay (vtkViewport *viewport)
 
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
 
virtual int HasTranslucentPolygonalGeometry ()
 
virtual vtkPolyDataGetContourRepresentationAsPolyData ()
 
vtkMatrix4x4GetContourPlaneDirectionCosines (const double origin[3])
 
- Public Member Functions inherited from vtkFocalPlaneContourRepresentation
vtkFocalPlaneContourRepresentationNewInstance () const
 
virtual int GetIntermediatePointWorldPosition (int n, int idx, double point[3])
 
virtual int GetIntermediatePointDisplayPosition (int n, int idx, double point[3])
 
virtual int GetNthNodeDisplayPosition (int n, double pos[2])
 
virtual int GetNthNodeWorldPosition (int n, double pos[3])
 
virtual void UpdateContourWorldPositionsBasedOnDisplayPositions ()
 
virtual int UpdateContour ()
 
virtual void UpdateLines (int index)
 
- Public Member Functions inherited from vtkContourRepresentation
vtkContourRepresentationNewInstance () const
 
virtual int AddNodeAtWorldPosition (double x, double y, double z)
 
virtual int AddNodeAtWorldPosition (double worldPos[3])
 
virtual int AddNodeAtWorldPosition (double worldPos[3], double worldOrient[9])
 
virtual int AddNodeAtDisplayPosition (double displayPos[2])
 
virtual int AddNodeAtDisplayPosition (int displayPos[2])
 
virtual int AddNodeAtDisplayPosition (int X, int Y)
 
virtual int ActivateNode (double displayPos[2])
 
virtual int ActivateNode (int displayPos[2])
 
virtual int ActivateNode (int X, int Y)
 
virtual int SetActiveNodeToWorldPosition (double pos[3])
 
virtual int SetActiveNodeToWorldPosition (double pos[3], double orient[9])
 
virtual int SetActiveNodeToDisplayPosition (double pos[2])
 
virtual int SetActiveNodeToDisplayPosition (int pos[2])
 
virtual int SetActiveNodeToDisplayPosition (int X, int Y)
 
virtual int ToggleActiveNodeSelected ()
 
virtual int GetActiveNodeSelected ()
 
virtual int GetNthNodeSelected (int)
 
virtual int SetNthNodeSelected (int)
 
virtual int GetActiveNodeWorldPosition (double pos[3])
 
virtual int GetActiveNodeWorldOrientation (double orient[9])
 
virtual int GetActiveNodeDisplayPosition (double pos[2])
 
virtual int GetNumberOfNodes ()
 
virtual vtkContourRepresentationNodeGetNthNode (int n)
 
virtual int GetNthNodeWorldOrientation (int n, double orient[9])
 
virtual int SetNthNodeDisplayPosition (int n, int X, int Y)
 
virtual int SetNthNodeDisplayPosition (int n, int pos[2])
 
virtual int SetNthNodeDisplayPosition (int n, double pos[2])
 
virtual int SetNthNodeWorldPosition (int n, double pos[3])
 
virtual int SetNthNodeWorldPosition (int n, double pos[3], double orient[9])
 
virtual int GetNthNodeSlope (int idx, double slope[3])
 
virtual int GetNumberOfIntermediatePoints (int n)
 
virtual int AddIntermediatePointWorldPosition (int n, double point[3])
 
virtual int AddIntermediatePointWorldPosition (int n, double point[3], vtkIdType ptId)
 
virtual int DeleteLastNode ()
 
virtual int DeleteActiveNode ()
 
virtual int DeleteNthNode (int n)
 
virtual void ClearAllNodes ()
 
virtual int AddNodeOnContour (int X, int Y)
 
virtual void SetPixelTolerance (int)
 
virtual int GetPixelTolerance ()
 
virtual void SetWorldTolerance (double)
 
virtual double GetWorldTolerance ()
 
virtual int GetCurrentOperation ()
 
virtual void SetCurrentOperation (int)
 
void SetCurrentOperationToInactive ()
 
void SetCurrentOperationToTranslate ()
 
void SetCurrentOperationToShift ()
 
void SetCurrentOperationToScale ()
 
void SetPointPlacer (vtkPointPlacer *)
 
virtual vtkPointPlacerGetPointPlacer ()
 
void SetLineInterpolator (vtkContourLineInterpolator *)
 
virtual vtkContourLineInterpolatorGetLineInterpolator ()
 
void SetClosedLoop (int val)
 
virtual int GetClosedLoop ()
 
virtual void ClosedLoopOn ()
 
virtual void ClosedLoopOff ()
 
virtual void SetShowSelectedNodes (int)
 
virtual int GetShowSelectedNodes ()
 
virtual void ShowSelectedNodesOn ()
 
virtual void ShowSelectedNodesOff ()
 
void GetNodePolyData (vtkPolyData *poly)
 
virtual void SetRebuildLocator (bool)
 
- Public Member Functions inherited from vtkWidgetRepresentation
vtkWidgetRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void PickingManagedOn ()
 
virtual void PickingManagedOff ()
 
virtual void SetPickingManaged (bool)
 
virtual bool GetPickingManaged ()
 
virtual vtkRendererGetRenderer ()
 
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 doubleGetBounds ()
 
virtual void ShallowCopy (vtkProp *prop)
 
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))
 
- Public Member Functions inherited from vtkProp
vtkPropNewInstance () 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 vtkAssemblyPathGetNextPath ()
 
virtual int GetNumberOfPaths ()
 
virtual void PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix))
 
virtual vtkMatrix4x4GetMatrix ()
 
virtual vtkInformationGetPropertyKeys ()
 
virtual void SetPropertyKeys (vtkInformation *keys)
 
virtual bool HasKeys (vtkInformation *requiredKeys)
 
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)
 
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 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 &)
 

Static Public Member Functions

static vtkOrientedGlyphFocalPlaneContourRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkOrientedGlyphFocalPlaneContourRepresentationSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkFocalPlaneContourRepresentation
static int IsTypeOf (const char *type)
 
static vtkFocalPlaneContourRepresentationSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkContourRepresentation
static int IsTypeOf (const char *type)
 
static vtkContourRepresentationSafeDownCast (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

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkOrientedGlyphFocalPlaneContourRepresentation ()
 
 ~vtkOrientedGlyphFocalPlaneContourRepresentation ()
 
void Translate (double eventPos[2])
 
void Scale (double eventPos[2])
 
void ShiftContour (double eventPos[2])
 
void ScaleContour (double eventPos[2])
 
void ComputeCentroid (double *ioCentroid)
 
void CreateDefaultProperties ()
 
void BuildLines ()
 
- Protected Member Functions inherited from vtkFocalPlaneContourRepresentation
 vtkFocalPlaneContourRepresentation ()
 
 ~vtkFocalPlaneContourRepresentation ()
 
- Protected Member Functions inherited from vtkContourRepresentation
 vtkContourRepresentation ()
 
 ~vtkContourRepresentation ()
 
void AddNodeAtPositionInternal (double worldPos[3], double worldOrient[9], int displayPos[2])
 
void AddNodeAtPositionInternal (double worldPos[3], double worldOrient[9], double displayPos[2])
 
void SetNthNodeWorldPositionInternal (int n, double worldPos[3], double worldOrient[9])
 
void GetRendererComputedDisplayPositionFromWorldPosition (double worldPos[3], double worldOrient[9], int displayPos[2])
 
void GetRendererComputedDisplayPositionFromWorldPosition (double worldPos[3], double worldOrient[9], double displayPos[2])
 
void UpdateLine (int idx1, int idx2)
 
virtual int FindClosestPointOnContour (int X, int Y, double worldPos[3], int *idx)
 
void ComputeMidpoint (double p1[3], double p2[3], double mid[3])
 
virtual void Initialize (vtkPolyData *, vtkIdList *)
 
virtual void Initialize (vtkPolyData *)
 
virtual void InitializeContour (vtkPolyData *, vtkIdList *)
 
void ResetLocator ()
 
void BuildLocator ()
 
- 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 ()
 
vtkAssemblyPathGetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker)
 
double SizeHandlesRelativeToViewport (double factor, double pos[3])
 
double SizeHandlesInPixels (double factor, double pos[3])
 
- 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

vtkActor2DActor
 
vtkPolyDataMapper2DMapper
 
vtkGlyph2DGlypher
 
vtkActor2DActiveActor
 
vtkPolyDataMapper2DActiveMapper
 
vtkGlyph2DActiveGlypher
 
vtkPolyDataCursorShape
 
vtkPolyDataActiveCursorShape
 
vtkPolyDataFocalData
 
vtkPointsFocalPoint
 
vtkPolyDataActiveFocalData
 
vtkPointsActiveFocalPoint
 
vtkPolyDataLines
 
vtkPolyDataMapper2DLinesMapper
 
vtkActor2DLinesActor
 
vtkPolyDataLinesWorldCoordinates
 
double LastPickPosition [3]
 
double LastEventPosition [2]
 
vtkProperty2DProperty
 
vtkProperty2DActiveProperty
 
vtkProperty2DLinesProperty
 
vtkMatrix4x4ContourPlaneDirectionCosines
 
double InteractionOffset [2]
 
- Protected Attributes inherited from vtkContourRepresentation
int PixelTolerance
 
double WorldTolerance
 
vtkPointPlacerPointPlacer
 
vtkContourLineInterpolatorLineInterpolator
 
int ActiveNode
 
int CurrentOperation
 
int ClosedLoop
 
int ShowSelectedNodes
 
vtkContourRepresentationInternalsInternal
 
vtkTimeStamp ContourBuildTime
 
vtkIncrementalOctreePointLocatorLocator
 
bool RebuildLocator
 
- 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
 

Detailed Description

Contours constrained to a focal plane.

This class is used to represent a contour drawn on the focal plane (usually overlayed on top of an image or volume widget). The class was written in order to be able to draw contours on a volume widget and have the contours overlayed on the focal plane in order to do contour segmentation.

See also
vtkOrientedGlyphContourRepresentation

Definition at line 44 of file vtkOrientedGlyphFocalPlaneContourRepresentation.h.

Member Typedef Documentation

◆ Superclass

Standard methods for instances of this class.

Definition at line 54 of file vtkOrientedGlyphFocalPlaneContourRepresentation.h.

Constructor & Destructor Documentation

◆ vtkOrientedGlyphFocalPlaneContourRepresentation()

vtkOrientedGlyphFocalPlaneContourRepresentation::vtkOrientedGlyphFocalPlaneContourRepresentation ( )
protected

◆ ~vtkOrientedGlyphFocalPlaneContourRepresentation()

vtkOrientedGlyphFocalPlaneContourRepresentation::~vtkOrientedGlyphFocalPlaneContourRepresentation ( )
protected

Member Function Documentation

◆ New()

static vtkOrientedGlyphFocalPlaneContourRepresentation* vtkOrientedGlyphFocalPlaneContourRepresentation::New ( )
static

Instantiate this class.

◆ IsTypeOf()

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

◆ IsA()

virtual int vtkOrientedGlyphFocalPlaneContourRepresentation::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkFocalPlaneContourRepresentation.

◆ SafeDownCast()

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

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkOrientedGlyphFocalPlaneContourRepresentation::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkOrientedGlyphFocalPlaneContourRepresentation* vtkOrientedGlyphFocalPlaneContourRepresentation::NewInstance ( ) const

◆ PrintSelf()

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

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkFocalPlaneContourRepresentation.

◆ SetCursorShape()

void vtkOrientedGlyphFocalPlaneContourRepresentation::SetCursorShape ( vtkPolyData cursorShape)

Specify the cursor shape. Keep in mind that the shape will be aligned with the constraining plane by orienting it such that the x axis of the geometry lies along the normal of the plane.

◆ GetCursorShape()

vtkPolyData* vtkOrientedGlyphFocalPlaneContourRepresentation::GetCursorShape ( )

◆ SetActiveCursorShape()

void vtkOrientedGlyphFocalPlaneContourRepresentation::SetActiveCursorShape ( vtkPolyData activeShape)

Specify the shape of the cursor (handle) when it is active. This is the geometry that will be used when the mouse is close to the handle or if the user is manipulating the handle.

◆ GetActiveCursorShape()

vtkPolyData* vtkOrientedGlyphFocalPlaneContourRepresentation::GetActiveCursorShape ( )

◆ GetProperty()

virtual vtkProperty2D* vtkOrientedGlyphFocalPlaneContourRepresentation::GetProperty ( )
virtual

This is the property used when the handle is not active (the mouse is not near the handle)

◆ GetActiveProperty()

virtual vtkProperty2D* vtkOrientedGlyphFocalPlaneContourRepresentation::GetActiveProperty ( )
virtual

This is the property used when the user is interacting with the handle.

◆ GetLinesProperty()

virtual vtkProperty2D* vtkOrientedGlyphFocalPlaneContourRepresentation::GetLinesProperty ( )
virtual

This is the property used by the lines.

◆ SetRenderer()

virtual void vtkOrientedGlyphFocalPlaneContourRepresentation::SetRenderer ( vtkRenderer ren)
virtual

Subclasses of vtkOrientedGlyphFocalPlaneContourRepresentation must implement these methods. These are the methods that the widget and its representation use to communicate with each other.

Reimplemented from vtkWidgetRepresentation.

◆ BuildRepresentation()

virtual void vtkOrientedGlyphFocalPlaneContourRepresentation::BuildRepresentation ( )
virtual

These are methods that satisfy vtkWidgetRepresentation's API.

Implements vtkContourRepresentation.

◆ StartWidgetInteraction()

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

◆ WidgetInteraction()

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

◆ ComputeInteractionState()

virtual int vtkOrientedGlyphFocalPlaneContourRepresentation::ComputeInteractionState ( int  X,
int  Y,
int  modified = 0 
)
virtual

◆ GetActors2D()

virtual void vtkOrientedGlyphFocalPlaneContourRepresentation::GetActors2D ( vtkPropCollection )
virtual

Methods to make this class behave as a vtkProp.

Reimplemented from vtkWidgetRepresentation.

◆ ReleaseGraphicsResources()

virtual void vtkOrientedGlyphFocalPlaneContourRepresentation::ReleaseGraphicsResources ( vtkWindow w)
virtual

Methods required by vtkProp superclass.

Implements vtkContourRepresentation.

◆ RenderOverlay()

virtual int vtkOrientedGlyphFocalPlaneContourRepresentation::RenderOverlay ( vtkViewport viewport)
virtual

◆ RenderOpaqueGeometry()

virtual int vtkOrientedGlyphFocalPlaneContourRepresentation::RenderOpaqueGeometry ( vtkViewport )
virtual

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS All concrete subclasses must be able to render themselves. There are four key render methods in vtk and they correspond to four different points in the rendering cycle. Any given prop may implement one or more of these methods. The first method is intended for rendering all opaque geometry. The second method is intended for rendering all translucent polygonal geometry. The third one is intended for rendering all translucent volumetric geometry. Most of the volume rendering mappers draw their results during this third method. The last method is to render any 2D annotation or overlays. Each of these methods return an integer value indicating whether or not this render method was applied to this data.

Implements vtkContourRepresentation.

◆ RenderTranslucentPolygonalGeometry()

virtual int vtkOrientedGlyphFocalPlaneContourRepresentation::RenderTranslucentPolygonalGeometry ( vtkViewport viewport)
virtual

◆ HasTranslucentPolygonalGeometry()

virtual int vtkOrientedGlyphFocalPlaneContourRepresentation::HasTranslucentPolygonalGeometry ( )
virtual

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS Does this prop have some translucent polygonal geometry? This method is called during the rendering process to know if there is some translucent polygonal geometry. A simple prop that has some translucent polygonal geometry will return true. A composite prop (like vtkAssembly) that has at least one sub-prop that has some translucent polygonal geometry will return true. Default implementation return false.

Implements vtkContourRepresentation.

◆ GetContourRepresentationAsPolyData()

virtual vtkPolyData* vtkOrientedGlyphFocalPlaneContourRepresentation::GetContourRepresentationAsPolyData ( )
virtual

Get the points in this contour as a vtkPolyData.

Implements vtkContourRepresentation.

◆ GetContourPlaneDirectionCosines()

vtkMatrix4x4* vtkOrientedGlyphFocalPlaneContourRepresentation::GetContourPlaneDirectionCosines ( const double  origin[3])

Direction cosines of the plane on which the contour lies on in world co-ordinates. This would be the same matrix that would be set in vtkImageReslice or vtkImagePlaneWidget if there were a plane passing through the contour points. The origin must be the origin of the data under the contour.

◆ Translate()

void vtkOrientedGlyphFocalPlaneContourRepresentation::Translate ( double  eventPos[2])
protected

◆ Scale()

void vtkOrientedGlyphFocalPlaneContourRepresentation::Scale ( double  eventPos[2])
protected

◆ ShiftContour()

void vtkOrientedGlyphFocalPlaneContourRepresentation::ShiftContour ( double  eventPos[2])
protected

◆ ScaleContour()

void vtkOrientedGlyphFocalPlaneContourRepresentation::ScaleContour ( double  eventPos[2])
protected

◆ ComputeCentroid()

void vtkOrientedGlyphFocalPlaneContourRepresentation::ComputeCentroid ( double ioCentroid)
protected

◆ CreateDefaultProperties()

void vtkOrientedGlyphFocalPlaneContourRepresentation::CreateDefaultProperties ( )
protected

◆ BuildLines()

void vtkOrientedGlyphFocalPlaneContourRepresentation::BuildLines ( )
protectedvirtual

Member Data Documentation

◆ Actor

vtkActor2D* vtkOrientedGlyphFocalPlaneContourRepresentation::Actor
protected

◆ Mapper

vtkPolyDataMapper2D* vtkOrientedGlyphFocalPlaneContourRepresentation::Mapper
protected

◆ Glypher

vtkGlyph2D* vtkOrientedGlyphFocalPlaneContourRepresentation::Glypher
protected

◆ ActiveActor

vtkActor2D* vtkOrientedGlyphFocalPlaneContourRepresentation::ActiveActor
protected

◆ ActiveMapper

vtkPolyDataMapper2D* vtkOrientedGlyphFocalPlaneContourRepresentation::ActiveMapper
protected

◆ ActiveGlypher

vtkGlyph2D* vtkOrientedGlyphFocalPlaneContourRepresentation::ActiveGlypher
protected

◆ CursorShape

vtkPolyData* vtkOrientedGlyphFocalPlaneContourRepresentation::CursorShape
protected

◆ ActiveCursorShape

vtkPolyData* vtkOrientedGlyphFocalPlaneContourRepresentation::ActiveCursorShape
protected

◆ FocalData

vtkPolyData* vtkOrientedGlyphFocalPlaneContourRepresentation::FocalData
protected

◆ FocalPoint

vtkPoints* vtkOrientedGlyphFocalPlaneContourRepresentation::FocalPoint
protected

◆ ActiveFocalData

vtkPolyData* vtkOrientedGlyphFocalPlaneContourRepresentation::ActiveFocalData
protected

◆ ActiveFocalPoint

vtkPoints* vtkOrientedGlyphFocalPlaneContourRepresentation::ActiveFocalPoint
protected

◆ Lines

vtkPolyData* vtkOrientedGlyphFocalPlaneContourRepresentation::Lines
protected

◆ LinesMapper

vtkPolyDataMapper2D* vtkOrientedGlyphFocalPlaneContourRepresentation::LinesMapper
protected

◆ LinesActor

vtkActor2D* vtkOrientedGlyphFocalPlaneContourRepresentation::LinesActor
protected

◆ LinesWorldCoordinates

vtkPolyData* vtkOrientedGlyphFocalPlaneContourRepresentation::LinesWorldCoordinates
protected

◆ LastPickPosition

double vtkOrientedGlyphFocalPlaneContourRepresentation::LastPickPosition[3]
protected

◆ LastEventPosition

double vtkOrientedGlyphFocalPlaneContourRepresentation::LastEventPosition[2]
protected

◆ Property

vtkProperty2D* vtkOrientedGlyphFocalPlaneContourRepresentation::Property
protected

◆ ActiveProperty

vtkProperty2D* vtkOrientedGlyphFocalPlaneContourRepresentation::ActiveProperty
protected

◆ LinesProperty

vtkProperty2D* vtkOrientedGlyphFocalPlaneContourRepresentation::LinesProperty
protected

◆ ContourPlaneDirectionCosines

vtkMatrix4x4* vtkOrientedGlyphFocalPlaneContourRepresentation::ContourPlaneDirectionCosines
protected

◆ InteractionOffset

double vtkOrientedGlyphFocalPlaneContourRepresentation::InteractionOffset[2]
protected

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