VTK
dox/Rendering/Core/vtkLinesPainter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkLinesPainter.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 =========================================================================*/
00027 #ifndef __vtkLinesPainter_h
00028 #define __vtkLinesPainter_h
00029 
00030 #include "vtkRenderingCoreModule.h" // For export macro
00031 #include "vtkPrimitivePainter.h"
00032 
00033 class VTKRENDERINGCORE_EXPORT vtkLinesPainter : public vtkPrimitivePainter
00034 {
00035 public:
00036   static vtkLinesPainter* New();
00037   vtkTypeMacro(vtkLinesPainter, vtkPrimitivePainter);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00040 protected:
00041   vtkLinesPainter();
00042   ~vtkLinesPainter();
00043 
00044   int RenderPolys; // Flag indicating if the line loops are to be closed.
00045 
00047 
00049   virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
00050                               unsigned long typeflags, bool forceCompileOnly);
00052 
00054 
00056   virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n,
00057     vtkUnsignedCharArray* c, vtkDataArray* t, vtkRenderer* ren);
00058 private:
00059   vtkLinesPainter(const vtkLinesPainter&); // Not implemented.
00060   void operator=(const vtkLinesPainter&); // Not implemented.
00061 };
00063 
00064 
00065 
00066 #endif
00067