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 "vtkPainter.h" 00024 00025 class vtkInformationObjectBaseKey; 00026 class vtkPlaneCollection; 00027 00028 class VTK_RENDERING_EXPORT vtkClipPlanesPainter : public vtkPainter 00029 { 00030 public: 00031 static vtkClipPlanesPainter* New(); 00032 vtkTypeMacro(vtkClipPlanesPainter, vtkPainter); 00033 void PrintSelf(ostream& os, vtkIndent indent); 00034 00036 static vtkInformationObjectBaseKey* CLIPPING_PLANES(); 00037 00038 protected: 00039 vtkClipPlanesPainter(); 00040 ~vtkClipPlanesPainter(); 00041 00044 virtual void ProcessInformation(vtkInformation*); 00045 00046 void SetClippingPlanes(vtkPlaneCollection*); 00047 vtkPlaneCollection* ClippingPlanes; 00048 private: 00049 vtkClipPlanesPainter(const vtkClipPlanesPainter&); // Not implemented. 00050 void operator=(const vtkClipPlanesPainter&); // Not implemented. 00051 00052 }; 00053 00054 #endif