ParaView
vtkPVClipClosedSurface.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: $RCSfile: vtkPVClipClosedSurface.cxx,v $
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 =========================================================================*/
23 #ifndef vtkPVClipClosedSurface_h
24 #define vtkPVClipClosedSurface_h
25 
26 #include "vtkClipClosedSurface.h"
27 #include "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
28 
29 class vtkPlane;
30 
31 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkPVClipClosedSurface : public vtkClipClosedSurface
32 {
33 public:
34  vtkTypeMacro(vtkPVClipClosedSurface, vtkClipClosedSurface);
35  void PrintSelf(ostream& os, vtkIndent indent);
36  static vtkPVClipClosedSurface* New();
37 
39 
42  vtkSetMacro(InsideOut, int);
43  vtkGetMacro(InsideOut, int);
44  vtkBooleanMacro(InsideOut, int);
46 
50  void SetClippingPlane(vtkPlane* plane);
51 
52 protected:
55 
56  virtual int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
57  vtkInformationVector* outputVector);
58 
59  int InsideOut;
60  vtkPlane* ClippingPlane;
61 
62 private:
63  vtkPVClipClosedSurface(const vtkPVClipClosedSurface&) VTK_DELETE_FUNCTION;
64  void operator=(const vtkPVClipClosedSurface&) VTK_DELETE_FUNCTION;
65 };
66 
67 #endif
Clipper for generating closed surfaces.