28 #ifndef vtkScatterPlotPainter_h 29 #define vtkScatterPlotPainter_h 31 #include "vtkPVVTKExtensionsDefaultModule.h" 32 #include "vtkPainter.h" 33 #include "vtkWeakPointer.h" 37 class vtkInformationDoubleKey;
39 class vtkScalarsToColors;
40 class vtkScalarsToColorsPainter;
41 class vtkUnsignedCharArray;
48 void PrintSelf(ostream& os, vtkIndent indent);
49 virtual vtkMTimeType GetMTime();
55 vtkDataArray* GetArray(
int idx);
56 vtkDataArray* GetArray(
int idx, vtkDataSet* input);
57 int GetArrayComponent(
int idx);
60 static vtkInformationIntegerKey* THREED_MODE();
61 static vtkInformationIntegerKey* COLORIZE();
62 static vtkInformationIntegerKey* GLYPH_MODE();
63 static vtkInformationIntegerKey* SCALING_ARRAY_MODE();
64 static vtkInformationIntegerKey* SCALE_MODE();
65 static vtkInformationDoubleKey* SCALE_FACTOR();
66 static vtkInformationIntegerKey* ORIENTATION_MODE();
67 static vtkInformationIntegerKey* NESTED_DISPLAY_LISTS();
68 static vtkInformationIntegerKey* PARALLEL_TO_CAMERA();
70 virtual void SetSourceGlyphMappers(vtkCollection*);
71 vtkGetObjectMacro(SourceGlyphMappers, vtkCollection);
80 vtkSetMacro(ThreeDMode,
int);
81 vtkGetMacro(ThreeDMode,
int);
82 vtkBooleanMacro(ThreeDMode,
int);
91 vtkSetMacro(Colorize,
int);
92 vtkGetMacro(Colorize,
int);
93 vtkBooleanMacro(Colorize,
int);
103 vtkSetMacro(GlyphMode,
int);
104 vtkGetMacro(GlyphMode,
int);
113 vtkSetMacro(ScalingArrayMode,
int);
114 vtkGetMacro(ScalingArrayMode,
int);
122 vtkSetMacro(ScaleMode,
int);
123 vtkGetMacro(ScaleMode,
int);
131 vtkSetMacro(ScaleFactor,
double);
132 vtkGetMacro(ScaleFactor,
double);
135 vtkSetMacro(OrientationMode,
int);
136 vtkGetMacro(OrientationMode,
int);
147 vtkSetMacro(NestedDisplayLists,
int);
148 vtkGetMacro(NestedDisplayLists,
int);
149 vtkBooleanMacro(NestedDisplayLists,
int);
152 vtkSetMacro(ParallelToCamera,
int);
153 vtkGetMacro(ParallelToCamera,
int);
154 vtkBooleanMacro(ParallelToCamera,
int);
156 virtual void SetLookupTable(vtkScalarsToColors*);
157 vtkGetObjectMacro(LookupTable, vtkScalarsToColors);
162 vtkPolyData* GetGlyphSource(
int id = 0);
170 virtual void ReleaseGraphicsResources(vtkWindow* window);
172 virtual void UpdateBounds(
double bounds[6]);
173 vtkInformation* GetInputArrayInformation(
int idx);
182 virtual void RenderInternal(
183 vtkRenderer* renderer, vtkActor* actor,
unsigned long typeflags,
bool forceCompileOnly);
193 virtual void ReportReferences(vtkGarbageCollector* collector);
194 virtual void ProcessInformation(vtkInformation* info);
200 virtual void UpdatePainterInformation();
205 vtkUnsignedCharArray* GetColors();
207 virtual void PrepareForRendering(vtkRenderer* renderer, vtkActor* actor);
209 vtkRenderer* renderer, vtkActor* actor,
unsigned long typeflags,
bool forceCompileOnly);
211 vtkRenderer* renderer, vtkActor* actor,
unsigned long typeflags,
bool forceCompileOnly);
216 void ReleaseDisplayList();
unsigned int DisplayListId
vtkScalarsToColors * LookupTable
vtkTimeStamp ColorPainterUpdateTime
vtkScalarsToColorsPainter * ScalarsToColorsPainter
unsigned int SelectionColorId
vtkCollection * SourceGlyphMappers