Go to the documentation of this file.
67 #ifndef vtkTrimmedExtrusionFilter_h
68 #define vtkTrimmedExtrusionFilter_h
70 #include "vtkFiltersModelingModule.h"
90 vtkSetVector3Macro(ExtrusionDirection,
double);
91 vtkGetVectorMacro(ExtrusionDirection,
double,3);
117 vtkSetMacro(Capping,
int);
118 vtkGetMacro(Capping,
int);
119 vtkBooleanMacro(Capping,
int);
143 { this->SetExtrusionStrategy(BOUNDARY_EDGES); }
145 { this->SetExtrusionStrategy(ALL_EDGES); }
182 { this->SetCappingStrategy(INTERSECTION); }
184 { this->SetCappingStrategy(MINIMUM_DISTANCE); }
186 { this->SetCappingStrategy(MAXIMUM_DISTANCE); }
188 { this->SetCappingStrategy(AVERAGE_DISTANCE); }
205 double ExtrusionDirection[3];
represent and manipulate 3D points
static vtkTrimmedExtrusionFilter * New()
Create object with extrusion direction (0,0,1) and capping on.
void SetCappingStrategyToMaximumDistance()
void SetExtrusionStrategyToBoundaryEdges()
void SetCappingStrategyToMinimumDistance()
void SetCappingStrategyToAverageDistance()
vtkTrimmedExtrusionFilter()
void SetExtrusionStrategyToAllEdges()
vtkPolyData * GetTrimSurface()
Return a pointer to the enclosing surface.
void SetTrimSurfaceConnection(vtkAlgorithmOutput *algOutput)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void AdjustPoints(vtkPolyData *mesh, vtkIdType numPts, vtkIdType numCells, unsigned char *hots, vtkPoints *newPts)
a simple class to control print indentation
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
list of point or cell ids
extrude polygonal data trimmed by a second input surface
an abstract base class for locators which find cells
void ExtrudeEdges(vtkPolyData *input, vtkPolyData *output, vtkIdType numPts, vtkIdType numCells)
vtkPolyData * GetTrimSurface(vtkInformationVector *sourceInfo)
Proxy object to connect input/output ports.
void SetTrimSurfaceData(vtkPolyData *pd)
Specify the surface which trims the surface.
void SetLocator(vtkAbstractCellLocator *locator)
Specify a cell locator.
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkIdType GetNeighborCount(vtkPolyData *mesh, vtkIdType inCellId, vtkIdType p1, vtkIdType p2, vtkIdList *cellIds)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetCappingStrategyToIntersection()
~vtkTrimmedExtrusionFilter() override
vtkAbstractCellLocator * Locator
Superclass for algorithms that produce only polydata as output.