NIREP

NIREPvtkViewImage2D Class Reference

2D synchronized viewer of a 3D image. More...

Inheritance diagram for NIREPvtkViewImage2D:
Collaboration diagram for NIREPvtkViewImage2D:

List of all members.

Public Types

enum  ConventionIds { RADIOLOGIC, NEUROLOGIC }
enum  InteractionStyleIds {
  NO_INTERACTION, SELECT_INTERACTION, WINDOW_LEVEL_INTERACTION, FULL_PAGE_INTERACTION,
  MEASURE_INTERACTION, ZOOM_INTERACTION
}

Public Member Functions

virtual vtkActor * AddDataSet (vtkDataSet *dataset, vtkProperty *property=NULL)
virtual vtkActor * AddPolyData (vtkPolyData *polydata, vtkProperty *property=NULL, double thickness=0.2)
virtual void Clear (void)
double GetBGImageOpacity (void) const
virtual vtkScalarsToColors * GetBGLookupTable (void) const
virtual double GetColorLevel ()
virtual double GetColorWindow ()
virtual int GetInterpolationMode (void)
virtual double GetOpacity (void) const
virtual int GetWholeZMax ()
virtual int GetWholeZMin ()
virtual int GetZSlice ()
void PrintSelf (ostream &os, vtkIndent indent)
virtual void RemoveBGImage (void)
virtual void RemoveMaskImage (void)
virtual void RemoveOverlappingImage (void)
virtual void ResetAndRestablishZoomAndCamera (void)
virtual void ResetZoom (void)
virtual void ScreenCoordinatesToPosition (double sc[2], double pos[3])
virtual void SetBGImage (vtkImageData *image, int slice=0, vtkTransform *transform=NULL)
virtual void SetBGImageOpacity (double opacity)
virtual void SetBGLookupTable (vtkScalarsToColors *lut)
virtual void SetConventions (int)
virtual void SetConventionsToNeurological (void)
virtual void SetConventionsToRadiological (void)
virtual void SetImage (vtkImageData *image)
virtual void SetInteractionStyle (const unsigned int &style)
virtual void SetInterpolationMode (int i)
virtual void SetLevel (double)
virtual void SetLookupTable (vtkScalarsToColors *lut)
virtual void SetMaskImage (vtkImageData *mask, vtkLookupTable *lut)
virtual void SetMatrix (vtkMatrix4x4 *p_matrix, bool centered=false)
virtual void SetOpacity (double opacity)
virtual void SetOrientation (unsigned int orientation)
virtual void SetOverlappingImage (vtkImageData *image)
virtual void SetRulerWidgetVisibility (int)
virtual void SetShow2DAxis (int)
virtual void SetShowSliceNumber (int p_showSliceNumber)
virtual void SetTransform (vtkTransform *p_transform)
virtual void SetVisibility (int state)
virtual void SetWindow (double)
virtual void SetZoom (double factor)
virtual void SetZSlice (int p_slice)
virtual vtkActor * SyncAddPolyData (vtkPolyData *polydata, vtkProperty *property=NULL, double thickness=0.2)
virtual void UpdatePosition ()
 vtkBooleanMacro (ShowSliceNumber, int)
 vtkBooleanMacro (RulerWidgetVisibility, int)
 vtkBooleanMacro (Show2DAxis, int)
 vtkGetMacro (MiddleButtonInteractionStyle, unsigned int)
 vtkGetMacro (Show2DAxis, int)
 vtkGetMacro (WheelInteractionStyle, unsigned int)
 vtkGetMacro (RulerWidgetVisibility, int)
 vtkGetMacro (ShowSliceNumber, int)
 vtkGetMacro (Conventions, unsigned int)
 vtkGetMacro (RightButtonInteractionStyle, unsigned int)
 vtkGetMacro (Orientation, unsigned int)
 vtkGetMacro (InteractionStyle, unsigned int)
 vtkGetMacro (LeftButtonInteractionStyle, unsigned int)
 vtkGetObjectMacro (ImageReslice, vtkImageReslice)
 vtkGetObjectMacro (ImageActor, vtkImageActor)
 vtkGetObjectMacro (BGActor, vtkImageActor)
 vtkGetObjectMacro (BGImage, vtkImageData)
 vtkGetObjectMacro (WindowLevel, vtkImageMapToColors)
 vtkGetObjectMacro (RulerWidget, vtkRulerWidget)
 vtkSetMacro (LeftButtonInteractionStyle, unsigned int)
 vtkSetMacro (MiddleButtonInteractionStyle, unsigned int)
 vtkSetMacro (RightButtonInteractionStyle, unsigned int)
 vtkSetMacro (WheelInteractionStyle, unsigned int)
 vtkTypeRevisionMacro (NIREPvtkViewImage2D, NIREPvtkViewImage)

Static Public Member Functions

static int GetViewImage2DDisplayConventions ()
static NIREPvtkViewImage2DNew ()
static void SetViewImage2DDisplayConventions (int val)
static void SetViewImage2DDisplayConventionsToNeurologic ()
static void SetViewImage2DDisplayConventionsToRadiologic ()

Protected Member Functions

virtual void Initialize ()
virtual void InitializeImagePositionAndSize (void)
virtual void InternalUpdate (void)
 NIREPvtkViewImage2D ()
virtual void SetupAnnotations (void)
virtual void Uninitialize ()
void UpdateImageActor ()
 vtkGetObjectMacro (OrientationMatrix, vtkMatrix4x4)
 vtkGetObjectMacro (ScreenToRealWorldMatrix, vtkMatrix4x4)
 ~NIREPvtkViewImage2D ()

Protected Attributes

vtkImageData * AuxInput
 internal use: image to input to the mask filter or image blender
vtkImageActor * BGActor
vtkImageData * BGImage
 background image
vtkScalarsToColors * BGLookupTable
vtkImageMapToColors * BGWindowLevel
vtkImageBlend * Blender
double BoxThickness
unsigned int Conventions
vtkBox * DataSetCutBox
vtkPlane * DataSetCutPlane
int FirstRender
vtkActor * HorizontalLineActor
vtkLineSource * HorizontalLineSource
vtkImageActor * ImageActor
 actors and mappers:
vtkImageReslice * ImageReslice
double InitialParallelScale
unsigned int InteractionStyle
unsigned int LeftButtonInteractionStyle
vtkImageBlendWithMask * MaskFilter
unsigned int MiddleButtonInteractionStyle
unsigned int Orientation
 Orientation: 0 is XY, 1 is ZY, 2 is XZ.
vtkMatrix4x4 * OrientationMatrix
vtkImageData * ResliceInput
 internal use: image to input to the reslicer
unsigned int RightButtonInteractionStyle
vtkRulerWidget * RulerWidget
int RulerWidgetVisibility
vtkMatrix4x4 * ScreenToRealWorldMatrix
int Show2DAxis
int ShowSliceNumber
vtkActor * VerticalLineActor
vtkLineSource * VerticalLineSource
unsigned int WheelInteractionStyle
vtkImageMapToColors * WindowLevel
vtkImageMapToWindowLevelColors * WindowLevelForCorner
 to map the image to the current window level

Detailed Description

2D synchronized viewer of a 3D image.

Author:
Pierre Fillard & Marc Traina & Nicolas Toussaint.

This class allows to view 2D orthogonal slices (namely axial, sagittal and coronal) of a 3D image. This class implements lots of features like: various possible interactions (positioning, zooming, windowing), coloring of the slice w.r.t. a lookup table, overlapping of a second image, overlapping of a mask image (image of labels). Display conventions can be chosen between radiologic (the left of the patient appears on the right of the screen) and neurologic (left is left and right is right).

It uses a synchronization mechanisms between other views. Views are linked together using a cycle graph structure (implemented in the base class


Member Enumeration Documentation

Enumerator:
RADIOLOGIC 
NEUROLOGIC 
Enumerator:
NO_INTERACTION 
SELECT_INTERACTION 
WINDOW_LEVEL_INTERACTION 
FULL_PAGE_INTERACTION 
MEASURE_INTERACTION 
ZOOM_INTERACTION 

Constructor & Destructor Documentation

NIREPvtkViewImage2D::NIREPvtkViewImage2D ( ) [protected]
NIREPvtkViewImage2D::~NIREPvtkViewImage2D ( ) [protected]

Member Function Documentation

vtkActor * NIREPvtkViewImage2D::AddDataSet ( vtkDataSet *  dataset,
vtkProperty *  property = NULL 
) [virtual]

Add a dataset to the view. The dataset will be display as an intersection of it with the displayed image slice, i.e., tetrahedron will be displayed as triangles, triangles as lines, lines as points. A vtkProperty can be specified to specify the freshly generated actor properties.

if (dataset->GetActualMemorySize() > 20000) { vtkWarningMacro(<< "DataSet is to big for this projection type !\n"); doit = false; }

Reimplemented from NIREPvtkViewImage.

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

vtkActor * NIREPvtkViewImage2D::AddPolyData ( vtkPolyData *  polydata,
vtkProperty *  property = NULL,
double  thickness = 0.2 
) [virtual]

This method is similar to AddDataSet(), except it only works with vtkPolyData. It cuts the polydata using 2 planes defined by the current image slice being visualized and a user-provided thickness (generally the spacing between 2 consecutive slices). For instance, it works nicely with lines: AddDataSet() turns lines into points while AddPolyData() displays lines as short segments.

void NIREPvtkViewImage2D::Clear ( void  ) [virtual]

A complete reset: a classical reset and also cancel all the transformations.

double NIREPvtkViewImage2D::GetBGImageOpacity ( void  ) const
vtkScalarsToColors * NIREPvtkViewImage2D::GetBGLookupTable ( void  ) const [virtual]
double NIREPvtkViewImage2D::GetColorLevel ( ) [virtual]

Set/Get window/level for mapping pixels to colors.

double NIREPvtkViewImage2D::GetColorWindow ( ) [virtual]

Set/Get window/level for mapping pixels to colors.

int NIREPvtkViewImage2D::GetInterpolationMode ( void  ) [virtual]

Set/Get the interpolation method (1: linear, 0: nearest neighbor).

double NIREPvtkViewImage2D::GetOpacity ( void  ) const [virtual]
int NIREPvtkViewImage2D::GetViewImage2DDisplayConventions ( ) [static]
int NIREPvtkViewImage2D::GetWholeZMax ( ) [virtual]

Get the id of the last slice available relative to the current orientation.

int NIREPvtkViewImage2D::GetWholeZMin ( ) [virtual]

Get the id of the first slice available relative to the current orientation. Returns 0 no matter what.

int NIREPvtkViewImage2D::GetZSlice ( ) [virtual]

Get the current slice. Z is relative to the view orientation.

void NIREPvtkViewImage2D::Initialize ( void  ) [protected, virtual]

This function is called right after setting both Renderer and RenderWindow. It allows a class to add actors for instance without knowing when the Renderer and RenderWindow are set. For example, vtkSynchronizedView will add the corner annotations during the call to the Initialize function.

Reimplemented from NIREPvtkViewImage.

void NIREPvtkViewImage2D::InitializeImagePositionAndSize ( void  ) [protected, virtual]

Initialize rendering parameters only once. m_FirstRender controls if the initialization has been done or not.

Somehow, when the axes are present, they screw up the ResetZoom function because they are taken into account when computing the bounds of all actors. We need to switch them off and on after the call to ResetZoom().

void NIREPvtkViewImage2D::InternalUpdate ( void  ) [protected, virtual]

Update the internal pipeline (slice extraction, coloring, etc.) and reset the position (place the cursor on the center pixel), zooming (zoom factor of 1.0), and windowing. It also re-computes the clipping range and other camera related parameters. It is mainly for internal used should in general not be used. See Reset() if you only want to reset position, zoom and window/level.

static NIREPvtkViewImage2D* NIREPvtkViewImage2D::New ( ) [static]

Reimplemented from NIREPvtkViewImage.

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

void NIREPvtkViewImage2D::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from NIREPvtkViewImage.

void NIREPvtkViewImage2D::RemoveBGImage ( void  ) [virtual]

Remove the background image (if any).

void NIREPvtkViewImage2D::RemoveMaskImage ( void  ) [virtual]

Remove the mask image (if any).

Reimplemented from NIREPvtkViewImage.

void NIREPvtkViewImage2D::RemoveOverlappingImage ( void  ) [virtual]

Remove the overlapping image (if any).

Reimplemented from NIREPvtkViewImage.

void NIREPvtkViewImage2D::ResetAndRestablishZoomAndCamera ( void  ) [virtual]

Call ResetZoom() and restablish the zoom factor and the camera position to the current state. The call to ResetZoom() is sometimes usefull to force VTK to update the bounding box of all objects in the scene so that everything becomes visible.

void NIREPvtkViewImage2D::ResetZoom ( void  ) [virtual]

Reset the zoom factor of the view to its initial value and center the camera.

Reimplemented from NIREPvtkViewImage.

void NIREPvtkViewImage2D::ScreenCoordinatesToPosition ( double  sc[2],
double  pos[3] 
) [virtual]

Transform screen coordinates (as returned by any vtk picker listening to the mouse press event) into real world coordinates. Makes use of the OrientationMatrix and the ScreenToRealWorldMatrix.

void NIREPvtkViewImage2D::SetBGImage ( vtkImageData *  image,
int  slice = 0,
vtkTransform *  transform = NULL 
) [virtual]

Add an imagebackground image. You can apply to the image actor a transformation transform, and choose a slice if it is a volume.

void NIREPvtkViewImage2D::SetBGImageOpacity ( double  opacity) [virtual]

Set the opacity of the background Actor

void NIREPvtkViewImage2D::SetBGLookupTable ( vtkScalarsToColors *  lut) [virtual]

Set/Get a user-defined lookup table to color the background image with.

In the case of a shift/scale, one must set the lut range to values without this shift/scale, because the object can be shared by different views.

Due to the same problem as above (shift/scale), one must copy the lut so that it does not change values of the shared object.

void NIREPvtkViewImage2D::SetConventions ( int  val) [virtual]

Switch between radiological (left is right and right is left) and neurological (left is left and right is right) conventions.

void NIREPvtkViewImage2D::SetConventionsToNeurological ( void  ) [virtual]

Switch between radiological (left is right and right is left) and neurological (left is left and right is right) conventions.

void NIREPvtkViewImage2D::SetConventionsToRadiological ( void  ) [virtual]

Switch between radiological (left is right and right is left) and neurological (left is left and right is right) conventions.

void NIREPvtkViewImage2D::SetImage ( vtkImageData *  image) [virtual]

Set the image to display.

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

virtual void NIREPvtkViewImage2D::SetInteractionStyle ( const unsigned int &  style) [inline, virtual]

Set/Get the type of user interaction to all mouse buttons at once.

void NIREPvtkViewImage2D::SetInterpolationMode ( int  i) [virtual]

Set/Get the interpolation method (1: linear, 0: nearest neighbor).

void NIREPvtkViewImage2D::SetLevel ( double  l) [virtual]

Set/Get window/level for mapping pixels to colors.

Reimplemented from NIREPvtkViewImage.

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

void NIREPvtkViewImage2D::SetLookupTable ( vtkScalarsToColors *  lut) [virtual]

Set/Get a user-defined lookup table to color the image with.

In the case of a shift/scale, one must set the lut range to values without this shift/scale, because the object can be shared by different views.

Due to the same problem as above (shift/scale), one must copy the lut so that it does not change values of the shared object.

Reimplemented from NIREPvtkViewImage.

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

void NIREPvtkViewImage2D::SetMaskImage ( vtkImageData *  mask,
vtkLookupTable *  lut 
) [virtual]

Set an overlapping mask image with its corresponding LookupTable. A label image MUST be of type unsigned char. Labels are mapped through colors using the vtkLookupTable. For instance, label 1 (i.e. pixels whose value is 1) will be mapped throught index 1 (table value 1) of the vtkLookupTable.

Reimplemented from NIREPvtkViewImage.

void NIREPvtkViewImage2D::SetMatrix ( vtkMatrix4x4 *  p_matrix,
bool  centered = false 
) [virtual]

Apply a user matrix to the image actor. The boolean centered tells to apply the matrix w.r.t. the image center (useful for rotations).

void NIREPvtkViewImage2D::SetOpacity ( double  opacity) [virtual]

Set/Get the opacity of the principale ImageActor

void NIREPvtkViewImage2D::SetOrientation ( unsigned int  orientation) [virtual]

Set/Get the orientation of the image.

Parameters:
orientation0 is XY (axial), 1 is YZ (sagittal), 2 is XZ (coronal).

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

void NIREPvtkViewImage2D::SetOverlappingImage ( vtkImageData *  image) [virtual]

Set an overlapping second image, which will appear by transparency on top of the initial image.

Reimplemented from NIREPvtkViewImage.

void NIREPvtkViewImage2D::SetRulerWidgetVisibility ( int  val) [virtual]

Set/Get the ruler widget visibility.

void NIREPvtkViewImage2D::SetShow2DAxis ( int  show) [virtual]

Show/hide the 2D axes.

void NIREPvtkViewImage2D::SetShowSliceNumber ( int  p_showSliceNumber) [virtual]

Show/hide the indication label about the displayed slice.

void NIREPvtkViewImage2D::SetTransform ( vtkTransform *  p_transform) [virtual]

Set a transform to the internal image reslicer.

void NIREPvtkViewImage2D::SetupAnnotations ( void  ) [protected, virtual]
void NIREPvtkViewImage2D::SetViewImage2DDisplayConventions ( int  val) [static]

Global functions to Set/Get the display conventions. Useful to change the display conventions of all view by calling only once vtkViewImage2D::SetViewImage2DDisplayConventions(0/1).

static void NIREPvtkViewImage2D::SetViewImage2DDisplayConventionsToNeurologic ( ) [inline, static]
static void NIREPvtkViewImage2D::SetViewImage2DDisplayConventionsToRadiologic ( ) [inline, static]
void NIREPvtkViewImage2D::SetVisibility ( int  state) [virtual]

Show/hide the image.

void NIREPvtkViewImage2D::SetWindow ( double  w) [virtual]

Set/Get window/level for mapping pixels to colors.

Reimplemented from NIREPvtkViewImage.

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

void NIREPvtkViewImage2D::SetZoom ( double  factor) [virtual]

Set the actual zoom factor of the view.

Reimplemented from NIREPvtkViewImage.

void NIREPvtkViewImage2D::SetZSlice ( int  p_slice) [virtual]

Set the current slice. Z is relative to the view orientation.

Reimplemented from NIREPvtkViewImage.

vtkActor * NIREPvtkViewImage2D::SyncAddPolyData ( vtkPolyData *  polydata,
vtkProperty *  property = NULL,
double  thickness = 0.2 
) [virtual]

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

void NIREPvtkViewImage2D::Uninitialize ( void  ) [protected, virtual]

Remove any actor set by the class into the Renderer. Remove any added dataset.

Reimplemented from NIREPvtkViewImage.

void NIREPvtkViewImage2D::UpdateImageActor ( ) [protected]

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

void NIREPvtkViewImage2D::UpdatePosition ( void  ) [virtual]

Update the position of the image. Convenient method to make sure that the displayed point it up to date.

Reimplemented from NIREPvtkViewImage.

Reimplemented in Checkerboard, Grid, VectorField, and Wipe.

NIREPvtkViewImage2D::vtkBooleanMacro ( ShowSliceNumber  ,
int   
)
NIREPvtkViewImage2D::vtkBooleanMacro ( RulerWidgetVisibility  ,
int   
)
NIREPvtkViewImage2D::vtkBooleanMacro ( Show2DAxis  ,
int   
)
NIREPvtkViewImage2D::vtkGetMacro ( WheelInteractionStyle  ,
unsigned  int 
)
NIREPvtkViewImage2D::vtkGetMacro ( MiddleButtonInteractionStyle  ,
unsigned  int 
)
NIREPvtkViewImage2D::vtkGetMacro ( Conventions  ,
unsigned  int 
)
NIREPvtkViewImage2D::vtkGetMacro ( Orientation  ,
unsigned  int 
)
NIREPvtkViewImage2D::vtkGetMacro ( LeftButtonInteractionStyle  ,
unsigned  int 
)
NIREPvtkViewImage2D::vtkGetMacro ( Show2DAxis  ,
int   
)
NIREPvtkViewImage2D::vtkGetMacro ( ShowSliceNumber  ,
int   
)
NIREPvtkViewImage2D::vtkGetMacro ( RulerWidgetVisibility  ,
int   
)
NIREPvtkViewImage2D::vtkGetMacro ( RightButtonInteractionStyle  ,
unsigned  int 
)
NIREPvtkViewImage2D::vtkGetMacro ( InteractionStyle  ,
unsigned  int 
)
NIREPvtkViewImage2D::vtkGetObjectMacro ( ImageActor  ,
vtkImageActor   
)

Return the vtkImageActor of the view.

NIREPvtkViewImage2D::vtkGetObjectMacro ( OrientationMatrix  ,
vtkMatrix4x4   
) [protected]

Get the OrientationMatrix. For internal use only.

NIREPvtkViewImage2D::vtkGetObjectMacro ( ImageReslice  ,
vtkImageReslice   
)

Return a pointer to the instance of vtkImageReslice of the View.

NIREPvtkViewImage2D::vtkGetObjectMacro ( RulerWidget  ,
vtkRulerWidget   
)

Get the ruler widget instance.

NIREPvtkViewImage2D::vtkGetObjectMacro ( ScreenToRealWorldMatrix  ,
vtkMatrix4x4   
) [protected]

Get the ScreenToRealWorldMatrix. For internal use only. It does not correspond to the projection matrix of the view.

NIREPvtkViewImage2D::vtkGetObjectMacro ( WindowLevel  ,
vtkImageMapToColors   
)

Return a pointer to the instance of vtkImageMapToColors of the View.

NIREPvtkViewImage2D::vtkGetObjectMacro ( BGActor  ,
vtkImageActor   
)

Return the vtkImageActor of the background image.

NIREPvtkViewImage2D::vtkGetObjectMacro ( BGImage  ,
vtkImageData   
)
NIREPvtkViewImage2D::vtkSetMacro ( WheelInteractionStyle  ,
unsigned  int 
)

Set/Get the type of user interaction type for the wheel of the mouse.

NIREPvtkViewImage2D::vtkSetMacro ( MiddleButtonInteractionStyle  ,
unsigned  int 
)

Set/Get the type of user interaction type for the middle button of the mouse.

NIREPvtkViewImage2D::vtkSetMacro ( RightButtonInteractionStyle  ,
unsigned  int 
)

Set/Get the type of user interaction type for the right button of the mouse.

NIREPvtkViewImage2D::vtkSetMacro ( LeftButtonInteractionStyle  ,
unsigned  int 
)

Set/Get the type of user interaction type for the left button of the mouse.

NIREPvtkViewImage2D::vtkTypeRevisionMacro ( NIREPvtkViewImage2D  ,
NIREPvtkViewImage   
)

Member Data Documentation

vtkImageData* NIREPvtkViewImage2D::AuxInput [protected]

internal use: image to input to the mask filter or image blender

vtkImageActor* NIREPvtkViewImage2D::BGActor [protected]
vtkImageData* NIREPvtkViewImage2D::BGImage [protected]

background image

vtkScalarsToColors* NIREPvtkViewImage2D::BGLookupTable [protected]
vtkImageMapToColors* NIREPvtkViewImage2D::BGWindowLevel [protected]
vtkImageBlend* NIREPvtkViewImage2D::Blender [protected]
unsigned int NIREPvtkViewImage2D::Conventions [protected]
vtkPlane* NIREPvtkViewImage2D::DataSetCutPlane [protected]
vtkLineSource* NIREPvtkViewImage2D::HorizontalLineSource [protected]
vtkImageActor* NIREPvtkViewImage2D::ImageActor [protected]

actors and mappers:

vtkImageReslice* NIREPvtkViewImage2D::ImageReslice [protected]

vtkImageReslice is the swiss-army-knife of image geometry filters: It can permute, rotate, flip, scale, resample, deform, and pad image data in any combination with reasonably high efficiency.

unsigned int NIREPvtkViewImage2D::InteractionStyle [protected]
vtkImageBlendWithMask* NIREPvtkViewImage2D::MaskFilter [protected]
unsigned int NIREPvtkViewImage2D::Orientation [protected]

Orientation: 0 is XY, 1 is ZY, 2 is XZ.

vtkMatrix4x4* NIREPvtkViewImage2D::OrientationMatrix [protected]
vtkImageData* NIREPvtkViewImage2D::ResliceInput [protected]

internal use: image to input to the reslicer

vtkRulerWidget* NIREPvtkViewImage2D::RulerWidget [protected]
vtkLineSource* NIREPvtkViewImage2D::VerticalLineSource [protected]
vtkImageMapToColors* NIREPvtkViewImage2D::WindowLevel [protected]
vtkImageMapToWindowLevelColors* NIREPvtkViewImage2D::WindowLevelForCorner [protected]

to map the image to the current window level

 All Classes Functions Variables Typedefs Enumerations Enumerator