VTK
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkResliceCursorRepresentation Class Referenceabstract

represent the vtkResliceCursorWidget More...

#include <vtkResliceCursorRepresentation.h>

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

Public Types

enum  {
  Outside =0, NearCenter, NearAxis1, NearAxis2,
  OnCenter, OnAxis1, OnAxis2
}
 
enum  {
  None =0, PanAndRotate, RotateBothAxes, ResizeThickness,
  WindowLevelling
}
 
- 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 char * GetThicknessLabelText ()
 
virtual void BuildRepresentation ()
 
virtual vtkResliceCursorGetResliceCursor ()=0
 
virtual vtkResliceCursorPolyDataAlgorithmGetCursorAlgorithm ()=0
 
virtual void SetTolerance (int)
 
virtual int GetTolerance ()
 
virtual void SetShowReslicedImage (int)
 
virtual int GetShowReslicedImage ()
 
virtual void ShowReslicedImageOn ()
 
virtual void ShowReslicedImageOff ()
 
virtual void SetRestrictPlaneToVolume (int)
 
virtual int GetRestrictPlaneToVolume ()
 
virtual void RestrictPlaneToVolumeOn ()
 
virtual void RestrictPlaneToVolumeOff ()
 
virtual void SetThicknessLabelFormat (const char *)
 
virtual char * GetThicknessLabelFormat ()
 
virtual doubleGetThicknessLabelPosition ()
 
virtual void GetThicknessLabelPosition (double pos[3])
 
virtual void GetWorldThicknessLabelPosition (double pos[3])
 
virtual vtkMatrix4x4GetResliceAxes ()
 
virtual vtkImageAlgorithmGetReslice ()
 
virtual vtkImageActorGetImageActor ()
 
virtual void SetLookupTable (vtkScalarsToColors *)
 
virtual vtkScalarsToColorsGetLookupTable ()
 
virtual vtkImageMapToColorsGetColorMap ()
 
virtual void SetColorMap (vtkImageMapToColors *)
 
void SetWindowLevel (double window, double level, int copy=0)
 
void GetWindowLevel (double wl[2])
 
double GetWindow ()
 
double GetLevel ()
 
virtual void SetDisplayText (int)
 
virtual int GetDisplayText ()
 
virtual void DisplayTextOn ()
 
virtual void DisplayTextOff ()
 
void SetTextProperty (vtkTextProperty *tprop)
 
vtkTextPropertyGetTextProperty ()
 
virtual void SetUseImageActor (int)
 
virtual int GetUseImageActor ()
 
virtual void UseImageActorOn ()
 
virtual void UseImageActorOff ()
 
void SetManipulationMode (int m)
 
virtual int GetManipulationMode ()
 
void ActivateText (int)
 
void ManageTextDisplay ()
 
virtual void InitializeReslicePlane ()
 
virtual void ResetCamera ()
 
virtual vtkPlaneSourceGetPlaneSource ()
 
- 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 void StartWidgetInteraction (double eventPos[2])
 
virtual void WidgetInteraction (double newEventPos[2])
 
virtual void EndWidgetInteraction (double newEventPos[2])
 
virtual int ComputeInteractionState (int X, int Y, int modify=0)
 
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 GetActors2D (vtkPropCollection *)
 
virtual void GetVolumes (vtkPropCollection *)
 
virtual void ReleaseGraphicsResources (vtkWindow *)
 
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 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 ()
 

Protected Member Functions

 vtkResliceCursorRepresentation ()
 
 ~vtkResliceCursorRepresentation ()
 
virtual void WindowLevel (double x, double y)
 
virtual void UpdateReslicePlane ()
 
virtual void ComputeReslicePlaneOrigin ()
 
void InvertTable ()
 
virtual void ComputeOrigin (vtkMatrix4x4 *)
 
vtkScalarsToColorsCreateDefaultLookupTable ()
 
void GenerateText ()
 
virtual void CreateDefaultResliceAlgorithm ()
 
virtual void SetResliceParameters (double outputSpacingX, double outputSpacingY, int extentX, int extentY)
 
void GetVector1 (double d[3])
 
void GetVector2 (double d[3])
 
- 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 ManipulationMode
 
int Modifier
 
int Tolerance
 
char * ThicknessLabelFormat
 
vtkImageAlgorithmReslice
 
vtkPlaneSourcePlaneSource
 
int RestrictPlaneToVolume
 
int ShowReslicedImage
 
vtkTextPropertyThicknessTextProperty
 
vtkTextMapperThicknessTextMapper
 
vtkActor2DThicknessTextActor
 
vtkMatrix4x4ResliceAxes
 
vtkMatrix4x4NewResliceAxes
 
vtkImageMapToColorsColorMap
 
vtkActorTexturePlaneActor
 
vtkTextureTexture
 
vtkScalarsToColorsLookupTable
 
vtkImageActorImageActor
 
vtkTextActorTextActor
 
double OriginalWindow
 
double OriginalLevel
 
double CurrentWindow
 
double CurrentLevel
 
double InitialWindow
 
double InitialLevel
 
double LastEventPosition [2]
 
int UseImageActor
 
char TextBuff [128]
 
int DisplayText
 
- 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 vtkResliceCursorRepresentationSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkResliceCursorRepresentationNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBaseNewInstanceInternal () const
 

Additional Inherited Members

- 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 ()
 

Detailed Description

represent the vtkResliceCursorWidget

This class is the base class for the reslice cursor representation subclasses. It represents a cursor that may be interactively translated, rotated through an image and perform thick / thick reformats.

See also
vtkResliceCursorLineRepresentation vtkResliceCursorThickLineRepresentation vtkResliceCursorWidget vtkResliceCursor

Definition at line 50 of file vtkResliceCursorRepresentation.h.

Member Typedef Documentation

Standard VTK methods.

Definition at line 55 of file vtkResliceCursorRepresentation.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Outside 
NearCenter 
NearAxis1 
NearAxis2 
OnCenter 
OnAxis1 
OnAxis2 

Definition at line 91 of file vtkResliceCursorRepresentation.h.

anonymous enum
Enumerator
None 
PanAndRotate 
RotateBothAxes 
ResizeThickness 
WindowLevelling 

Definition at line 93 of file vtkResliceCursorRepresentation.h.

Constructor & Destructor Documentation

vtkResliceCursorRepresentation::vtkResliceCursorRepresentation ( )
protected
vtkResliceCursorRepresentation::~vtkResliceCursorRepresentation ( )
protected

Member Function Documentation

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

Standard VTK methods.

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

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

Reimplemented in vtkResliceCursorLineRepresentation, and vtkResliceCursorThickLineRepresentation.

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

Standard VTK methods.

virtual vtkObjectBase* vtkResliceCursorRepresentation::NewInstanceInternal ( ) const
protectedvirtual

Standard VTK methods.

Reimplemented from vtkWidgetRepresentation.

Reimplemented in vtkResliceCursorLineRepresentation, and vtkResliceCursorThickLineRepresentation.

vtkResliceCursorRepresentation* vtkResliceCursorRepresentation::NewInstance ( ) const

Standard VTK methods.

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

Standard VTK methods.

Reimplemented from vtkObject.

Reimplemented in vtkResliceCursorThickLineRepresentation.

virtual void vtkResliceCursorRepresentation::SetTolerance ( int  )
virtual

The tolerance representing the distance to the representation (in pixels) in which the cursor is considered near enough to the representation to be active.

virtual int vtkResliceCursorRepresentation::GetTolerance ( )
virtual

The tolerance representing the distance to the representation (in pixels) in which the cursor is considered near enough to the representation to be active.

virtual void vtkResliceCursorRepresentation::SetShowReslicedImage ( int  )
virtual

Show the resliced image ?

virtual int vtkResliceCursorRepresentation::GetShowReslicedImage ( )
virtual

Show the resliced image ?

virtual void vtkResliceCursorRepresentation::ShowReslicedImageOn ( )
virtual

Show the resliced image ?

virtual void vtkResliceCursorRepresentation::ShowReslicedImageOff ( )
virtual

Show the resliced image ?

virtual void vtkResliceCursorRepresentation::SetRestrictPlaneToVolume ( int  )
virtual

Make sure that the resliced image remains within the volume. Default is On.

virtual int vtkResliceCursorRepresentation::GetRestrictPlaneToVolume ( )
virtual

Make sure that the resliced image remains within the volume. Default is On.

virtual void vtkResliceCursorRepresentation::RestrictPlaneToVolumeOn ( )
virtual

Make sure that the resliced image remains within the volume. Default is On.

virtual void vtkResliceCursorRepresentation::RestrictPlaneToVolumeOff ( )
virtual

Make sure that the resliced image remains within the volume. Default is On.

virtual void vtkResliceCursorRepresentation::SetThicknessLabelFormat ( const char *  )
virtual

Specify the format to use for labelling the distance. Note that an empty string results in no label, or a format string without a "%" character will not print the thickness value.

virtual char* vtkResliceCursorRepresentation::GetThicknessLabelFormat ( )
virtual

Specify the format to use for labelling the distance. Note that an empty string results in no label, or a format string without a "%" character will not print the thickness value.

virtual char* vtkResliceCursorRepresentation::GetThicknessLabelText ( )
virtual

Get the text shown in the widget's label.

virtual double* vtkResliceCursorRepresentation::GetThicknessLabelPosition ( )
virtual

Get the position of the widget's label in display coordinates.

virtual void vtkResliceCursorRepresentation::GetThicknessLabelPosition ( double  pos[3])
virtual

Get the position of the widget's label in display coordinates.

virtual void vtkResliceCursorRepresentation::GetWorldThicknessLabelPosition ( double  pos[3])
virtual

Get the position of the widget's label in display coordinates.

virtual void vtkResliceCursorRepresentation::BuildRepresentation ( )
virtual

These are methods that satisfy vtkWidgetRepresentation's API.

Implements vtkWidgetRepresentation.

Reimplemented in vtkResliceCursorLineRepresentation.

virtual vtkMatrix4x4* vtkResliceCursorRepresentation::GetResliceAxes ( )
virtual

Get the current reslice class and reslice axes

virtual vtkImageAlgorithm* vtkResliceCursorRepresentation::GetReslice ( )
virtual

Get the current reslice class and reslice axes

virtual vtkImageActor* vtkResliceCursorRepresentation::GetImageActor ( )
virtual

Get the displayed image actor

virtual void vtkResliceCursorRepresentation::SetLookupTable ( vtkScalarsToColors )
virtual

Set/Get the internal lookuptable (lut) to one defined by the user, or, alternatively, to the lut of another Reslice cusror widget. In this way, a set of three orthogonal planes can share the same lut so that window-levelling is performed uniformly among planes. The default internal lut can be re- set/allocated by setting to 0 (NULL).

virtual vtkScalarsToColors* vtkResliceCursorRepresentation::GetLookupTable ( )
virtual

Set/Get the internal lookuptable (lut) to one defined by the user, or, alternatively, to the lut of another Reslice cusror widget. In this way, a set of three orthogonal planes can share the same lut so that window-levelling is performed uniformly among planes. The default internal lut can be re- set/allocated by setting to 0 (NULL).

virtual vtkImageMapToColors* vtkResliceCursorRepresentation::GetColorMap ( )
virtual

Convenience method to get the vtkImageMapToColors filter used by this widget. The user can properly render other transparent actors in a scene by calling the filter's SetOutputFormatToRGB and PassAlphaToOutputOff.

virtual void vtkResliceCursorRepresentation::SetColorMap ( vtkImageMapToColors )
virtual

Convenience method to get the vtkImageMapToColors filter used by this widget. The user can properly render other transparent actors in a scene by calling the filter's SetOutputFormatToRGB and PassAlphaToOutputOff.

void vtkResliceCursorRepresentation::SetWindowLevel ( double  window,
double  level,
int  copy = 0 
)

Set/Get the current window and level values. SetWindowLevel should only be called after SetInput. If a shared lookup table is being used, a callback is required to update the window level values without having to update the lookup table again.

void vtkResliceCursorRepresentation::GetWindowLevel ( double  wl[2])

Set/Get the current window and level values. SetWindowLevel should only be called after SetInput. If a shared lookup table is being used, a callback is required to update the window level values without having to update the lookup table again.

double vtkResliceCursorRepresentation::GetWindow ( )
inline

Set/Get the current window and level values. SetWindowLevel should only be called after SetInput. If a shared lookup table is being used, a callback is required to update the window level values without having to update the lookup table again.

Definition at line 146 of file vtkResliceCursorRepresentation.h.

double vtkResliceCursorRepresentation::GetLevel ( )
inline

Set/Get the current window and level values. SetWindowLevel should only be called after SetInput. If a shared lookup table is being used, a callback is required to update the window level values without having to update the lookup table again.

Definition at line 147 of file vtkResliceCursorRepresentation.h.

virtual vtkResliceCursor* vtkResliceCursorRepresentation::GetResliceCursor ( )
pure virtual
virtual void vtkResliceCursorRepresentation::SetDisplayText ( int  )
virtual

Enable/disable text display of window-level, image coordinates and scalar values in a render window.

virtual int vtkResliceCursorRepresentation::GetDisplayText ( )
virtual

Enable/disable text display of window-level, image coordinates and scalar values in a render window.

virtual void vtkResliceCursorRepresentation::DisplayTextOn ( )
virtual

Enable/disable text display of window-level, image coordinates and scalar values in a render window.

virtual void vtkResliceCursorRepresentation::DisplayTextOff ( )
virtual

Enable/disable text display of window-level, image coordinates and scalar values in a render window.

void vtkResliceCursorRepresentation::SetTextProperty ( vtkTextProperty tprop)

Set/Get the text property for the image data and window-level annotation.

vtkTextProperty* vtkResliceCursorRepresentation::GetTextProperty ( )

Set/Get the text property for the image data and window-level annotation.

virtual void vtkResliceCursorRepresentation::SetUseImageActor ( int  )
virtual

Render as a 2D image, or render as a plane with a texture in physical space.

virtual int vtkResliceCursorRepresentation::GetUseImageActor ( )
virtual

Render as a 2D image, or render as a plane with a texture in physical space.

virtual void vtkResliceCursorRepresentation::UseImageActorOn ( )
virtual

Render as a 2D image, or render as a plane with a texture in physical space.

virtual void vtkResliceCursorRepresentation::UseImageActorOff ( )
virtual

Render as a 2D image, or render as a plane with a texture in physical space.

void vtkResliceCursorRepresentation::SetManipulationMode ( int  m)

INTERNAL - Do not use Set the manipulation mode. This is done by the widget

virtual int vtkResliceCursorRepresentation::GetManipulationMode ( )
virtual

INTERNAL - Do not use Set the manipulation mode. This is done by the widget

void vtkResliceCursorRepresentation::ActivateText ( int  )

INTERNAL - Do not use. Internal methods used by the widget to manage text displays for annotations.

void vtkResliceCursorRepresentation::ManageTextDisplay ( )

INTERNAL - Do not use. Internal methods used by the widget to manage text displays for annotations.

virtual void vtkResliceCursorRepresentation::InitializeReslicePlane ( )
virtual

Initialize the reslice planes and the camera center. This is done automatically, the first time we render.

virtual void vtkResliceCursorRepresentation::ResetCamera ( )
virtual

Initialize the reslice planes and the camera center. This is done automatically, the first time we render.

virtual vtkResliceCursorPolyDataAlgorithm* vtkResliceCursorRepresentation::GetCursorAlgorithm ( )
pure virtual

Get the underlying cursor source.

Implemented in vtkResliceCursorLineRepresentation.

virtual vtkPlaneSource* vtkResliceCursorRepresentation::GetPlaneSource ( )
virtual

Get the plane source on which the texture (the thin/thick resliced image is displayed)

virtual void vtkResliceCursorRepresentation::CreateDefaultResliceAlgorithm ( )
protectedvirtual

Create New Reslice plane. Allows subclasses to override and crate their own reslice filters to respond to the widget.

Reimplemented in vtkResliceCursorThickLineRepresentation.

virtual void vtkResliceCursorRepresentation::SetResliceParameters ( double  outputSpacingX,
double  outputSpacingY,
int  extentX,
int  extentY 
)
protectedvirtual

Create New Reslice plane. Allows subclasses to override and crate their own reslice filters to respond to the widget.

Reimplemented in vtkResliceCursorThickLineRepresentation.

virtual void vtkResliceCursorRepresentation::WindowLevel ( double  x,
double  y 
)
protectedvirtual

Process window level

virtual void vtkResliceCursorRepresentation::UpdateReslicePlane ( )
protectedvirtual

Update the reslice plane

virtual void vtkResliceCursorRepresentation::ComputeReslicePlaneOrigin ( )
protectedvirtual

Compute the origin of the planes so as to capture the entire image.

void vtkResliceCursorRepresentation::InvertTable ( )
protected
virtual void vtkResliceCursorRepresentation::ComputeOrigin ( vtkMatrix4x4 )
protectedvirtual
void vtkResliceCursorRepresentation::GetVector1 ( double  d[3])
protected
void vtkResliceCursorRepresentation::GetVector2 ( double  d[3])
protected
vtkScalarsToColors* vtkResliceCursorRepresentation::CreateDefaultLookupTable ( )
protected
void vtkResliceCursorRepresentation::GenerateText ( )
protected

Member Data Documentation

int vtkResliceCursorRepresentation::ManipulationMode
protected

The widget sets the manipulation mode. This can be one of : None, PanAndRotate, RotateBothAxes, ResizeThickness

Definition at line 241 of file vtkResliceCursorRepresentation.h.

int vtkResliceCursorRepresentation::Modifier
protected

Definition at line 244 of file vtkResliceCursorRepresentation.h.

int vtkResliceCursorRepresentation::Tolerance
protected

Definition at line 247 of file vtkResliceCursorRepresentation.h.

char* vtkResliceCursorRepresentation::ThicknessLabelFormat
protected

Definition at line 250 of file vtkResliceCursorRepresentation.h.

vtkImageAlgorithm* vtkResliceCursorRepresentation::Reslice
protected

Definition at line 252 of file vtkResliceCursorRepresentation.h.

vtkPlaneSource* vtkResliceCursorRepresentation::PlaneSource
protected

Definition at line 253 of file vtkResliceCursorRepresentation.h.

int vtkResliceCursorRepresentation::RestrictPlaneToVolume
protected

Definition at line 254 of file vtkResliceCursorRepresentation.h.

int vtkResliceCursorRepresentation::ShowReslicedImage
protected

Definition at line 255 of file vtkResliceCursorRepresentation.h.

vtkTextProperty* vtkResliceCursorRepresentation::ThicknessTextProperty
protected

Definition at line 256 of file vtkResliceCursorRepresentation.h.

vtkTextMapper* vtkResliceCursorRepresentation::ThicknessTextMapper
protected

Definition at line 257 of file vtkResliceCursorRepresentation.h.

vtkActor2D* vtkResliceCursorRepresentation::ThicknessTextActor
protected

Definition at line 258 of file vtkResliceCursorRepresentation.h.

vtkMatrix4x4* vtkResliceCursorRepresentation::ResliceAxes
protected

Definition at line 259 of file vtkResliceCursorRepresentation.h.

vtkMatrix4x4* vtkResliceCursorRepresentation::NewResliceAxes
protected

Definition at line 260 of file vtkResliceCursorRepresentation.h.

vtkImageMapToColors* vtkResliceCursorRepresentation::ColorMap
protected

Definition at line 261 of file vtkResliceCursorRepresentation.h.

vtkActor* vtkResliceCursorRepresentation::TexturePlaneActor
protected

Definition at line 262 of file vtkResliceCursorRepresentation.h.

vtkTexture* vtkResliceCursorRepresentation::Texture
protected

Definition at line 263 of file vtkResliceCursorRepresentation.h.

vtkScalarsToColors* vtkResliceCursorRepresentation::LookupTable
protected

Definition at line 264 of file vtkResliceCursorRepresentation.h.

vtkImageActor* vtkResliceCursorRepresentation::ImageActor
protected

Definition at line 265 of file vtkResliceCursorRepresentation.h.

vtkTextActor* vtkResliceCursorRepresentation::TextActor
protected

Definition at line 266 of file vtkResliceCursorRepresentation.h.

double vtkResliceCursorRepresentation::OriginalWindow
protected

Definition at line 267 of file vtkResliceCursorRepresentation.h.

double vtkResliceCursorRepresentation::OriginalLevel
protected

Definition at line 268 of file vtkResliceCursorRepresentation.h.

double vtkResliceCursorRepresentation::CurrentWindow
protected

Definition at line 269 of file vtkResliceCursorRepresentation.h.

double vtkResliceCursorRepresentation::CurrentLevel
protected

Definition at line 270 of file vtkResliceCursorRepresentation.h.

double vtkResliceCursorRepresentation::InitialWindow
protected

Definition at line 271 of file vtkResliceCursorRepresentation.h.

double vtkResliceCursorRepresentation::InitialLevel
protected

Definition at line 272 of file vtkResliceCursorRepresentation.h.

double vtkResliceCursorRepresentation::LastEventPosition[2]
protected

Definition at line 273 of file vtkResliceCursorRepresentation.h.

int vtkResliceCursorRepresentation::UseImageActor
protected

Definition at line 274 of file vtkResliceCursorRepresentation.h.

char vtkResliceCursorRepresentation::TextBuff[128]
protected

Definition at line 275 of file vtkResliceCursorRepresentation.h.

int vtkResliceCursorRepresentation::DisplayText
protected

Definition at line 276 of file vtkResliceCursorRepresentation.h.


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