SIVIC API
0.9.26
|
#include <svkPlotGridViewController.h>
Public Member Functions | |
vtkTypeMacro (svkPlotGridViewController, svkDataViewController) | |
svkPlotGridViewController () | |
Constructor. More... | |
~svkPlotGridViewController () | |
Destructor. More... | |
virtual void | SetInput (svkImageData *data, int index=0) |
Set input data and initialize default range values. More... | |
virtual void | SetSlice (int slice) |
virtual int * | GetTlcBrc () |
Returns the current top left/ bottom right corners of the plotGrid. More... | |
virtual void | SetTlcBrc (int *tlcBrc) |
Sets the current top left/bottm right corners of the plotGrid. More... | |
virtual void | SetWindowLevelRange (double lower, double upper, int index) |
virtual void | GetWindowLevelRange (double &lower, double &upper, int index) |
void | SetComponent (svkPlotLine::PlotComponent component) |
int | GetComponent () |
virtual void | SetRWInteractor (vtkRenderWindowInteractor *rwi) |
Set the RenderWindowInteractor and setup the drag selector. More... | |
virtual void | TurnPropOn (int propIndex) |
virtual void | TurnPropOff (int propIndex) |
void | HighlightSelectionVoxels () |
void | Reset () |
void | SetColorSchema (int colorSchema) |
string | GetDataCompatibility (svkImageData *data, int targetIndex) |
virtual void | SetVolumeIndex (int index, int volumeIndex=0) |
virtual int | GetVolumeIndex (int volumeIndex=0) |
virtual int * | GetVolumeIndexArray () |
void | SetOverlayOpacity (double opacity) |
void | SetOverlayThreshold (double threshold) |
void | SetLUT (svkLookupTable::svkLookupTableType type) |
Public Member Functions inherited from svkDataViewController | |
vtkTypeMacro (svkDataViewController, vtkObject) | |
svkDataViewController () | |
Constructor. More... | |
~svkDataViewController () | |
Destructor. More... | |
virtual svkImageData * | GetData (int index=0) |
virtual void | SetView (svkDataView *view) |
Set input data and initialize default range values. More... | |
virtual svkDataView * | GetView () |
virtual int | GetSlice () |
virtual vtkRenderWindowInteractor * | GetRWInteractor () |
Static Public Member Functions | |
static svkPlotGridViewController * | New () |
Static Protected Member Functions | |
static void | UpdateSelection (vtkObject *subject, unsigned long eid, void *thisObject, void *calldata) |
Protected Attributes | |
svkSpecGridSelector * | dragSelect |
vtkCallbackCommand * | dragSelectionCB |
Protected Attributes inherited from svkDataViewController | |
vector< svkImageData * > | dataVector |
svkDataView * | view |
vtkRenderWindowInteractor * | rwi |
This is the controller class that represents the plots of the 4D data.
Constructor.
References svkDataViewController::dataVector, svkPlotGridViewController::dragSelect, svkPlotGridViewController::dragSelectionCB, svkSpecGridSelector::New(), svkPlotGridView::New(), svkPlotGridView::PRIMARY, svkDataViewController::rwi, svkDataView::SetController(), svkDataView::SetRenderer(), svkPlotGridViewController::UpdateSelection(), and svkDataViewController::view.
Destructor.
References svkPlotGridViewController::dragSelect, svkPlotGridViewController::dragSelectionCB, svkDataViewController::rwi, and svkDataViewController::view.
int GetComponent | ( | ) |
Get the current component, REAL, IMAGE, etc...
References svkDataViewController::view.
string GetDataCompatibility | ( | svkImageData * | data, |
int | targetIndex | ||
) |
References svkDataViewController::view.
|
virtual |
Returns the current top left/ bottom right corners of the plotGrid.
References svkDataViewController::view.
Referenced by svkPlotGridViewController::SetTlcBrc().
|
virtual |
References svkDataViewController::view.
|
virtual |
References svkDataViewController::view.
|
virtual |
GetWindowLevel for spectral view; index 0 is frequency, index 1 is intensity
References svkDataViewController::view.
void HighlightSelectionVoxels | ( | ) |
References svkDataViewController::view.
|
static |
void Reset | ( | ) |
References svkDataViewController::dataVector, svkPlotGridViewController::dragSelect, svkPlotGridViewController::dragSelectionCB, svkPlotGridView::MET, svkPlotGridView::MR4D, svkSpecGridSelector::New(), svkPlotGridView::New(), svkPlotGridView::PRIMARY, svkDataView::Refresh(), svkDataViewController::rwi, svkDataView::SetController(), svkDataView::SetRenderer(), svkPlotGridViewController::SetRWInteractor(), svkPlotGridViewController::UpdateSelection(), and svkDataViewController::view.
void SetColorSchema | ( | int | colorSchema | ) |
References svkDataViewController::view.
void SetComponent | ( | svkPlotLine::PlotComponent | component | ) |
SetWindowLevel for spectral view; index 0 is frequency, index 1 is intensity
References svkDataViewController::view.
|
virtual |
Set input data and initialize default range values.
Implements svkDataViewController.
References svkDataViewController::dataVector, svkPlotGridView::MET, svkDataView::SetInput(), and svkDataViewController::view.
void SetLUT | ( | svkLookupTable::svkLookupTableType | type | ) |
References svkDataViewController::view.
void SetOverlayOpacity | ( | double | opacity | ) |
References svkDataViewController::view.
void SetOverlayThreshold | ( | double | threshold | ) |
References svkDataViewController::view.
|
virtual |
Set the RenderWindowInteractor and setup the drag selector.
Reimplemented from svkDataViewController.
References svkPlotGridViewController::dragSelect, svkPlotGridViewController::dragSelectionCB, svkDataViewController::rwi, and svkDataViewController::SetRWInteractor().
Referenced by svkPlotGridViewController::Reset().
|
virtual |
cast base class var type to specific sub-class in the implementation. Or... declare view member variable to be of type svkPlotGridView*, overriding the base class type.
Reimplemented from svkDataViewController.
References svkDataView::SetSlice(), and svkDataViewController::view.
|
virtual |
Sets the current top left/bottm right corners of the plotGrid.
References svkPlotGridViewController::GetTlcBrc(), and svkDataViewController::view.
|
virtual |
References svkDataViewController::view.
|
virtual |
SetWindowLevel for spectral view; index 0 is frequency, index 1 is intensity
Reimplemented from svkDataViewController.
References svkDataView::SetWindowLevelRange(), and svkDataViewController::view.
|
virtual |
References svkDataView::Refresh(), svkDataView::TurnPropOff(), and svkDataViewController::view.
|
virtual |
References svkDataView::Refresh(), svkDataView::TurnPropOn(), and svkDataViewController::view.
|
staticprotected |
Callback for setting the selected voxels.
References DEBUG, svkPlotGridViewController::dragSelect, svkSpecGridSelector::GetEndX(), svkSpecGridSelector::GetEndY(), svkSpecGridSelector::GetStartX(), svkSpecGridSelector::GetStartY(), svkDataViewController::GetView(), and svkDataViewController::rwi.
Referenced by svkPlotGridViewController::Reset(), and svkPlotGridViewController::svkPlotGridViewController().
vtkTypeMacro | ( | svkPlotGridViewController | , |
svkDataViewController | |||
) |
|
protected |
|
protected |