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=========================================================================*/
25#ifndef vtkPistonSlice_h
26#define vtkPistonSlice_h
27
28#include "vtkPistonAlgorithm.h"
29
30class vtkPlane;
31
32class VTKACCELERATORSPISTON_EXPORT vtkPistonSlice : public vtkPistonAlgorithm
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent);
38
40
43 vtkSetMacro(Offset, float);
44 vtkGetMacro(Offset, float);
46
50 void SetClippingPlane( vtkPlane * plane );
51
52protected:
55
57 vtkInformation* request, vtkInformationVector** inputVector,
58 vtkInformationVector* outputVector, int requestFromOutputPort,
59 vtkMTimeType* mtime);
60
64 virtual int RequestData(vtkInformation* request,
65 vtkInformationVector** inputVector,
66 vtkInformationVector* outputVector);
67
68 float Offset;
70
71private:
72 vtkPistonSlice(const vtkPistonSlice&) VTK_DELETE_FUNCTION;
73 void operator=(const vtkPistonSlice&) VTK_DELETE_FUNCTION;
74
75};
76
77#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only PistonDataObjects.
A filter that slices on the GPU.
static vtkPistonSlice * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Method that does the actual calculation.
virtual int ComputePipelineMTime(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, int requestFromOutputPort, vtkMTimeType *mtime)
A special version of ProcessRequest meant specifically for the pipeline modified time request.
void SetClippingPlane(vtkPlane *plane)
Set the clipping plane.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkPlane * Plane
perform various plane computations
Definition: vtkPlane.h:38
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248