VTK
vtkPistonSlice.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPistonSlice.h
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 =========================================================================*/
24 #ifndef vtkPistonSlice_h
25 #define vtkPistonSlice_h
26 
27 #include "vtkPistonAlgorithm.h"
28 
29 class vtkPlane;
30 
31 class VTKACCELERATORSPISTON_EXPORT vtkPistonSlice : public vtkPistonAlgorithm
32 {
33 public:
35  static vtkPistonSlice *New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  vtkSetMacro(Offset, float);
41  vtkGetMacro(Offset, float);
43 
45  void SetClippingPlane( vtkPlane * plane );
46 
47 protected:
50 
51  virtual int ComputePipelineMTime(
52  vtkInformation* request, vtkInformationVector** inputVector,
53  vtkInformationVector* outputVector, int requestFromOutputPort,
54  unsigned long* mtime);
55 
57 
58  virtual int RequestData(vtkInformation* request,
59  vtkInformationVector** inputVector,
60  vtkInformationVector* outputVector);
62 
63  float Offset;
65 
66 private:
67  vtkPistonSlice(const vtkPistonSlice&); // Not implemented.
68  void operator=(const vtkPistonSlice&); // Not implemented.
69 
70 };
71 
72 #endif
vtkPlane
perform various plane computations
Definition: vtkPlane.h:37
vtkPistonAlgorithm.h
vtkPistonSlice::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPistonSlice::vtkPistonSlice
vtkPistonSlice()
vtkPistonSlice::~vtkPistonSlice
~vtkPistonSlice()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPistonAlgorithm
Superclass for algorithms that produce only PistonDataObjects.
Definition: vtkPistonAlgorithm.h:44
vtkPistonSlice
A filter that slices on the GPU.
Definition: vtkPistonSlice.h:32
vtkPistonSlice::New
static vtkPistonSlice * New()
vtkPistonSlice::Plane
vtkPlane * Plane
Definition: vtkPistonSlice.h:64
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkPistonSlice::SetClippingPlane
void SetClippingPlane(vtkPlane *plane)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkPistonSlice::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkPistonSlice::Offset
float Offset
Definition: vtkPistonSlice.h:63
vtkPistonSlice::ComputePipelineMTime
virtual int ComputePipelineMTime(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, int requestFromOutputPort, unsigned long *mtime)