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);
36 
40  static vtkInformationObjectBaseKey* CLIPPING_PLANES();
41 
42 protected:
45 
50  virtual void ProcessInformation(vtkInformation*);
51 
52  void SetClippingPlanes(vtkPlaneCollection*);
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.
virtual void ProcessInformation(vtkInformation *)
Called before RenderInternal() if the Information has been changed since the last time this method wa...
Definition: vtkPainter.h:233
maintain a list of planes
abstract class defining interface for painter that manages clipping.
vtkPlaneCollection * ClippingPlanes
a simple class to control print indentation
Definition: vtkIndent.h:39
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...
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.