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

#include <svkPlotGridViewController.h>

Inheritance diagram for svkPlotGridViewController:
svkDataViewController

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 svkImageDataGetData (int index=0)
 
virtual void SetView (svkDataView *view)
 Set input data and initialize default range values. More...
 
virtual svkDataViewGetView ()
 
virtual int GetSlice ()
 
virtual vtkRenderWindowInteractor * GetRWInteractor ()
 

Static Public Member Functions

static svkPlotGridViewControllerNew ()
 

Static Protected Member Functions

static void UpdateSelection (vtkObject *subject, unsigned long eid, void *thisObject, void *calldata)
 

Protected Attributes

svkSpecGridSelectordragSelect
 
vtkCallbackCommand * dragSelectionCB
 
- Protected Attributes inherited from svkDataViewController
vector< svkImageData * > dataVector
 
svkDataViewview
 
vtkRenderWindowInteractor * rwi
 

Detailed Description

This is the controller class that represents the plots of the 4D data.

Constructor & Destructor Documentation

Member Function Documentation

int GetComponent ( )

Get the current component, REAL, IMAGE, etc...

References svkDataViewController::view.

string GetDataCompatibility ( svkImageData data,
int  targetIndex 
)
int * GetTlcBrc ( )
virtual

Returns the current top left/ bottom right corners of the plotGrid.

References svkDataViewController::view.

Referenced by svkPlotGridViewController::SetTlcBrc().

int GetVolumeIndex ( int  volumeIndex = 0)
virtual
int * GetVolumeIndexArray ( )
virtual
void GetWindowLevelRange ( double &  lower,
double &  upper,
int  index 
)
virtual

GetWindowLevel for spectral view; index 0 is frequency, index 1 is intensity

References svkDataViewController::view.

void HighlightSelectionVoxels ( )
static svkPlotGridViewController* New ( )
static
void Reset ( )
void SetColorSchema ( int  colorSchema)
void SetComponent ( svkPlotLine::PlotComponent  component)

SetWindowLevel for spectral view; index 0 is frequency, index 1 is intensity

References svkDataViewController::view.

void SetInput ( svkImageData data,
int  index = 0 
)
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)
void SetOverlayOpacity ( double  opacity)
void SetOverlayThreshold ( double  threshold)
void SetRWInteractor ( vtkRenderWindowInteractor *  rwi)
virtual
void SetSlice ( int  slice)
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.

void SetTlcBrc ( int *  tlcBrc)
virtual

Sets the current top left/bottm right corners of the plotGrid.

References svkPlotGridViewController::GetTlcBrc(), and svkDataViewController::view.

void SetVolumeIndex ( int  index,
int  volumeIndex = 0 
)
virtual
void SetWindowLevelRange ( double  lower,
double  upper,
int  index 
)
virtual

SetWindowLevel for spectral view; index 0 is frequency, index 1 is intensity

Reimplemented from svkDataViewController.

References svkDataView::SetWindowLevelRange(), and svkDataViewController::view.

void TurnPropOff ( int  propIndex)
virtual
void TurnPropOn ( int  propIndex)
virtual
void UpdateSelection ( vtkObject *  subject,
unsigned long  eid,
void *  thisObject,
void *  callData 
)
staticprotected

Member Data Documentation

svkSpecGridSelector* dragSelect
protected
vtkCallbackCommand* dragSelectionCB
protected

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