SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
svkImageViewer2 Class Reference

#include <svkImageViewer2.h>

Inheritance diagram for svkImageViewer2:

Public Member Functions

 vtkTypeMacro (svkImageViewer2, vtkImageViewer2)
 
void SetInputData (svkImageData *in)
 
virtual void SetSlice (int slice)
 
virtual void SetSlice (int slice, svkDcmHeader::Orientation sliceOrientation)
 
virtual void SetActiveVolume (int volume)
 
void Render ()
 
void ResetCamera ()
 
void TurnOrthogonalImagesOn ()
 
void TurnOrthogonalImagesOff ()
 
int GetSlice ()
 
int GetSlice (svkDcmHeader::Orientation orientation)
 
virtual void SetColorLevel (double s)
 
virtual void SetColorWindow (double s)
 
virtual void SetOrientation (svkDcmHeader::Orientation orientation)
 
virtual svkDcmHeader::Orientation GetOrientation ()
 
virtual svkOrientedImageActorGetImageActor (svkDcmHeader::Orientation actorOrientation=svkDcmHeader::UNKNOWN_ORIENTATION)
 
virtual svkImageDataGetInput ()
 
virtual bool AreOrthogonalImagesOn ()
 
void SetInteractorStyle (vtkInteractorStyleImage *style)
 
void SetCameraZoom (double zoom)
 
void UpdateInputInformation ()
 

Static Public Member Functions

static svkImageViewer2New ()
 

Public Attributes

int axialSlice
 
int coronalSlice
 
int sagittalSlice
 

Protected Member Functions

 svkImageViewer2 ()
 Constructor. More...
 
 ~svkImageViewer2 ()
 Destructor. More...
 
void InitializeOrthogonalActors ()
 
void InstallPipeline ()
 

Protected Attributes

svkImageDatadata
 
int orthSlice1
 
int orthSlice2
 
svkDcmHeader::Orientation orientation
 
svkOrientedImageActoraxialImageActor
 
svkOrientedImageActorcoronalImageActor
 
svkOrientedImageActorsagittalImageActor
 
svkImageMapToWindowLevelColorsaxialWinLevel
 
svkImageMapToWindowLevelColorscoronalWinLevel
 
svkImageMapToWindowLevelColorssagittalWinLevel
 

Constructor & Destructor Documentation

svkImageViewer2 ( )
protected
~svkImageViewer2 ( )
protected

Member Function Documentation

bool AreOrthogonalImagesOn ( )
virtual
svkImageData * GetInput ( )
virtual
svkDcmHeader::Orientation GetOrientation ( )
virtual
int GetSlice ( )
int GetSlice ( svkDcmHeader::Orientation  orientation)
void InitializeOrthogonalActors ( )
protected
void InstallPipeline ( )
protected
static svkImageViewer2* New ( )
static
void Render ( )

Renders the actor. The only reason for the overload is to update the image actor. This appears to be necessary for the image to update as you window level, and is likely caused because we had to override the GetOutput method of the WindowLevel class.

References svkImageViewer2::axialImageActor, svkImageViewer2::coronalImageActor, svkImageViewer2::GetInput(), and svkImageViewer2::sagittalImageActor.

Referenced by svkImageViewer2::ResetCamera(), svkSpectraReferenceView::ResetWindowLevel(), svkOverlayView::ResetWindowLevel(), svkImageViewer2::SetActiveVolume(), svkOverlayView::SetLevel(), and svkOverlayView::SetWindow().

void ResetCamera ( )
void SetActiveVolume ( int  volume)
virtual
void SetCameraZoom ( double  zoom)

Set the camera zoom factor

Referenced by svkOverlayView::SetCameraZoom().

void SetColorLevel ( double  s)
virtual
void SetColorWindow ( double  s)
virtual
void SetInputData ( svkImageData in)
void SetInteractorStyle ( vtkInteractorStyleImage *  style)
void SetOrientation ( svkDcmHeader::Orientation  orientation)
virtual
void SetSlice ( int  slice)
virtual
void SetSlice ( int  slice,
svkDcmHeader::Orientation  sliceOrientation 
)
virtual
void TurnOrthogonalImagesOff ( )
void TurnOrthogonalImagesOn ( )
void UpdateInputInformation ( )
vtkTypeMacro ( svkImageViewer2  ,
vtkImageViewer2   
)

Member Data Documentation

svkOrientedImageActor* axialImageActor
protected
int axialSlice
svkImageMapToWindowLevelColors* axialWinLevel
protected
svkOrientedImageActor* coronalImageActor
protected
int coronalSlice
svkImageMapToWindowLevelColors* coronalWinLevel
protected
svkImageData* data
protected
svkDcmHeader::Orientation orientation
protected
int orthSlice1
protected
int orthSlice2
protected
svkOrientedImageActor* sagittalImageActor
protected
int sagittalSlice
svkImageMapToWindowLevelColors* sagittalWinLevel
protected

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