SIVIC API
0.9.26
|
#include <svkOverlayView.h>
Public Types | |
enum | DataInputs { MRI = 0, MR4D = 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, 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 (svkOverlayView, svkDataView) | |
svkOverlayView () | |
~svkOverlayView () | |
virtual void | SetInput (svkImageData *data, int index=0) |
virtual void | SetInputPostReslice (svkImageData *data, int index) |
virtual void | RemoveInput (int index) |
virtual void | SetSlice (int slice) |
virtual void | SetSlice (int slice, bool centerImage) |
virtual void | SetSlice (int slice, svkDcmHeader::Orientation orientation) |
virtual void | SetActiveImageVolume (int volume) |
virtual void | SetActiveOverlayVolume (int volume) |
virtual void | SetRWInteractor (vtkRenderWindowInteractor *) |
string | GetDataCompatibility (svkImageData *data, int targetIndex) |
void | TurnOrthogonalImagesOn () |
void | TurnOrthogonalImagesOff () |
bool | AreOrthogonalImagesOn () |
void | SetOrientation (svkDcmHeader::Orientation orientation) |
void | ToggleSelBoxVisibilityOn () |
void | ToggleSelBoxVisibilityOff () |
void | AlignCamera () |
bool | IsImageInsideSpectra () |
void | SetLevel (double level) |
double | GetLevel () |
void | SetWindow (double window) |
double | GetWindow () |
void | SetColorOverlayWindow (double window) |
void | SetColorOverlayLevel (double level) |
double | GetColorOverlayWindow () |
double | GetColorOverlayLevel () |
bool | CheckDataOrientations () |
void | SetCameraZoom (double zoom) |
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 | 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 svkDcmHeader::Orientation | GetOrientation () |
void | ValidationOff () |
Static Public Member Functions | |
static svkOverlayView * | 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::svkOverlayView:: { ... } | ColorSchema |
Enum represents color schema, used for printing. More... | |
Friends | |
class | svkOverlayViewController |
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 |
svkOverlayView | ( | ) |
Constructor creates the vtkImageView2, and sets its size.
References svkDcmHeader::AXIAL, svkOverlayView::AXIAL_OVERLAY_BACK, svkOverlayView::AXIAL_OVERLAY_FRONT, svkOverlayView::COLOR_BAR, svkOverlayView::colorTransfer, svkDcmHeader::CORONAL, svkOverlayView::CORONAL_OVERLAY_BACK, svkOverlayView::CORONAL_OVERLAY_FRONT, svkDataView::dataVector, svkSatBandSet::GetSatBandsActor(), svkSatBandSet::GetSatBandsOutlineActor(), svkOverlayView::imageInsideSpectra, svkOverlayView::imageViewer, svkOverlayView::interpOverlay, svkDataView::isPropOn, svkDataView::isPropVisible, svkDataView::isRendererOn, svkOverlayView::LAST_PROP, svkOverlayView::LAST_RENDERER, svkOverlayView::myRenderWindow, svkOverlayView::NEAREST, svkMriImageData::New(), svkImageViewer2::New(), svkSatBandSet::New(), svkImageActor::New(), svkSincInterpolationFilter::New(), svkOverlayView::PLOT_GRID, svkDataView::propCollection, svkDataView::renCollection, svkDataView::rwi, svkDcmHeader::SAGITTAL, svkOverlayView::SAGITTAL_OVERLAY_BACK, svkOverlayView::SAGITTAL_OVERLAY_FRONT, svkOverlayView::SAT_BANDS_AXIAL, svkOverlayView::SAT_BANDS_AXIAL_OUTLINE, svkOverlayView::SAT_BANDS_CORONAL, svkOverlayView::SAT_BANDS_CORONAL_OUTLINE, svkOverlayView::SAT_BANDS_SAGITTAL, svkOverlayView::SAT_BANDS_SAGITTAL_OUTLINE, svkSatBandSet::SetOrientation(), svkDataView::SetProp(), svkOverlayView::sincInterpolation, svkDataView::slice, svkDataView::tlcBrc, svkOverlayView::toggleSelBoxVisibility, svkDataView::TurnPropOff(), svkOverlayView::VOL_SELECTION, svkOverlayView::windowLevelerAxial, svkOverlayView::windowLevelerCoronal, and svkOverlayView::windowLevelerSagittal.
~svkOverlayView | ( | ) |
Destructor deletes the vtkImageViewer2.
References svkOverlayView::colorTransfer, svkOverlayView::imageViewer, svkOverlayView::interpOverlay, svkDataView::rwi, svkOverlayView::sincInterpolation, svkOverlayView::windowLevelerAxial, svkOverlayView::windowLevelerCoronal, and svkOverlayView::windowLevelerSagittal.
void AlignCamera | ( | ) |
References svkOverlayView::GenerateClippingPlanes(), svkDataView::GetProp(), svkDataView::GetRenderer(), svkOverlayView::imageViewer, svkOverlayView::PLOT_GRID, svkOverlayView::PRIMARY, svkImageViewer2::ResetCamera(), svkOverlayView::SAT_BANDS_AXIAL, svkOverlayView::SAT_BANDS_AXIAL_OUTLINE, svkOverlayView::SAT_BANDS_CORONAL, svkOverlayView::SAT_BANDS_CORONAL_OUTLINE, svkOverlayView::SAT_BANDS_SAGITTAL, and svkOverlayView::SAT_BANDS_SAGITTAL_OUTLINE.
Referenced by svkOverlayView::SetupMrInput().
|
protected |
|
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, svkOverlayView::SAT_BANDS_AXIAL, svkOverlayView::SAT_BANDS_CORONAL, and svkOverlayView::SAT_BANDS_SAGITTAL.
Referenced by svkOverlayView::SetOrientation().
bool AreOrthogonalImagesOn | ( | ) |
References svkImageViewer2::AreOrthogonalImagesOn(), and svkOverlayView::imageViewer.
bool CheckDataOrientations | ( | ) |
|
protected |
Finds the image slice that most closely corresponds to the input spectra slice.
References svkDataView::dataVector, svkOverlayView::MR4D, and svkOverlayView::MRI.
Referenced by svkOverlayView::UpdateImageSlice().
|
protected |
References svkDataView::dataVector, svkOverlayView::MR4D, svkOverlayView::MRI, and svkOverlayView::OVERLAY.
|
protected |
References svkDataView::dataVector, svkOverlayView::MR4D, and svkOverlayView::MRI.
Referenced by svkOverlayView::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 svkDataView::ClipMapperToTlcBrc(), svkDataView::dataVector, svkDataView::GetProp(), svkOverlayView::MR4D, svkOverlayView::PLOT_GRID, and svkDataView::tlcBrc.
Referenced by svkOverlayView::AlignCamera(), svkOverlayView::SetSlice(), and svkOverlayView::SetTlcBrc().
double GetColorOverlayLevel | ( | ) |
References svkOverlayView::colorTransfer.
double GetColorOverlayWindow | ( | ) |
References svkOverlayView::colorTransfer.
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(), svkDataValidator::IsOnlyError(), svkDataView::isValidationOn, svkOverlayView::MR4D, svkOverlayView::MRI, svkDataValidator::New(), svkOverlayView::OVERLAY, and svkDataValidator::resultInfo.
Referenced by svkOverlayView::SetInputPostReslice().
double GetLevel | ( | ) |
References svkOverlayView::imageViewer.
svkLookupTable * GetLookupTable | ( | ) |
|
protected |
Gets the opacity of the image overlay.
|
protected |
Gets the opacity of the image overlay.
double GetWindow | ( | ) |
References svkOverlayView::imageViewer.
|
protected |
Method highlights voxels within the selection box
References svkDataView::dataVector, svkOverlayView::MR4D, svkDataView::orientation, svkOverlayView::SetTlcBrc(), svkDataView::slice, and svkDataView::tlcBrc.
Referenced by svkOverlayView::SetupMsInput().
bool IsImageInsideSpectra | ( | ) |
Returns true if the current image is within the spectrscopy data set
References svkOverlayView::imageInsideSpectra.
|
protected |
|
protected |
|
static |
|
virtual |
Removes a data input and the associated actors. Currently only implemented for overlay.
Reimplemented from svkDataView.
References svkOverlayView::OVERLAY, and svkOverlayView::SetupOverlay().
|
protected |
Resets the window level, source taken from vtkImageViewer2.
References svkDataView::dataVector, svkImageViewer2::GetImageActor(), svkDataView::GetRenderer(), svkOverlayView::imageViewer, svkOverlayView::MRI, svkOverlayView::PRIMARY, svkImageViewer2::Render(), svkImageViewer2::SetColorLevel(), svkImageViewer2::SetColorWindow(), and svkImageViewer2::UpdateInputInformation().
Referenced by svkOverlayViewController::ResetWindowLevel(), and svkOverlayView::SetupMrInput().
|
virtual |
Sets the active volume. The active volume will be the rendered volume.
volume |
References svkOverlayView::imageViewer, and svkImageViewer2::SetActiveVolume().
|
virtual |
Sets the active overlay volume.
volume |
References svkDataView::dataVector, svkDataView::GetRenderer(), svkOverlayView::OVERLAY, svkOverlayView::PRIMARY, svkDataView::Refresh(), svkOverlayView::windowLevelerAxial, svkOverlayView::windowLevelerCoronal, and svkOverlayView::windowLevelerSagittal.
void SetCameraZoom | ( | double | zoom | ) |
Set the camera zoom factor
References svkOverlayView::imageViewer, svkImageViewer2::ResetCamera(), and svkImageViewer2::SetCameraZoom().
void SetColorOverlayLevel | ( | double | level | ) |
References svkOverlayView::colorTransfer, and svkDataView::Refresh().
void SetColorOverlayWindow | ( | double | window | ) |
References svkOverlayView::colorTransfer, and svkDataView::Refresh().
|
virtual |
Sets the data object in the object, also sets the input to the vtkImageViewer2 and renders it. Reslices any images necesary
data | the data you want to view |
index | the index of the data you want to set |
Implements svkDataView.
References svkDataView::dataVector, svkOverlayView::MR4D, svkOverlayView::MRI, svkOverlayView::OVERLAY, and svkOverlayView::SetInputPostReslice().
Referenced by svkOverlayView::SetInterpolationType(), and svkOverlayView::UpdateSincInterpolation().
|
virtual |
Sets the input without reslicing.
References svkDataView::dataVector, svkOverlayView::GetDataCompatibility(), svkDataView::ObserveData(), svkOverlayView::OVERLAY, svkDataView::Refresh(), svkOverlayView::SetupMrInput(), svkOverlayView::SetupMsInput(), and svkOverlayView::SetupOverlay().
Referenced by svkOverlayView::SetInput().
|
protected |
Sets the type of interpolation for the overlayed image.
interpolationType | options are NEAREST, LINEAR, or SINC |
References svkOverlayView::AXIAL_OVERLAY_BACK, svkOverlayView::AXIAL_OVERLAY_FRONT, svkOverlayView::CORONAL_OVERLAY_BACK, svkOverlayView::CORONAL_OVERLAY_FRONT, svkDataView::dataVector, svkDataView::GetProp(), svkOverlayView::interpOverlay, svkOverlayView::LINEAR, svkOverlayView::NEAREST, svkOverlayView::OVERLAY, svkDataView::Refresh(), svkOverlayView::SAGITTAL_OVERLAY_BACK, svkOverlayView::SAGITTAL_OVERLAY_FRONT, svkOverlayView::SetInput(), svkOverlayView::SINC, svkOverlayView::sincInterpolation, and svkOverlayView::UpdateSincInterpolation().
Referenced by svkOverlayView::SetupOverlay().
void SetLevel | ( | double | level | ) |
|
protected |
Sets the LUT type
LUT | type |
References svkOverlayView::AXIAL_OVERLAY_FRONT, svkOverlayView::COLOR_BAR, svkOverlayView::colorTransfer, svkDataView::dataVector, svkLookupTable::GetAlphaThreshold(), svkDataView::GetProp(), svkLookupTable::New(), svkOverlayView::OVERLAY, svkDataView::Refresh(), svkLookupTable::SetAlphaThreshold(), svkLookupTable::SetLUTType(), svkOverlayView::windowLevelerAxial, svkOverlayView::windowLevelerCoronal, and svkOverlayView::windowLevelerSagittal.
Referenced by svkOverlayView::SetupOverlay().
|
virtual |
Reimplemented from svkDataView.
References svkOverlayView::AreAllSatBandOutlinesOn(), svkOverlayView::AreAllSatBandsOn(), svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::dataVector, svkImageViewer2::GetImageActor(), svkDataView::GetRenderer(), svkImageViewer2::GetSlice(), svkOverlayView::imageViewer, svkOverlayView::IsSatBandForSliceOn(), svkOverlayView::IsSatBandOutlineForSliceOn(), svkOverlayView::MR4D, svkOverlayView::MRI, svkDataView::orientation, svkOverlayView::PRIMARY, svkDataView::Refresh(), svkDataView::ResetTlcBrcForNewOrientation(), svkDcmHeader::SAGITTAL, svkOverlayView::SAT_BANDS_AXIAL, svkOverlayView::SAT_BANDS_AXIAL_OUTLINE, svkOverlayView::SAT_BANDS_CORONAL, svkOverlayView::SAT_BANDS_CORONAL_OUTLINE, svkOverlayView::SAT_BANDS_SAGITTAL, svkOverlayView::SAT_BANDS_SAGITTAL_OUTLINE, svkImageViewer2::SetOrientation(), svkOverlayView::SetSlice(), 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 svkOverlayView::AXIAL_OVERLAY_BACK, svkOverlayView::AXIAL_OVERLAY_FRONT, svkOverlayView::CORONAL_OVERLAY_BACK, svkOverlayView::CORONAL_OVERLAY_FRONT, svkDataView::GetProp(), svkOverlayView::SAGITTAL_OVERLAY_BACK, and svkOverlayView::SAGITTAL_OVERLAY_FRONT.
Referenced by svkOverlayView::SetupOverlay().
|
protected |
Sets the threshold of the image overlay.
threshold | the new threshold you wish the image overlay to have. |
References svkOverlayView::AXIAL_OVERLAY_FRONT, svkOverlayView::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(), svkOverlayView::myRenderWindow, svkOverlayView::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(), svkVoxelTaggingUtils::IsImageVoxelTagData(), svkOverlayView::MR4D, svkDataView::orientation, svkOverlayView::OVERLAY, svkOverlayView::PRIMARY, svkDataView::rwi, svkOverlayView::SetTlcBrc(), svkDataView::slice, and svkVoxelTaggingUtils::ToggleVoxelTag().
|
virtual |
Sets the current slice.
slice | the slice you want to view |
Implements svkDataView.
Referenced by svkOverlayView::SetOrientation(), svkOverlayView::SetSlice(), svkOverlayView::SetupMrInput(), and svkOverlayView::SetupMsInput().
|
virtual |
Sets the current slice and centers the image to the voxel.
slice | the slice you want to view |
References svkDataView::dataVector, svkOverlayView::GenerateClippingPlanes(), svkDataView::GetProp(), svkDataView::GetRenderer(), svkOverlayView::imageViewer, svkDataView::isPropOn, svkOverlayView::MR4D, svkOverlayView::MRI, svkDataView::orientation, svkOverlayView::PRIMARY, svkDataView::Refresh(), svkImageViewer2::SetSlice(), svkDataView::slice, svkDataView::tlcBrc, svkOverlayView::toggleSelBoxVisibility, svkOverlayView::UpdateImageSlice(), and svkOverlayView::VOL_SELECTION.
|
virtual |
References svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::dataVector, svkOverlayView::FindSpectraSlice(), svkDataView::GetProp(), svkDataView::GetRenderer(), svkOverlayView::imageInsideSpectra, svkOverlayView::imageViewer, svkDataView::isPropOn, svkOverlayView::MR4D, svkOverlayView::PLOT_GRID, svkOverlayView::PRIMARY, svkDataView::Refresh(), svkDcmHeader::SAGITTAL, svkSatBandSet::SetClipSlice(), svkImageViewer2::SetSlice(), svkOverlayView::SetSlice(), svkOverlayView::toggleSelBoxVisibility, and svkOverlayView::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, svkOverlayView::GenerateClippingPlanes(), svkDataView::IsTlcBrcWithinData(), and svkOverlayView::MR4D.
Referenced by svkOverlayView::HighlightSelectionVoxels(), and svkOverlayView::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 svkOverlayView::AlignCamera(), svkDataView::dataVector, svkImageViewer2::GetImageActor(), svkDataView::GetRenderer(), svkOverlayView::imageViewer, svkOverlayView::MR4D, svkOverlayView::MRI, svkOverlayView::myRenderWindow, svkOverlayView::PRIMARY, svkOverlayView::ResetWindowLevel(), svkDataView::rwi, svkImageViewer2::SetInputData(), svkSatBandSet::SetReferenceImage(), svkImageViewer2::SetSlice(), svkOverlayView::SetSlice(), and svkDataView::slice.
Referenced by svkOverlayView::SetInputPostReslice().
|
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, svkDataView::GetProp(), svkDataView::GetRenderer(), svkImageViewer2::GetSlice(), svkMrsTopoGenerator::GetTopoActorCollection(), svkOverlayView::HighlightSelectionVoxels(), svkOverlayView::imageViewer, svkOverlayView::MR4D, svkOverlayView::MRI, svkMrsTopoGenerator::New(), svkOverlayView::PLOT_GRID, svkOverlayView::PRIMARY, svkDcmHeader::SAGITTAL, svkOverlayView::SAT_BANDS_AXIAL, svkOverlayView::SAT_BANDS_AXIAL_OUTLINE, svkOverlayView::SAT_BANDS_CORONAL, svkOverlayView::SAT_BANDS_CORONAL_OUTLINE, svkOverlayView::SAT_BANDS_SAGITTAL, svkOverlayView::SAT_BANDS_SAGITTAL_OUTLINE, svkSatBandSet::SetInput(), svkDataView::SetProp(), svkOverlayView::SetSlice(), svkDataView::slice, svkDataView::TurnPropOff(), svkDataView::TurnPropOn(), svk4DImageData::VOL_SELECTION, and svkOverlayView::VOL_SELECTION.
Referenced by svkOverlayView::SetInputPostReslice().
|
protected |
Sets up the overlay actor.
References svkOverlayView::AXIAL_OVERLAY_BACK, svkOverlayView::AXIAL_OVERLAY_FRONT, svkLookupTable::COLOR, svkOverlayView::COLOR_BAR, svkOverlayView::colorTransfer, svkOverlayView::CORONAL_OVERLAY_BACK, svkOverlayView::CORONAL_OVERLAY_FRONT, svkDataView::dataVector, svkLookupTable::GetLUTType(), svkDataView::GetProp(), svkDataView::GetRenderer(), svkOverlayView::MRI, svkImageMapToColors::New(), svkImageActor::New(), svkLookupTable::NONE, svkOverlayView::OVERLAY, svkOverlayView::PRIMARY, svkDataView::Refresh(), svkOverlayView::SAGITTAL_OVERLAY_BACK, svkOverlayView::SAGITTAL_OVERLAY_FRONT, svkOverlayView::SetInterpolationType(), svkOverlayView::SetLUT(), svkOverlayView::SetOverlayOpacity(), svkDataView::SetProp(), svkImageData::SLICE, svkDataView::TurnPropOff(), svkDataView::TurnPropOn(), svkOverlayView::windowLevelerAxial, svkOverlayView::windowLevelerCoronal, and svkOverlayView::windowLevelerSagittal.
Referenced by svkOverlayView::RemoveInput(), and svkOverlayView::SetInputPostReslice().
void SetWindow | ( | double | window | ) |
void ToggleSelBoxVisibilityOff | ( | ) |
void ToggleSelBoxVisibilityOn | ( | ) |
void TurnOrthogonalImagesOff | ( | ) |
References svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::GetOrientation(), svkOverlayView::imageViewer, svkDataView::IsPropOn(), svkDcmHeader::SAGITTAL, svkOverlayView::SAT_BANDS_AXIAL, svkOverlayView::SAT_BANDS_AXIAL_OUTLINE, svkOverlayView::SAT_BANDS_CORONAL, svkOverlayView::SAT_BANDS_CORONAL_OUTLINE, svkOverlayView::SAT_BANDS_SAGITTAL, svkOverlayView::SAT_BANDS_SAGITTAL_OUTLINE, svkImageViewer2::TurnOrthogonalImagesOff(), svkDataView::TurnPropOff(), and svkDataView::TurnPropOn().
void TurnOrthogonalImagesOn | ( | ) |
References svkDcmHeader::AXIAL, svkDcmHeader::CORONAL, svkDataView::GetOrientation(), svkOverlayView::imageViewer, svkDataView::IsPropOn(), svkDcmHeader::SAGITTAL, svkOverlayView::SAT_BANDS_AXIAL, svkOverlayView::SAT_BANDS_AXIAL_OUTLINE, svkOverlayView::SAT_BANDS_CORONAL, svkOverlayView::SAT_BANDS_CORONAL_OUTLINE, svkOverlayView::SAT_BANDS_SAGITTAL, svkOverlayView::SAT_BANDS_SAGITTAL_OUTLINE, svkImageViewer2::TurnOrthogonalImagesOn(), and svkDataView::TurnPropOn().
|
protected |
Sets the slice of the anatomical 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, svkOverlayView::FindCenterImageSlice(), svkImageViewer2::GetImageActor(), svkImageViewer2::GetSlice(), svkOverlayView::imageInsideSpectra, svkOverlayView::imageViewer, svkOverlayView::MRI, svkDataView::orientation, svkDcmHeader::SAGITTAL, svkSatBandSet::SetClipSlice(), svkSatBandSet::SetClipToReferenceImage(), svkImageViewer2::SetSlice(), and svkDataView::slice.
Referenced by svkOverlayView::SetSlice().
|
protected |
References svkDataView::dataVector, svkImageData::DeepCopy(), svkSincInterpolationFilter::GetOutput(), svkOverlayView::interpOverlay, svkOverlayView::MRI, svkMriImageData::New(), svkSincInterpolationFilter::New(), svkOverlayView::OVERLAY, svkOverlayView::SetInput(), svkSincInterpolationFilter::SetOutputWholeExtent(), SINC_MAX_EXTENT, svkOverlayView::sincInterpolation, and svkImageData::SyncVTKImageDataToDcmHeader().
Referenced by svkOverlayView::SetInterpolationType().
vtkTypeMacro | ( | svkOverlayView | , |
svkDataView | |||
) |
|
friend |
enum { ... } ColorSchema |
Enum represents color schema, used for printing.
|
protected |
Referenced by svkOverlayView::GetColorOverlayLevel(), svkOverlayView::GetColorOverlayWindow(), svkOverlayView::GetLookupTable(), svkOverlayView::SetColorOverlayLevel(), svkOverlayView::SetColorOverlayWindow(), svkOverlayView::SetLUT(), svkOverlayView::SetOverlayThreshold(), svkOverlayView::SetupOverlay(), svkOverlayView::svkOverlayView(), and svkOverlayView::~svkOverlayView().
|
protected |
|
protected |
the vtkImageViewer2 object used to display the image
Referenced by svkOverlayView::AlignCamera(), svkOverlayView::AreOrthogonalImagesOn(), svkOverlayView::GetLevel(), svkOverlayView::GetWindow(), svkOverlayView::ResetWindowLevel(), svkOverlayView::SetActiveImageVolume(), svkOverlayView::SetCameraZoom(), svkOverlayView::SetLevel(), svkOverlayView::SetOrientation(), svkOverlayView::SetSlice(), svkOverlayView::SetupMrInput(), svkOverlayView::SetupMsInput(), svkOverlayView::SetWindow(), svkOverlayView::svkOverlayView(), svkOverlayView::TurnOrthogonalImagesOff(), svkOverlayView::TurnOrthogonalImagesOn(), svkOverlayView::UpdateImageSlice(), and svkOverlayView::~svkOverlayView().
|
protected |
|
protected |
the render window in which the view is to be displayed
Referenced by svkOverlayView::SetRWInteractor(), svkOverlayView::SetupMrInput(), and svkOverlayView::svkOverlayView().
|
protected |
|
protected |
|
protected |
Object used to window livel the overlay.
Referenced by svkOverlayView::SetActiveOverlayVolume(), svkOverlayView::SetLUT(), svkOverlayView::SetupOverlay(), svkOverlayView::svkOverlayView(), and svkOverlayView::~svkOverlayView().
|
protected |
|
protected |