VTK
dox/Rendering/vtkClipPlanesPainter.h
Go to the documentation of this file.
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 
00039   virtual void UpdateBounds(double bounds[6]);
00040 
00041 protected:
00042   vtkClipPlanesPainter();
00043   ~vtkClipPlanesPainter();
00044   
00047   virtual void ProcessInformation(vtkInformation*);
00048   
00049   void SetClippingPlanes(vtkPlaneCollection*);
00050   vtkPlaneCollection* ClippingPlanes;
00051 private:
00052   vtkClipPlanesPainter(const vtkClipPlanesPainter&); // Not implemented.
00053   void operator=(const vtkClipPlanesPainter&); // Not implemented.
00054 
00055 };
00056 
00057 #endif