NAME
vtkBooleanStructuredPoints - combine two or more structured point sets
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkBooleanStructuredPoints.h"
class VTK_EXPORT vtkBooleanStructuredPoints : public vtkFilter
vtkBooleanStructuredPoints();
static vtkBooleanStructuredPoints *New() {return new vtkBooleanStructuredPoints;};
const char *GetClassName() {return "vtkBooleanStructuredPoints";};
void PrintSelf(ostream& os, vtkIndent indent);
void AddInput(vtkStructuredPoints *in);
void AddInput(vtkStructuredPoints &in) {this->AddInput(&in);};
void RemoveInput(vtkStructuredPoints *in);
void RemoveInput(vtkStructuredPoints &in) {this->RemoveInput(&in);};
vtkStructuredPointsCollection *GetInput() {return &(this->InputList);};
void Update();
void Append(vtkStructuredPoints *);
void SetOperationType(int);
int GetOperationType();
void SetOperationTypeToUnion()
{this->SetOperationType(VTK_UNION_OPERATOR);};
void SetOperationTypeToIntersection()
{this->SetOperationType(VTK_INTERSECTION_OPERATOR);};
void SetOperationTypeToDifference()
{this->SetOperationType(VTK_DIFFERENCE_OPERATOR);};
char *GetOperationTypeAsString();
void SetSampleDimensions(int i, int j, int k);
void SetSampleDimensions(int dim[3]);
int *GetSampleDimensions();
void GetSampleDimensions(int data[3]);
void SetModelBounds(float *bounds);
void SetModelBounds(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax);
float *GetModelBounds();
void GetModelBounds(float data[6]);
vtkStructuredPoints *GetOutput() {return (vtkStructuredPoints *)this->Output;};
DESCRIPTION
vtkBooleanStructuredPoints is a filter that performs boolean combinations on two or more input structured point sets. Operations supported include union, intersection, and difference. A special method is provided that allows incremental appending of data to the filter output.
CAVEATS
To boolean two structured point datasets together requires that the dimensions of each dataset is identical. The origin and data spacing are ignored.
DEFINED MACROS
VTK_UNION_OPERATOR 0
VTK_INTERSECTION_OPERATOR 1
VTK_DIFFERENCE_OPERATOR 2
SUMMARY
void SetOperationType(int)
Specify the type of boolean operation.
char *GetOperationTypeAsString(void)
Get the output of this filter. Usual data generation method list of data sets to append together pointer to operation function BTX ETX boolean is performed on this resolution in this space various operations Return the boolean operation type as a descriptive character string.
vtkBooleanStructuredPoints()
Construct with sample resolution of (50,50,50) and automatic computation of sample bounds. Initial boolean operation is union.
void AddInput(vtkStructuredPoints *sp)
Add another structured point set to the list of objects to boolean.
void RemoveInput(vtkStructuredPoints *sp)
Remove an object from the list of objects to boolean.
void Append(vtkStructuredPoints *sp)
Perform boolean operations by appending to current output data.
void SetSampleDimensions(int i, int j, int k)
Set the i-j-k dimensions on which to perform boolean operation.
void SetModelBounds(float *bounds)
Set the size of the volume on which to perform the sampling.