SIVIC API
0.9.26
|
#include <svkSpectraReferenceView.h>
Public Types | |
enum | WindowLevelRanges { FREQUENCY = 0, AMPLITUDE } |
Enum represents different color schemes. Used for printing. More... | |
enum | DataInputs { MRI = 0, MRS = 1, OVERLAY = 2 } |
Enum represents input indecies. More... | |
enum | PropType { VOL_SELECTION = 0, SAT_BANDS_AXIAL, SAT_BANDS_AXIAL_OUTLINE, SAT_BANDS_CORONAL, SAT_BANDS_SAGITTAL, SAT_BANDS_CORONAL_OUTLINE, SAT_BANDS_SAGITTAL_OUTLINE, PLOT_GRID, PLOT_LINES, AXIAL_OVERLAY_FRONT, AXIAL_OVERLAY_BACK, CORONAL_OVERLAY_FRONT, CORONAL_OVERLAY_BACK, SAGITTAL_OVERLAY_FRONT, SAGITTAL_OVERLAY_BACK, COORDINATES, COLOR_BAR, LAST_PROP = COLOR_BAR } |
Enum represents objects in the scene. More... | |
enum | InterpolationType { NEAREST = 0, LINEAR, SINC } |
Enum represents interpolation methods for the overlay. More... | |
enum | RendererType { PRIMARY = 0, MOUSE_LOCATION, LAST_RENDERER = MOUSE_LOCATION } |
Enum represents renderers in the window. More... | |
enum | { LIGHT_ON_DARK = 0, DARK_ON_LIGHT } |
Enum represents color schema, used for printing. More... | |
Public Member Functions | |
vtkTypeMacro (svkSpectraReferenceView, svkDataView) | |
svkSpectraReferenceView () | |
~svkSpectraReferenceView () | |
virtual void | SetInput (svkImageData *data, int index=0) |
virtual void | SetSlice (int slice) |
virtual void | SetSlice (int slice, bool centerImage) |
virtual void | SetSlice (int slice, svkDcmHeader::Orientation orientation) |
virtual void | SetRWInteractor (vtkRenderWindowInteractor *) |
virtual void | SetWindowLevelRange (double lower, double upper, int index) |
virtual void | GetWindowLevelRange (double &lower, double &upper, int index) |
void | SetComponent (svkPlotLine::PlotComponent component) |
string | GetDataCompatibility (svkImageData *data, int targetIndex) |
void | TurnOrthogonalImagesOn () |
void | TurnOrthogonalImagesOff () |
void | SetOrientation (svkDcmHeader::Orientation orientation) |
void | ToggleSelBoxVisibilityOn () |
void | ToggleSelBoxVisibilityOff () |
void | AlignCamera () |
bool | IsImageInsideSpectra () |
svkLookupTable * | GetLookupTable () |
Public Member Functions inherited from svkDataView | |
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 | 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 svkDcmHeader::Orientation | GetOrientation () |
void | ValidationOff () |
Static Public Member Functions | |
static svkSpectraReferenceView * | New () |
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) |
Public Attributes | |
enum svk::svkSpectraReferenceView:: { ... } | ColorSchema |
Enum represents color schema, used for printing. More... | |
Protected Attributes | |
svkPlotLineGrid * | plotGrid |
Represents the plotted lines of the grid. More... | |
svkImageViewer2 * | imageViewer |
the vtkImageViewer2 object used to display the image More... | |
vtkRenderWindow * | myRenderWindow |
the render window in which the view is to be displayed More... | |
bool | toggleSelBoxVisibility |
bool | imageInsideSpectra |
svkImageMapToColors * | windowLevelerAxial |
Object used to window livel the overlay. More... | |
svkImageMapToColors * | windowLevelerCoronal |
svkImageMapToColors * | windowLevelerSagittal |
svkLookupTable * | colorTransfer |
Protected Attributes inherited from svkDataView | |
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 |
Friends | |
class | svkSpectraReferenceViewController |
Additional Inherited Members | |
Static Protected Member Functions inherited from svkDataView | |
static void | UpdateView (vtkObject *subject, unsigned long eid, void *thisObject, void *callData) |
An implementation of DataView, this class is designed to create a visualization of the spectroscopy spatial information overlayed on the anatomical image. It uses a vtkImageViewer2 to present the anatamical data then the spectroscopy data is added.
TODO: Find a better (more condensed) way to deal with satband and overlay actors
anonymous enum |
enum DataInputs |
enum InterpolationType |
enum PropType |
Enum represents objects in the scene.
enum RendererType |
enum WindowLevelRanges |
Constructor creates the vtkImageView2, and sets its size.
References svkDcmHeader::AXIAL, svkSpectraReferenceView::AXIAL_OVERLAY_BACK, svkSpectraReferenceView::AXIAL_OVERLAY_FRONT, svkSpectraReferenceView::COLOR_BAR, svkSpectraReferenceView::colorTransfer, svkDcmHeader::CORONAL, svkSpectraReferenceView::CORONAL_OVERLAY_BACK, svkSpectraReferenceView::CORONAL_OVERLAY_FRONT, svkDataView::dataVector, svkPlotLineGrid::GetPlotGridActor(), svkSatBandSet::GetSatBandsActor(), svkSatBandSet::GetSatBandsOutlineActor(), svkSpectraReferenceView::imageInsideSpectra, svkSpectraReferenceView::imageViewer, svkDataView::isPropOn, svkDataView::isPropVisible, svkDataView::isRendererOn, svkSpectraReferenceView::LAST_PROP, svkSpectraReferenceView::LAST_RENDERER, svkSpectraReferenceView::myRenderWindow, svkSpectraReferenceView::NEAREST, svkOpenGLOrientedImageActor::New(), svkImageViewer2::New(), svkSatBandSet::New(), svkPlotLineGrid::New(), svkSpectraReferenceView::PLOT_GRID, svkSpectraReferenceView::PLOT_LINES, svkSpectraReferenceView::plotGrid, svkDataView::propCollection, svkDataView::renCollection, svkDataView::rwi, svkDcmHeader::SAGITTAL, svkSpectraReferenceView::SAGITTAL_OVERLAY_BACK, svkSpectraReferenceView::SAGITTAL_OVERLAY_FRONT, svkSpectraReferenceView::SAT_BANDS_AXIAL, svkSpectraReferenceView::SAT_BANDS_AXIAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_CORONAL, svkSpectraReferenceView::SAT_BANDS_CORONAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_SAGITTAL, svkSpectraReferenceView::SAT_BANDS_SAGITTAL_OUTLINE, svkSatBandSet::SetOrientation(), svkDataView::SetProp(), svkDataView::slice, svkDataView::tlcBrc, svkSpectraReferenceView::toggleSelBoxVisibility, svkDataView::TurnPropOff(), svkSpectraReferenceView::VOL_SELECTION, svkSpectraReferenceView::windowLevelerAxial, svkSpectraReferenceView::windowLevelerCoronal, and svkSpectraReferenceView::windowLevelerSagittal.
Destructor deletes the vtkImageViewer2.
References svkSpectraReferenceView::colorTransfer, svkSpectraReferenceView::imageViewer, svkSpectraReferenceView::plotGrid, svkDataView::rwi, svkSpectraReferenceView::windowLevelerAxial, svkSpectraReferenceView::windowLevelerCoronal, and svkSpectraReferenceView::windowLevelerSagittal.
void AlignCamera | ( | ) |
References svkDataView::GetProp(), svkDataView::GetRenderer(), svkSpectraReferenceView::imageViewer, svkSpectraReferenceView::PRIMARY, svkImageViewer2::ResetCamera(), svkSpectraReferenceView::SAT_BANDS_AXIAL, svkSpectraReferenceView::SAT_BANDS_AXIAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_CORONAL, svkSpectraReferenceView::SAT_BANDS_CORONAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_SAGITTAL, and svkSpectraReferenceView::SAT_BANDS_SAGITTAL_OUTLINE.
Referenced by svkSpectraReferenceView::SetupMrInput().
|
protected |
References svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::IsPropOn(), svkDcmHeader::SAGITTAL, svkSpectraReferenceView::SAT_BANDS_AXIAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_CORONAL_OUTLINE, and svkSpectraReferenceView::SAT_BANDS_SAGITTAL_OUTLINE.
Referenced by svkSpectraReferenceView::SetOrientation().
|
protected |
Are all the sat bands on? If any bands other than the slice is on, we'll say yes
References svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::IsPropOn(), svkDcmHeader::SAGITTAL, svkSpectraReferenceView::SAT_BANDS_AXIAL, svkSpectraReferenceView::SAT_BANDS_CORONAL, and svkSpectraReferenceView::SAT_BANDS_SAGITTAL.
Referenced by svkSpectraReferenceView::SetOrientation().
|
protected |
References svkDataView::dataVector, svkSpectraReferenceView::MRI, and svkSpectraReferenceView::MRS.
Referenced by svkSpectraReferenceView::UpdateImageSlice().
|
protected |
References svkDataView::dataVector, svkSpectraReferenceView::MRI, and svkSpectraReferenceView::MRS.
Referenced by svkSpectraReferenceView::SetSlice().
|
protected |
Generates the clipping planes for the mMMapper. This is how the boundries set are enforced, after the data is scaled, it is clipped so that data outside the plot range is simply not shown.
References CLIP_TOLERANCE, svkDataView::ClipMapperToTlcBrc(), svkDataView::dataVector, svkPlotLineGrid::GetPlotGridActor(), svkDataView::GetProp(), svkSpectraReferenceView::MRS, svkSpectraReferenceView::PLOT_GRID, svkSpectraReferenceView::plotGrid, and svkDataView::tlcBrc.
Referenced by svkSpectraReferenceView::SetSlice(), and svkSpectraReferenceView::SetTlcBrc().
string GetDataCompatibility | ( | svkImageData * | data, |
int | targetIndex | ||
) |
Check to make sure a given dataset is comptabile with the currently loaded data sets.
data | the prospective data. |
targetIndex | the index in which the data is trying to be placed. |
References svkDataValidator::AreDataCompatible(), svkDataView::dataVector, svkDataValidator::INVALID_DATA_ORIENTATION, svkDataValidator::IsInvalid(), svkDataView::isValidationOn, svkSpectraReferenceView::MRI, svkSpectraReferenceView::MRS, svkDataValidator::New(), svkSpectraReferenceView::OVERLAY, and svkDataValidator::resultInfo.
Referenced by svkSpectraReferenceView::SetInput().
svkLookupTable * GetLookupTable | ( | ) |
|
protected |
Gets the opacity of the image overlay.
|
protected |
Gets the opacity of the image overlay.
|
virtual |
|
protected |
Method highlights voxels within the selection box
References svkDataView::dataVector, svkSpectraReferenceView::MRS, svkDataView::orientation, svkSpectraReferenceView::SetTlcBrc(), svkDataView::slice, and svkDataView::tlcBrc.
Referenced by svkSpectraReferenceView::SetupMsInput().
bool IsImageInsideSpectra | ( | ) |
Returns true if the current image is within the spectrscopy data set
References svkSpectraReferenceView::imageInsideSpectra.
|
protected |
|
protected |
References svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::IsPropOn(), svkDcmHeader::SAGITTAL, svkSpectraReferenceView::SAT_BANDS_AXIAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_CORONAL_OUTLINE, and svkSpectraReferenceView::SAT_BANDS_SAGITTAL_OUTLINE.
Referenced by svkSpectraReferenceView::SetOrientation().
|
static |
|
protected |
Resets the window level, source taken from vtkImageViewer2.
References svkDataView::dataVector, svkImageViewer2::GetImageActor(), svkImageViewer2::GetInput(), svkSpectraReferenceView::imageViewer, svkSpectraReferenceView::MRI, svkImageViewer2::Render(), svkImageViewer2::SetColorLevel(), and svkImageViewer2::SetColorWindow().
Referenced by svkSpectraReferenceViewController::ResetWindowLevel(), and svkSpectraReferenceView::SetupMrInput().
void SetComponent | ( | svkPlotLine::PlotComponent | component | ) |
|
virtual |
Sets the data object in the object, also sets the input to the vtkImageViewer2 and renders it.
data | the data you want to view |
index | the index of the data you want to set |
Implements svkDataView.
References svkDataView::dataVector, svkSpectraReferenceView::GetDataCompatibility(), svkDataView::ObserveData(), svkSpectraReferenceView::OVERLAY, svkDataView::Refresh(), svkSpectraReferenceView::SetupMrInput(), svkSpectraReferenceView::SetupMsInput(), and svkSpectraReferenceView::SetupOverlay().
|
protected |
Sets the type of interpolation for the overlayed image.
interpolationType | options are NEAREST, LINEAR, or SINC |
References svkSpectraReferenceView::AXIAL_OVERLAY_BACK, svkSpectraReferenceView::AXIAL_OVERLAY_FRONT, svkSpectraReferenceView::CORONAL_OVERLAY_BACK, svkSpectraReferenceView::CORONAL_OVERLAY_FRONT, svkDataView::GetProp(), svkSpectraReferenceView::LINEAR, svkSpectraReferenceView::NEAREST, svkDataView::Refresh(), svkSpectraReferenceView::SAGITTAL_OVERLAY_BACK, svkSpectraReferenceView::SAGITTAL_OVERLAY_FRONT, and svkSpectraReferenceView::SINC.
Referenced by svkSpectraReferenceView::SetupOverlay().
|
protected |
Sets the LUT type
LUT | type |
References svkSpectraReferenceView::AXIAL_OVERLAY_FRONT, svkSpectraReferenceView::COLOR_BAR, svkSpectraReferenceView::colorTransfer, svkDataView::dataVector, svkLookupTable::GetAlphaThreshold(), svkDataView::GetProp(), svkLookupTable::New(), svkSpectraReferenceView::OVERLAY, svkDataView::Refresh(), svkLookupTable::SetAlphaThreshold(), svkLookupTable::SetLUTType(), svkSpectraReferenceView::windowLevelerAxial, svkSpectraReferenceView::windowLevelerCoronal, and svkSpectraReferenceView::windowLevelerSagittal.
Referenced by svkSpectraReferenceView::SetupOverlay().
|
virtual |
Reimplemented from svkDataView.
References svkSpectraReferenceView::AreAllSatBandOutlinesOn(), svkSpectraReferenceView::AreAllSatBandsOn(), svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::dataVector, svkImageViewer2::GetImageActor(), svkDataView::GetRenderer(), svkImageViewer2::GetSlice(), svkPlotLineGrid::GetSlice(), svkPlotLineGrid::GetTlcBrc(), svkSpectraReferenceView::imageViewer, svkSpectraReferenceView::IsSatBandForSliceOn(), svkSpectraReferenceView::IsSatBandOutlineForSliceOn(), svkSpectraReferenceView::MRI, svkSpectraReferenceView::MRS, svkDataView::orientation, svkSpectraReferenceView::plotGrid, svkSpectraReferenceView::PRIMARY, svkDataView::Refresh(), svkDataView::ResetTlcBrcForNewOrientation(), svkDcmHeader::SAGITTAL, svkSpectraReferenceView::SAT_BANDS_AXIAL, svkSpectraReferenceView::SAT_BANDS_AXIAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_CORONAL, svkSpectraReferenceView::SAT_BANDS_CORONAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_SAGITTAL, svkSpectraReferenceView::SAT_BANDS_SAGITTAL_OUTLINE, svkImageViewer2::SetOrientation(), svkPlotLineGrid::SetOrientation(), svkSpectraReferenceView::SetSlice(), svkSpectraReferenceView::SetTlcBrc(), svkDataView::slice, svkDataView::tlcBrc, svkDataView::TurnPropOff(), and svkDataView::TurnPropOn().
|
protected |
Sets the opacity of the image overlay.
opacity | the new opacity you wish the image overlay to have. |
References svkSpectraReferenceView::AXIAL_OVERLAY_BACK, svkSpectraReferenceView::AXIAL_OVERLAY_FRONT, svkSpectraReferenceView::CORONAL_OVERLAY_BACK, svkSpectraReferenceView::CORONAL_OVERLAY_FRONT, svkDataView::GetProp(), svkSpectraReferenceView::SAGITTAL_OVERLAY_BACK, and svkSpectraReferenceView::SAGITTAL_OVERLAY_FRONT.
Referenced by svkSpectraReferenceView::SetupOverlay().
|
protected |
Sets the threshold of the image overlay.
threshold | the new threshold you wish the image overlay to have. |
References svkSpectraReferenceView::AXIAL_OVERLAY_FRONT, svkSpectraReferenceView::colorTransfer, svkDataView::GetProp(), and svkLookupTable::SetAlphaThreshold().
|
virtual |
Sets the vtkRenderWindowInteractor to be associated with this view.
rwi | the vtkRenderWindowInteractor you wish this view to use |
Reimplemented from svkDataView.
References svkDataView::GetRenderer(), svkSpectraReferenceView::imageViewer, svkSpectraReferenceView::myRenderWindow, svkSpectraReferenceView::PRIMARY, svkDataView::rwi, and svkDataView::TurnRendererOn().
|
protected |
Sets desired the current selection in Display (pixels) coordinates and highlights the intersected voxels.
selectionArea | the area you wish to select voxels within [xmin, xmax, ymin, ymax] |
References svkDataView::dataVector, svkDataView::GetRenderer(), svkSpectraReferenceView::MRS, svkDataView::orientation, svkSpectraReferenceView::PRIMARY, svkDataView::rwi, svkSpectraReferenceView::SetTlcBrc(), and svkDataView::slice.
|
virtual |
Sets the current slice.
slice | the slice you want to view |
Implements svkDataView.
Referenced by svkSpectraReferenceView::SetOrientation(), svkSpectraReferenceView::SetSlice(), svkSpectraReferenceView::SetupMrInput(), and svkSpectraReferenceView::SetupMsInput().
|
virtual |
Sets the current slice and centers the image to the voxel.
slice | the slice you want to view |
References svkDataView::dataVector, svkSpectraReferenceView::GenerateClippingPlanes(), svkDataView::GetProp(), svkDataView::GetRenderer(), svkSpectraReferenceView::imageViewer, svkDataView::isPropOn, svkSpectraReferenceView::MRI, svkSpectraReferenceView::MRS, svkDataView::orientation, svkSpectraReferenceView::plotGrid, svkSpectraReferenceView::PRIMARY, svkDataView::Refresh(), svkImageViewer2::SetSlice(), svkPlotLineGrid::SetSlice(), svkPlotLineGrid::SetTlcBrc(), svkDataView::slice, svkDataView::tlcBrc, svkSpectraReferenceView::toggleSelBoxVisibility, svkPlotLineGrid::Update(), svkSpectraReferenceView::UpdateImageSlice(), and svkSpectraReferenceView::VOL_SELECTION.
|
virtual |
References svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::dataVector, svkSpectraReferenceView::FindSpectraSlice(), svkDataView::GetProp(), svkDataView::GetRenderer(), svkSpectraReferenceView::imageInsideSpectra, svkSpectraReferenceView::imageViewer, svkDataView::isPropOn, svkSpectraReferenceView::MRS, svkSpectraReferenceView::PLOT_GRID, svkSpectraReferenceView::PRIMARY, svkDataView::Refresh(), svkDcmHeader::SAGITTAL, svkSatBandSet::SetClipSlice(), svkImageViewer2::SetSlice(), svkSpectraReferenceView::SetSlice(), svkSpectraReferenceView::toggleSelBoxVisibility, and svkSpectraReferenceView::VOL_SELECTION.
|
protected |
Used to select Actors based on their Top Left and Bottom Right Corners
tlcBrc | the cell id's of the desired top left, bottom right corners |
References svkDataView::dataVector, svkSpectraReferenceView::GenerateClippingPlanes(), svkDataView::IsTlcBrcWithinData(), svkSpectraReferenceView::MRS, svkSpectraReferenceView::plotGrid, svkPlotLineGrid::SetTlcBrc(), and svkPlotLineGrid::Update().
Referenced by svkSpectraReferenceView::HighlightSelectionVoxels(), svkSpectraReferenceView::SetOrientation(), and svkSpectraReferenceView::SetSelection().
|
protected |
Sets the input of the vtkImageViewer2. It also resets the camera view and the slice. This should be modified once the new image loader is written.
resetViewState | boolean identifies of this is the first dataset input |
References svkSpectraReferenceView::AlignCamera(), svkDataView::dataVector, svkImageViewer2::GetImageActor(), svkDataView::GetRenderer(), svkSpectraReferenceView::imageViewer, svkSpectraReferenceView::MRI, svkSpectraReferenceView::MRS, svkSpectraReferenceView::PRIMARY, svkSpectraReferenceView::ResetWindowLevel(), svkDataView::rwi, svkSatBandSet::SetReferenceImage(), svkImageViewer2::SetSlice(), svkSpectraReferenceView::SetSlice(), and svkDataView::slice.
Referenced by svkSpectraReferenceView::SetInput().
|
protected |
Sets the input of the vtkImageViewer2. It also resets the camera view and the slice.
resetViewState | boolean identifies of this is the first dataset input |
References svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::dataVector, svkPlotLineGrid::GetPlotGridActor(), svkDataView::GetProp(), svkDataView::GetRenderer(), svkImageViewer2::GetSlice(), svkSpectraReferenceView::HighlightSelectionVoxels(), svkSpectraReferenceView::imageViewer, svkSpectraReferenceView::MRI, svkSpectraReferenceView::MRS, svkMrsImageData::New(), svkSpectraReferenceView::PLOT_GRID, svkSpectraReferenceView::PLOT_LINES, svkSpectraReferenceView::plotGrid, svkSpectraReferenceView::PRIMARY, svkDcmHeader::SAGITTAL, svkSpectraReferenceView::SAT_BANDS_AXIAL, svkSpectraReferenceView::SAT_BANDS_AXIAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_CORONAL, svkSpectraReferenceView::SAT_BANDS_CORONAL_OUTLINE, svkSpectraReferenceView::SAT_BANDS_SAGITTAL, svkSpectraReferenceView::SAT_BANDS_SAGITTAL_OUTLINE, svkImageData::SetDcos(), svkSatBandSet::SetInput(), svkPlotLineGrid::SetInput(), svkDataView::SetProp(), svkSpectraReferenceView::SetSlice(), svkDataView::slice, svkDataView::TurnPropOff(), svkDataView::TurnPropOn(), and svkSpectraReferenceView::VOL_SELECTION.
Referenced by svkSpectraReferenceView::SetInput().
|
protected |
Sets up the overlay actor.
References svkSpectraReferenceView::AXIAL_OVERLAY_BACK, svkSpectraReferenceView::AXIAL_OVERLAY_FRONT, svkLookupTable::COLOR, svkSpectraReferenceView::COLOR_BAR, svkSpectraReferenceView::colorTransfer, svkSpectraReferenceView::CORONAL_OVERLAY_BACK, svkSpectraReferenceView::CORONAL_OVERLAY_FRONT, svkDataView::dataVector, svkDataView::GetProp(), svkDataView::GetRenderer(), svkSpectraReferenceView::MRI, svkSpectraReferenceView::NEAREST, svkImageMapToColors::New(), svkOpenGLOrientedImageActor::New(), svkSpectraReferenceView::OVERLAY, svkSpectraReferenceView::PRIMARY, svkDataView::Refresh(), svkSpectraReferenceView::SAGITTAL_OVERLAY_BACK, svkSpectraReferenceView::SAGITTAL_OVERLAY_FRONT, svkSpectraReferenceView::SetInterpolationType(), svkSpectraReferenceView::SetLUT(), svkSpectraReferenceView::SetOverlayOpacity(), svkDataView::SetProp(), svkImageData::SLICE, svkDataView::TurnPropOn(), svkSpectraReferenceView::windowLevelerAxial, svkSpectraReferenceView::windowLevelerCoronal, and svkSpectraReferenceView::windowLevelerSagittal.
Referenced by svkSpectraReferenceView::SetInput().
|
virtual |
SetWindowLevel for spectral view; index 0 is frequency, index 1 is intensity. NOTE: Method assumes that frequency ranges are in integers (points).
lower | the lower limit |
upper | the upper limit |
index | which dimension you wish to change, frequency or magnitude |
Reimplemented from svkDataView.
References svkSpectraReferenceView::AMPLITUDE, svkSpectraReferenceView::FREQUENCY, svkSpectraReferenceView::plotGrid, svkDataView::Refresh(), svkPlotLineGrid::SetFrequencyWLRange(), svkPlotLineGrid::SetIntensityWLRange(), and svkDataView::tlcBrc.
void ToggleSelBoxVisibilityOff | ( | ) |
void ToggleSelBoxVisibilityOn | ( | ) |
void TurnOrthogonalImagesOff | ( | ) |
void TurnOrthogonalImagesOn | ( | ) |
|
protected |
Sets the slice of the anatamical data, based on the spectroscopic slice. It calculates the anatomical slice closest to the center of the spectroscopic slice.
References svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::dataVector, svkSpectraReferenceView::FindCenterImageSlice(), svkImageViewer2::GetImageActor(), svkImageViewer2::GetSlice(), svkSpectraReferenceView::imageInsideSpectra, svkSpectraReferenceView::imageViewer, svkSpectraReferenceView::MRI, svkDataView::orientation, svkDcmHeader::SAGITTAL, svkSatBandSet::SetClipSlice(), svkImageViewer2::SetSlice(), and svkDataView::slice.
Referenced by svkSpectraReferenceView::SetSlice().
vtkTypeMacro | ( | svkSpectraReferenceView | , |
svkDataView | |||
) |
|
friend |
enum { ... } ColorSchema |
Enum represents color schema, used for printing.
|
protected |
|
protected |
|
protected |
the vtkImageViewer2 object used to display the image
Referenced by svkSpectraReferenceView::AlignCamera(), svkSpectraReferenceView::ResetWindowLevel(), svkSpectraReferenceView::SetOrientation(), svkSpectraReferenceView::SetRWInteractor(), svkSpectraReferenceView::SetSlice(), svkSpectraReferenceView::SetupMrInput(), svkSpectraReferenceView::SetupMsInput(), svkSpectraReferenceView::svkSpectraReferenceView(), svkSpectraReferenceView::TurnOrthogonalImagesOff(), svkSpectraReferenceView::TurnOrthogonalImagesOn(), svkSpectraReferenceView::UpdateImageSlice(), and svkSpectraReferenceView::~svkSpectraReferenceView().
|
protected |
the render window in which the view is to be displayed
Referenced by svkSpectraReferenceView::SetRWInteractor(), and svkSpectraReferenceView::svkSpectraReferenceView().
|
protected |
Represents the plotted lines of the grid.
Referenced by svkSpectraReferenceView::GenerateClippingPlanes(), svkSpectraReferenceView::GetWindowLevelRange(), svkSpectraReferenceView::SetComponent(), svkSpectraReferenceView::SetOrientation(), svkSpectraReferenceView::SetSlice(), svkSpectraReferenceView::SetTlcBrc(), svkSpectraReferenceView::SetupMsInput(), svkSpectraReferenceView::SetWindowLevelRange(), svkSpectraReferenceView::svkSpectraReferenceView(), and svkSpectraReferenceView::~svkSpectraReferenceView().
|
protected |
|
protected |
Object used to window livel the overlay.
Referenced by svkSpectraReferenceView::SetLUT(), svkSpectraReferenceView::SetupOverlay(), svkSpectraReferenceView::svkSpectraReferenceView(), and svkSpectraReferenceView::~svkSpectraReferenceView().
|
protected |
|
protected |