VTK
vtkClipPlanesPainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkClipPlanesPainter.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 =========================================================================*/
21 #ifndef vtkClipPlanesPainter_h
22 #define vtkClipPlanesPainter_h
23 
24 #include "vtkRenderingOpenGLModule.h" // For export macro
25 #include "vtkPainter.h"
26 
28 class vtkPlaneCollection;
29 
30 class VTKRENDERINGOPENGL_EXPORT vtkClipPlanesPainter : public vtkPainter
31 {
32 public:
33  static vtkClipPlanesPainter* New();
35  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
36 
40  static vtkInformationObjectBaseKey* CLIPPING_PLANES();
41 
42 protected:
44  ~vtkClipPlanesPainter() VTK_OVERRIDE;
45 
50  void ProcessInformation(vtkInformation*) VTK_OVERRIDE;
51 
52  void SetClippingPlanes(vtkPlaneCollection*);
53  vtkPlaneCollection* ClippingPlanes;
54 private:
55  vtkClipPlanesPainter(const vtkClipPlanesPainter&) VTK_DELETE_FUNCTION;
56  void operator=(const vtkClipPlanesPainter&) VTK_DELETE_FUNCTION;
57 
58 };
59 
60 #endif
Store vtkAlgorithm input/output information.
maintain a list of planes
abstract class defining interface for painter that manages clipping.
a simple class to control print indentation
Definition: vtkIndent.h:33
Key for vtkObjectBase values.
Abstract class for drawing poly data.
Definition: vtkPainter.h:61
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.