43 #ifndef SVK_PLOT_GRID_VIEW_H
44 #define SVK_PLOT_GRID_VIEW_H
47 #include <vtkObjectFactory.h>
48 #include <vtkProp3DCollection.h>
50 #include <vtkSelectVisiblePoints.h>
52 #include <vtkImageActor.h>
53 #include <vtkTextProperty.h>
54 #include <vtkDoubleArray.h>
55 #include <vtkExtractEdges.h>
56 #include <vtkImageMapper3D.h>
68 #include <vtkCellCenters.h>
69 #include <vtkXYPlotActor.h>
70 #include <vtkCursor2D.h>
71 #include <vtkCleanPolyData.h>
72 #include <vtkPolyDataPointSampler.h>
87 class svkPlotGridViewController;
111 virtual void RemoveInput(
int index );
112 virtual void SetSlice(
int slice );
113 virtual void SetTlcBrc(
int tlcBrc[2] );
114 virtual void SetTlcBrc(
int tlcID,
int brcID );
115 virtual void SetWindowLevelRange(
double lower,
double upper,
int index );
116 virtual void GetWindowLevelRange(
double &lower,
double &upper,
int index );
117 virtual void SetOverlayWLRange(
double* range );
118 virtual double* GetOverlayWLRange( );
122 virtual void SetVolumeIndex(
int index,
int volumeIndex = 0,
int plotIndex = -1 );
123 virtual int GetVolumeIndex(
int volumeIndex = 0 );
124 virtual int* GetVolumeIndexArray( );
126 virtual void SetRWInteractor( vtkRenderWindowInteractor* rwi );
127 virtual void SetPlotColor(
int plotIndex,
double* rgb );
128 virtual double* GetPlotColor(
int plotIndex );
129 virtual void SetPlotLineWidth(
float width );
130 virtual void SetPlotVisibility(
int plotIndex,
bool visible );
131 virtual bool GetPlotVisibility(
int plotIndex );
132 virtual int GetNumberOfReferencePlots( );
133 virtual void SetActivePlotIndex(
int plotIndex );
135 virtual int GetActivePlotIndex( );
136 virtual void Refresh();
137 void GeneratePlotGridActor();
138 void GenerateClippingPlanes();
140 virtual void AlignCamera();
142 void SetOverlayTextDigits(
int digits );
143 string GetScientificFormat(
int digits );
144 string GetDecimalFormat(
int digits );
145 void TurnPropOn(
int propIndex);
146 void TurnPropOff(
int propIndex);
149 void AlignCameraOff();
150 void AlignCameraOn();
163 LAST_PROP = SAT_BANDS_OUTLINE
169 LAST_RENDERER = PRIMARY
186 void SetActiveOverlayVolume(
int volume );
187 void SetOverlayThreshold(
double threshold );
196 double referencePlotColors[10][3];
198 void UpdateMetaboliteText(
int* tlcBrc );
199 void UpdateMetaboliteImage(
int* tlcBrc );
200 void UpdateMetaboliteTextDisplacement( );
201 void UpdateDetailedPlot(
int* tlcBrc );
202 void UpdateDetailedPlotOverlay(
int tlc );
203 void SetSelection(
double* selectionArea,
bool isWorldCords = 0 );
204 int* HighlightSelectionVoxels();
205 void SetColorSchema(
int colorSchema );
206 string GetDataCompatibility(
svkImageData* data,
int targetIndex );
207 void SetOverlayOpacity(
double opacity );
219 vtkstd::vector<int> volumeIndexVector;
220 int overlayTextDigits;
232 #endif //SVK_PLOT_GRID_VIEW_H
Definition: svkPlotGridViewController.h:74
Definition: svkImageMapToColors.h:66
Definition: svkPlotGridView.h:179
Definition: svkDataView.h:73
Definition: svkPlotGridView.h:162
vector< svkPlotLineGrid * > plotGrids
Definition: svkPlotGridView.h:193
Definition: svkSatBandSet.h:71
Definition: svkPlotGridView.h:155
#define CLIP_TOLERANCE
Definition: svkSpectraReferenceView.h:80
DataInputs
Enum represent the data inputs.
Definition: svkPlotGridView.h:179
Definition: svkPlotGridView.h:159
svkLookupTableType
Definition: svkLookupTable.h:63
Definition: svkPlotGridView.h:93
Definition: svkPlotGridView.h:160
Definition: svkPlotGridView.h:157
Definition: svkPlotGridView.h:158
PlotComponent
Definition: svkPlotLine.h:68
vector< svkImageClip * > metClippers
Definition: svkPlotGridView.h:194
Definition: svkPlotGridView.h:161
Definition: svk4DImageData.h:69
vector< vtkActor2D * > overlayTextActors
Definition: svkPlotGridView.h:195
Definition: svkImageData.h:107
Definition: svkPlotGridView.h:156
Definition: svkDetailedPlotDirector.h:85
UnitType
Definition: svkSpecPoint.h:69
Definition: svkLookupTable.h:58