VTK
vtkLinesPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLinesPainter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
27 #ifndef __vtkLinesPainter_h
28 #define __vtkLinesPainter_h
29 
30 #include "vtkPrimitivePainter.h"
31 
33 {
34 public:
35  static vtkLinesPainter* New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
39 protected:
41  ~vtkLinesPainter();
42 
43  int RenderPolys; // Flag indicating if the line loops are to be closed.
44 
46 
48  virtual void RenderInternal(vtkRenderer* renderer, vtkActor* actor,
49  unsigned long typeflags, bool forceCompileOnly);
51 
53 
55  virtual int RenderPrimitive(unsigned long flags, vtkDataArray* n,
57 private:
58  vtkLinesPainter(const vtkLinesPainter&); // Not implemented.
59  void operator=(const vtkLinesPainter&); // Not implemented.
60 };
62 
63 
64 
65 #endif
66