43 #ifndef SVK_PLOT_LINE_GRID_H_INCL
44 #define SVK_PLOT_LINE_GRID_H_INCL
48 #include <vtkRenderer.h>
49 #include <vtkIdList.h>
51 #include <vtkImageData.h>
52 #include <vtkCellData.h>
53 #include <vtkCamera.h>
54 #include <vtkProp3DCollection.h>
55 #include <vtkDataSetCollection.h>
56 #include <vtkCallbackCommand.h>
57 #include <vtkAppendPolyData.h>
58 #include <vtkAreaPicker.h>
59 #include <vtkCollectionIterator.h>
60 #include <vtkTransform.h>
66 #include <vtkPolyDataCollection.h>
67 #include <vtkPolyDataMapper.h>
68 #include <vtkLODActor.h>
69 #include <vtkProperty.h>
100 void Update(
int tlcBrc[2]);
101 void SetTlcBrc(
int tlcBrc[2]);
103 void SetSlice(
int slice);
104 void SetPlotPoints();
106 void SetFrequencyWLRange(
int lower,
int range,
int tlcBrc[2]);
107 void GetFrequencyWLRange(
int &lower,
int &range);
108 void SetIntensityWLRange(
double lower,
double range,
int tlcBrc[2]);
109 void GetIntensityWLRange(
double &lower,
double &range);
110 void AlignCamera(
bool invertView = 1 );
113 vtkstd::vector<int> GetVolumeIndexVector( );
114 void SetVolumeIndexVector( vtkstd::vector<int> );
115 void SetVolumeIndex(
int index,
int volumeIndex = 0 );
116 int GetVolumeIndex(
int volumeIndex = 0 );
117 void UpdateDataArrays(
int tlc,
int brc);
119 vtkActor* GetPlotGridActor();
120 void CalculateTlcBrcBounds(
double bounds[6],
int tlcBrc[2]);
121 void SetColor(
double rgb[3]);
130 vtkstd::vector< int > volumeIndexVector;
136 vtkstd::vector< vtkstd::vector<double> > dcos;
139 vtkstd::vector<svkPlotLine*> xyPlots;
142 vtkActor* plotGridActor;
144 vtkPolyData* polyData;
148 vtkPolyDataMapper* mapper;
166 int freqSelectionUpToDate[2];
171 int ampSelectionUpToDate[2];
174 vtkstd::vector< vtkstd::vector<bool> > volumeUpToDate;
180 vtkCallbackCommand* dataModifiedCB;
188 void RegeneratePlots();
189 static void UpdateData(vtkObject* subject,
unsigned long eid,
void* thisObject,
void *calldata);
190 void AllocateXYPlots();
191 void AllocatePolyData();
192 void UpdatePlotRange(
int tlcBrc[2],
bool generatePolyData =
true);
193 void UpdateComponent();
194 void UpdateOrientation();
195 void GenerateActor();
196 void HighlightSelectionVoxels();
197 bool IsSliceUpToDate(
int slice );
198 void SetSliceUpToDate(
int slice );
199 void SetSliceOutOfDate(
int slice );
200 void SetVolumeUpToDate(
int volumeIndex );
201 void SetVolumeOutOfDate(
int volumeIndex );
202 void InitializeVolumeUpToDateVector();
203 void TurnOffAllPlots();
211 #endif //SVK_PLOT_LINE_GRID_H_INCL
Definition: svkPlotLineGrid.h:84
PlotComponent
Definition: svkPlotLine.h:68
Definition: svk4DImageData.h:69