#include <svkPlotLineGrid.h>
|
| vtkTypeMacro (svkPlotLineGrid, vtkObject) |
|
| svkPlotLineGrid () |
| Constructor. More...
|
|
| ~svkPlotLineGrid () |
| Destructor. More...
|
|
void | SetInput (svk4DImageData *data) |
|
svk4DImageData * | GetInput () |
|
void | Update (int tlcBrc[2]) |
|
void | SetTlcBrc (int tlcBrc[2]) |
|
int * | GetTlcBrc () |
|
void | SetSlice (int slice) |
|
void | SetPlotPoints () |
|
int | GetSlice () |
|
void | SetFrequencyWLRange (int lower, int range, int tlcBrc[2]) |
|
void | GetFrequencyWLRange (int &lower, int &range) |
|
void | SetIntensityWLRange (double lower, double range, int tlcBrc[2]) |
|
void | GetIntensityWLRange (double &lower, double &range) |
|
void | AlignCamera (bool invertView=1) |
|
void | SetComponent (svkPlotLine::PlotComponent component) |
|
svkPlotLine::PlotComponent | GetComponent () |
|
vtkstd::vector< int > | GetVolumeIndexVector () |
|
void | SetVolumeIndexVector (vtkstd::vector< int >) |
|
void | SetVolumeIndex (int index, int volumeIndex=0) |
|
int | GetVolumeIndex (int volumeIndex=0) |
|
void | UpdateDataArrays (int tlc, int brc) |
|
void | SetOrientation (svkDcmHeader::Orientation orientation) |
|
vtkActor * | GetPlotGridActor () |
|
void | CalculateTlcBrcBounds (double bounds[6], int tlcBrc[2]) |
|
void | SetColor (double rgb[3]) |
|
double * | GetColor () |
|
void AlignCamera |
( |
bool |
invertView = 1 | ) |
|
void CalculateTlcBrcBounds |
( |
double |
bounds[6], |
|
|
int |
tlcBrc[2] |
|
) |
| |
This calculates the boundaries for a given top left/ bottom right corners
TODO: Make this a utility method in svk4DImageData and make it use cell points
- Parameters
-
bounds | this is to be populated by the method |
tlcBrc | the top left/ bottom right corners of the query |
References svkPlotLine::plotAreaBounds.
Get the color for the plot lines
Gets the current component.
- Returns
- component the current component: REAL, IMAGINARY, or MAGNITUDE
void GetFrequencyWLRange |
( |
int & |
lower, |
|
|
int & |
range |
|
) |
| |
void GetIntensityWLRange |
( |
double & |
lower, |
|
|
double & |
upper |
|
) |
| |
vtkActor * GetPlotGridActor |
( |
| ) |
|
int GetVolumeIndex |
( |
int |
volumeIndex = 0 | ) |
|
vector< int > GetVolumeIndexVector |
( |
| ) |
|
void SetColor |
( |
double |
rgb[3] | ) |
|
Set the color for the plot lines
void SetFrequencyWLRange |
( |
int |
lower, |
|
|
int |
upper, |
|
|
int |
tlcBrc[2] |
|
) |
| |
Sets the frequency range to be between lower and upper.
- Parameters
-
lower | the minimum frequency |
upper | the maximum frequency |
TODO: Currently this method only works with points, it should be modified for Hz, and PPM.
Referenced by svkSpectraReferenceView::SetWindowLevelRange().
void SetIntensityWLRange |
( |
double |
lower, |
|
|
double |
upper, |
|
|
int |
tlcBrc[2] |
|
) |
| |
void SetSlice |
( |
int |
slice | ) |
|
void SetTlcBrc |
( |
int |
tlcBrc[2] | ) |
|
Set the plot indices corresponding to the tlc and brc voxels to plot in the current slice (i.e. 2D space). This together with the slice index defines the corresponding data in data.
- Parameters
-
tlcID | the id of the top left corner |
brcID | the id of the bottom right corner |
Referenced by svkSpectraReferenceView::SetSlice(), and svkSpectraReferenceView::SetTlcBrc().
void SetVolumeIndex |
( |
int |
index, |
|
|
int |
volumeIndex = 0 |
|
) |
| |
void SetVolumeIndexVector |
( |
vtkstd::vector< int > |
| ) |
|
void Update |
( |
int |
tlcBrc[2] | ) |
|
void UpdateDataArrays |
( |
int |
tlc, |
|
|
int |
brc |
|
) |
| |
Updates arrays for each svkPlotLine in the given range.
- Parameters
-
tlc | the index of the top left voxel |
brc | the index of the bottom right voxel |
References svkPlotLine::SetData().
The documentation for this class was generated from the following files: