55#ifndef vtkTrimmedExtrusionFilter_h
56#define vtkTrimmedExtrusionFilter_h
58#include "vtkFiltersModelingModule.h"
61VTK_ABI_NAMESPACE_BEGIN
79 vtkSetVector3Macro(ExtrusionDirection,
double);
80 vtkGetVectorMacro(ExtrusionDirection,
double, 3);
106 vtkSetMacro(Capping,
int);
107 vtkGetMacro(Capping,
int);
108 vtkBooleanMacro(Capping,
int);
139 MINIMUM_DISTANCE = 1,
140 MAXIMUM_DISTANCE = 2,
141 AVERAGE_DISTANCE = 3,
188 double ExtrusionDirection[3];
an abstract base class for locators which find cells
Proxy object to connect input/output ports.
list of point or cell ids
a simple class to control print indentation
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
extrude polygonal data trimmed by a second input surface
void SetCappingStrategyToMaximumDistance()
Specify a strategy for capping.
vtkPolyData * GetTrimSurface(vtkInformationVector *sourceInfo)
Return a pointer to the enclosing surface.
void ExtrudeEdges(vtkPolyData *input, vtkPolyData *output, vtkIdType numPts, vtkIdType numCells)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void SetCappingStrategyToIntersection()
Specify a strategy for capping.
static vtkTrimmedExtrusionFilter * New()
Create object with extrusion direction (0,0,1) and capping on.
void SetLocator(vtkAbstractCellLocator *locator)
Specify a cell locator.
void SetTrimSurfaceData(vtkPolyData *pd)
Specify the surface which trims the surface.
vtkIdType GetNeighborCount(vtkPolyData *mesh, vtkIdType inCellId, vtkIdType p1, vtkIdType p2, vtkIdList *cellIds)
void SetTrimSurfaceConnection(vtkAlgorithmOutput *algOutput)
Specify the surface which trims the surface.
void SetExtrusionStrategyToAllEdges()
Specify a strategy for extrusion.
~vtkTrimmedExtrusionFilter() override
vtkTrimmedExtrusionFilter()
void SetExtrusionStrategyToBoundaryEdges()
Specify a strategy for extrusion.
void AdjustPoints(vtkPolyData *mesh, vtkIdType numPts, vtkIdType numCells, unsigned char *hots, vtkPoints *newPts)
void SetCappingStrategyToMinimumDistance()
Specify a strategy for capping.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyData * GetTrimSurface()
Return a pointer to the enclosing surface.
vtkAbstractCellLocator * Locator
void SetCappingStrategyToAverageDistance()
Specify a strategy for capping.