Go to the documentation of this file.
42 #ifndef vtkClipClosedSurface_h
43 #define vtkClipClosedSurface_h
57 class vtkCCSEdgeLocator;
187 double ActivePlaneColor[3];
196 unsigned long* mtime);
206 vtkPointData *pointData, vtkCCSEdgeLocator *edgeLocator,
218 vtkCCSEdgeLocator *edgeLocator,
int triangulate,
231 vtkCCSEdgeLocator *edgeLocator,
double tol,
292 int outputPointDataType);
298 const double color1[3],
const double color2[3],
const double color3[3],
299 unsigned char colors[3][3]);
represent and manipulate 3D points
@ VTK_CCS_SCALAR_MODE_NONE
GLsizei GLsizei GLenum GLenum const GLvoid * data
#define vtkGetObjectMacro(name, type)
@ VTK_CCS_SCALAR_MODE_COLORS
static vtkClipClosedSurface * New()
virtual void SetClippingPlanes(vtkPlaneCollection *planes)
represent and manipulate point attribute data
#define vtkSetVector3Macro(name, type)
a cell that represents an n-sided polygon
dynamic, self-adjusting array of unsigned char
#define vtkTypeMacro(thisClass, superclass)
void PrintSelf(ostream &os, vtkIndent indent)
void SetScalarModeToNone()
GLsizei const GLfloat * points
void SetScalarModeToColors()
void ClipAndContourPolys(vtkPoints *points, vtkDoubleArray *pointScalars, vtkPointData *pointData, vtkCCSEdgeLocator *edgeLocator, int triangulate, vtkCellArray *inputCells, vtkCellArray *outputPolys, vtkCellArray *outputLines, vtkCellData *inPolyData, vtkCellData *outPolyData, vtkCellData *outLineData)
void SetScalarModeToLabels()
static void BreakTriangleStrips(vtkCellArray *inputStrips, vtkCellArray *outputPolys, vtkUnsignedCharArray *inputScalars, vtkIdType firstStripScalar, vtkUnsignedCharArray *outputScalars, const unsigned char color[3])
#define vtkSetClampMacro(name, type, min, max)
static void SqueezeOutputPoints(vtkPolyData *output, vtkPoints *points, vtkPointData *pointData, int outputPointDataType)
Clip a closed surface with a plane collection.
#define vtkGetVector3Macro(name, type)
static int InterpolateEdge(vtkPoints *points, vtkPointData *pointData, vtkCCSEdgeLocator *edgeLocator, double tol, vtkIdType i0, vtkIdType i1, double v0, double v1, vtkIdType &i)
virtual int ComputePipelineMTime(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, int requestFromOutputPort, unsigned long *mtime)
void TriangulateContours(vtkPolyData *data, vtkIdType firstLine, vtkIdType numLines, vtkCellArray *outputPolys, const double normal[3])
const char * GetScalarModeAsString()
represent and manipulate cell attribute data
a simple class to control print indentation
object to represent cell connectivity
int TriangulatePolygon(vtkIdList *polygon, vtkPoints *points, vtkCellArray *triangles)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
list of point or cell ids
#define VTKFILTERSGENERAL_EXPORT
#define vtkGetMacro(name, type)
vtkPlaneCollection * ClippingPlanes
int TriangulationErrorDisplay
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
dynamic, self-adjusting array of vtkIdType
static void CreateColorValues(const double color1[3], const double color2[3], const double color3[3], unsigned char colors[3][3])
static void CopyPolygons(vtkCellArray *inputPolys, vtkCellArray *outputPolys, vtkUnsignedCharArray *inputScalars, vtkIdType firstPolyScalar, vtkUnsignedCharArray *outputScalars, const unsigned char color[3])
concrete dataset represents vertices, lines, polygons, and triangle strips
dynamic, self-adjusting array of double
maintain a list of planes
@ VTK_CCS_SCALAR_MODE_LABELS
void ClipLines(vtkPoints *points, vtkDoubleArray *pointScalars, vtkPointData *pointData, vtkCCSEdgeLocator *edgeLocator, vtkCellArray *inputCells, vtkCellArray *outputLines, vtkCellData *inCellData, vtkCellData *outLineData)
static void BreakPolylines(vtkCellArray *inputLines, vtkCellArray *outputLines, vtkUnsignedCharArray *inputScalars, vtkIdType firstLineScalar, vtkUnsignedCharArray *outputScalars, const unsigned char color[3])
Superclass for algorithms that produce only polydata as output.