SIVIC API
0.9.26
|
#include <svkImageView2D.h>
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) |
![]() | |
vtkTypeMacro (svkDataView, vtkObject) | |
svkDataView () | |
Constructor. More... | |
~svkDataView () | |
Destructor. More... | |
virtual svkImageData * | GetInput (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 svkDataViewController * | GetController () |
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 svkImageView2D * | New () |
![]() | |
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... | |
![]() | |
virtual void | UpdateProps () |
void | ObserveData (svkImageData *data) |
Protected Attributes | |
vtkImageViewer2 * | imageViewer |
![]() | |
vector< vtkRenderer * > | renCollection |
vector< vtkProp * > | propCollection |
vtkRenderWindowInteractor * | rwi |
vector< svkImageData * > | dataVector |
svkDataViewController * | controller |
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 void | UpdateView (vtkObject *subject, unsigned long eid, void *thisObject, void *callData) |
|
protected |
Constructor.
References svkDataView::dataVector, and svkImageView2D::imageViewer.
|
protected |
Destructor.
References svkImageView2D::imageViewer.
|
static |
|
virtual |
Set input data and initialize default range values.
Implements svkDataView.
References svkDataView::dataVector, and svkImageView2D::imageViewer.
|
virtual |
Reimplemented from svkDataView.
References svkImageView2D::imageViewer, and svkDataView::rwi.
|
virtual |
References svkImageView2D::imageViewer.
|
virtual |
Implements svkDataView.
References svkImageView2D::imageViewer.
vtkTypeMacro | ( | svkImageView2D | , |
svkDataView | |||
) |
|
protected |