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

#include <svkImageView2D.h>

Inheritance diagram for svkImageView2D:
svkDataView

Public Member Functions

 vtkTypeMacro (svkImageView2D, svkDataView)
 
virtual void SetInput (svkImageData *data, int index=0)
 Set input data and initialize default range values. More...
 
virtual void SetSlice (int slice)
 
virtual void SetSize (int width, int height)
 
virtual void SetRWInteractor (vtkRenderWindowInteractor *rwi)
 
- Public Member Functions inherited from svkDataView
 vtkTypeMacro (svkDataView, vtkObject)
 
 svkDataView ()
 Constructor. More...
 
 ~svkDataView ()
 Destructor. More...
 
virtual svkImageDataGetInput (int index=0)
 
virtual void RemoveInput (int index=0)
 Sets input data set to NULL for index and call Delete. More...
 
virtual void SetController (svkDataViewController *controller)
 
virtual svkDataViewControllerGetController ()
 
virtual int GetSlice ()
 
virtual void SetWindowLevelRange (double lower, double upper, int index)
 
virtual void Refresh ()
 
virtual void SetPropState (int propIndex, bool visible)
 
virtual void TurnPropOn (int propIndex)
 
virtual void TurnPropOff (int propIndex)
 
virtual bool IsPropOn (int propIndex)
 
virtual void SetRendererState (int rendererIndex, bool visible)
 
virtual void TurnRendererOn (int rendererIndex)
 
virtual void TurnRendererOff (int rendererIndex)
 
virtual bool IsRendererOn (int rendererIndex)
 
virtual void SetVisibility (int actorIndex, bool visible)
 Is it in the views current displayed FOV? More...
 
virtual vtkRenderer * GetRenderer (int index)
 
virtual void SetRenderer (int index, vtkRenderer *ren)
 
virtual vtkProp * GetProp (int index)
 
virtual void SetProp (int index, vtkProp *prop)
 
virtual void SetOrientation (svkDcmHeader::Orientation orientation)
 
virtual svkDcmHeader::Orientation GetOrientation ()
 
void ValidationOff ()
 

Static Public Member Functions

static svkImageView2DNew ()
 
- Static Public Member Functions inherited from svkDataView
static void ClipMapperToTlcBrc (svkImageData *data, vtkAbstractMapper *mapper, int tlcBrc[2], double clip_tolerance_row, double clip_tolerance_column, double clip_tolerance_slice)
 
static void GetClippingIndexFromTlcBrc (svkImageData *data, int indexRange[2][3], int tlcBrc[2])
 
static void GetClippingPlanes (vtkPlaneCollection *planes, svkImageData *data, int *tlcBrc, double clip_tolerance_row, double clip_tolerance_column, double clip_tolerance_slice)
 
static bool IsTlcBrcWithinData (svkImageData *data, int tlcBrc[2])
 
static bool IsTlcBrcWithinData (svkImageData *data, int tlcID, int brcID)
 
static void ResetTlcBrcForNewOrientation (svkImageData *data, svkDcmHeader::Orientation orientation, int tlcBrc[2], int &slice)
 

Protected Member Functions

 svkImageView2D ()
 Constructor. More...
 
 ~svkImageView2D ()
 Destructor. More...
 
- Protected Member Functions inherited from svkDataView
virtual void UpdateProps ()
 
void ObserveData (svkImageData *data)
 

Protected Attributes

vtkImageViewer2 * imageViewer
 
- Protected Attributes inherited from svkDataView
vector< vtkRenderer * > renCollection
 
vector< vtkProp * > propCollection
 
vtkRenderWindowInteractor * rwi
 
vector< svkImageData * > dataVector
 
svkDataViewControllercontroller
 
vtkCallbackCommand * dataModifiedCallback
 
svkDcmHeader::Orientation orientation
 
int tlcBrc [2]
 the top left, bottom right corners of the current view More...
 
int slice
 
vector< bool > isPropOn
 
vector< bool > isRendererOn
 
vector< bool > isPropVisible
 
bool isValidationOn
 

Additional Inherited Members

- Static Protected Member Functions inherited from svkDataView
static void UpdateView (vtkObject *subject, unsigned long eid, void *thisObject, void *callData)
 

Constructor & Destructor Documentation

svkImageView2D ( )
protected
~svkImageView2D ( )
protected

Destructor.

References svkImageView2D::imageViewer.

Member Function Documentation

static svkImageView2D* New ( )
static
void SetInput ( svkImageData data,
int  index = 0 
)
virtual

Set input data and initialize default range values.

Implements svkDataView.

References svkDataView::dataVector, and svkImageView2D::imageViewer.

void SetRWInteractor ( vtkRenderWindowInteractor *  rwi)
virtual

Reimplemented from svkDataView.

References svkImageView2D::imageViewer, and svkDataView::rwi.

void SetSize ( int  width,
int  height 
)
virtual
void SetSlice ( int  slice)
virtual

Implements svkDataView.

References svkImageView2D::imageViewer.

vtkTypeMacro ( svkImageView2D  ,
svkDataView   
)

Member Data Documentation

vtkImageViewer2* imageViewer
protected

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