00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00025 #ifndef __vtkHardwareSelectionPolyDataPainter_h
00026 #define __vtkHardwareSelectionPolyDataPainter_h
00027
00028 #include "vtkStandardPolyDataPainter.h"
00029
00030 class VTK_RENDERING_EXPORT vtkHardwareSelectionPolyDataPainter :
00031 public vtkStandardPolyDataPainter
00032 {
00033 public:
00034 static vtkHardwareSelectionPolyDataPainter* New();
00035 vtkTypeMacro(vtkHardwareSelectionPolyDataPainter, vtkStandardPolyDataPainter);
00036 void PrintSelf(ostream& os, vtkIndent indent);
00037
00039
00041 vtkSetMacro(EnableSelection, int);
00042 vtkGetMacro(EnableSelection, int);
00043 vtkBooleanMacro(EnableSelection, int);
00045
00046
00047 protected:
00048 vtkHardwareSelectionPolyDataPainter();
00049 ~vtkHardwareSelectionPolyDataPainter();
00050
00052
00054 virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
00055 unsigned long typeflags, bool forceCompileOnly);
00057
00058 void DrawCells(int mode, vtkCellArray *connectivity,
00059 vtkIdType startCellId, vtkRenderer *renderer);
00060
00061 int EnableSelection;
00062 vtkIdType TotalCells;
00063 private:
00064 vtkHardwareSelectionPolyDataPainter(const vtkHardwareSelectionPolyDataPainter&);
00065 void operator=(const vtkHardwareSelectionPolyDataPainter&);
00066
00067 };
00068
00069 #endif
00070
00071