27 #ifndef __vtkCutMaterial_h
28 #define __vtkCutMaterial_h
30 #include "vtkFiltersParallelModule.h"
31 #include "vtkPolyDataAlgorithm.h"
38 void PrintSelf(ostream& os, vtkIndent indent);
44 vtkSetStringMacro(MaterialArrayName);
45 vtkGetStringMacro(MaterialArrayName);
50 vtkSetMacro(Material,
int);
51 vtkGetMacro(Material,
int);
56 vtkSetStringMacro(ArrayName);
57 vtkGetStringMacro(ArrayName);
62 vtkSetVector3Macro(UpVector,
double);
63 vtkGetVector3Macro(UpVector,
double);
69 vtkGetVector3Macro(MaximumPoint,
double);
70 vtkGetVector3Macro(CenterPoint,
double);
71 vtkGetVector3Macro(Normal,
double);
78 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
79 virtual int FillInputPortInformation(
int port, vtkInformation *info);
80 void ComputeMaximumPoint(vtkDataSet *input);
87 double MaximumPoint[3];
88 double CenterPoint[3];
Automatically computes the cut plane for a material array pair.