64#ifndef vtkTrimmedExtrusionFilter_h
65#define vtkTrimmedExtrusionFilter_h
67#include "vtkFiltersModelingModule.h"
87 vtkSetVector3Macro(ExtrusionDirection,
double);
88 vtkGetVectorMacro(ExtrusionDirection,
double, 3);
114 vtkSetMacro(Capping,
int);
115 vtkGetMacro(Capping,
int);
116 vtkBooleanMacro(Capping,
int);
147 MINIMUM_DISTANCE = 1,
148 MAXIMUM_DISTANCE = 2,
149 AVERAGE_DISTANCE = 3,
196 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.