43 #ifndef SVK_DETAILED_PLOT_DIRECTOR_H
44 #define SVK_DETAILED_PLOT_DIRECTOR_H
47 #include <vtkObjectFactory.h>
48 #include <vtkDataArray.h>
49 #include <vtkAxisActor2D.h>
50 #include <vtkTextActor.h>
52 #include <vtkTextProperty.h>
54 #include <vtkCollectionIterator.h>
55 #include <vtkAxisActor2D.h>
56 #include <vtkProperty2D.h>
57 #include <vtkObject.h>
58 #include <vtkDataSet.h>
59 #include <vtkRenderWindowInteractor.h>
60 #include <vtkCursor2D.h>
61 #include <vtkCallbackCommand.h>
62 #include <vtkRenderWindow.h>
63 #include <vtkRendererCollection.h>
64 #include <vtkFloatArray.h>
97 virtual void AddInput( vtkDataArray* array,
int component, vtkDataObject* sourceToObserve );
98 virtual void RemoveAllInputs( );
99 virtual void RemoveInput( vtkDataArray* array );
100 virtual void SetPlotColor(
int plotIndex,
double* rgb);
101 virtual void SetBackgroundColor(
double* rgb );
102 virtual void SetBackgroundOpacity(
double opacity );
103 virtual void SetBackgroundVisibility(
bool visible );
104 virtual void SetAnnotationTextVisibility(
bool visible );
105 virtual void SetLineWidth(
float width );
106 virtual void SetAnnotationText(
string text );
108 virtual void SetIndexRange(
int lower,
int upper );
109 virtual void GenerateAbscissa(
double firstPointValue,
double lastPointValue );
111 virtual void SetYRange(
double lower,
double upper );
113 virtual vtkAxisActor2D* GetRuler();
114 virtual void AddOnMouseMoveObserver( vtkRenderWindowInteractor* rwi);
115 virtual void RemoveOnMouseMoveObserver( vtkRenderWindowInteractor* rwi);
116 virtual int GetPointIndexFromXValue(
double xValue );
117 virtual double GetYValueFromIndex(
int plotIndex,
int pointIndex );
118 virtual double GetYValueFromXValue(
int plotIndex,
double xValue );
119 virtual void Refresh( );
129 void GenerateMagnitudeArray( vtkDataArray* complexArray, vtkDataArray* magnitudeArray);
130 void RegenerateMagnitudeArrays();
132 vtkstd::vector<vtkDataObject*> dataVector;
136 vtkDataArray* abscissa;
138 vtkCallbackCommand* cursorLocationCB;
139 vtkCursor2D* cursor2D;
140 vtkAxisActor2D* ruler;
142 vtkCallbackCommand* dataModifiedCB;
143 vtkGlyphSource2D* glyphGenerator;
145 static void UpdateData(vtkObject* subject,
unsigned long eid,
void* thisObject,
void *calldata);
146 static void UpdateCursorLocation( vtkObject* subject,
unsigned long eid,
void* thisObject,
void *calldata);
154 #endif //SVK_DETAILED_PLOT_DIRECTOR_H
Definition: svkXYPlotActor.h:172
Definition: svkDetailedPlotDirector.h:85
UnitType
Definition: svkSpecPoint.h:69