VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkClipPlanesPainter.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 =========================================================================*/ 00020 #ifndef vtkClipPlanesPainter_h 00021 #define vtkClipPlanesPainter_h 00022 00023 #include "vtkRenderingOpenGLModule.h" // For export macro 00024 #include "vtkPainter.h" 00025 00026 class vtkInformationObjectBaseKey; 00027 class vtkPlaneCollection; 00028 00029 class VTKRENDERINGOPENGL_EXPORT vtkClipPlanesPainter : public vtkPainter 00030 { 00031 public: 00032 static vtkClipPlanesPainter* New(); 00033 vtkTypeMacro(vtkClipPlanesPainter, vtkPainter); 00034 void PrintSelf(ostream& os, vtkIndent indent); 00035 00037 static vtkInformationObjectBaseKey* CLIPPING_PLANES(); 00038 00039 protected: 00040 vtkClipPlanesPainter(); 00041 ~vtkClipPlanesPainter(); 00042 00045 virtual void ProcessInformation(vtkInformation*); 00046 00047 void SetClippingPlanes(vtkPlaneCollection*); 00048 vtkPlaneCollection* ClippingPlanes; 00049 private: 00050 vtkClipPlanesPainter(const vtkClipPlanesPainter&); // Not implemented. 00051 void operator=(const vtkClipPlanesPainter&); // Not implemented. 00052 00053 }; 00054 00055 #endif