VTK
dox/Rendering/Core/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 "vtkRenderingCoreModule.h" // For export macro
00024 #include "vtkPainter.h"
00025 
00026 class vtkInformationObjectBaseKey;
00027 class vtkPlaneCollection;
00028 
00029 class VTKRENDERINGCORE_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 
00040   virtual void UpdateBounds(double bounds[6]);
00041 
00042 protected:
00043   vtkClipPlanesPainter();
00044   ~vtkClipPlanesPainter();
00045 
00048   virtual void ProcessInformation(vtkInformation*);
00049 
00050   void SetClippingPlanes(vtkPlaneCollection*);
00051   vtkPlaneCollection* ClippingPlanes;
00052 private:
00053   vtkClipPlanesPainter(const vtkClipPlanesPainter&); // Not implemented.
00054   void operator=(const vtkClipPlanesPainter&); // Not implemented.
00055 
00056 };
00057 
00058 #endif