00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPointsPainter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00026 #ifndef __vtkPointsPainter_h 00027 #define __vtkPointsPainter_h 00028 00029 #include "vtkPrimitivePainter.h" 00030 00031 class VTK_RENDERING_EXPORT vtkPointsPainter : public vtkPrimitivePainter 00032 { 00033 public: 00034 static vtkPointsPainter* New(); 00035 vtkTypeMacro(vtkPointsPainter, vtkPrimitivePainter); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00038 protected: 00039 vtkPointsPainter(); 00040 ~vtkPointsPainter(); 00041 00043 00045 virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n, 00046 vtkUnsignedCharArray* c, vtkDataArray* t, vtkRenderer* ren); 00047 private: 00048 vtkPointsPainter(const vtkPointsPainter&); // Not implemented. 00049 void operator=(const vtkPointsPainter&); // Not implemented. 00050 }; 00052 00053 #endif