#include <vtkSQ3SubdivisionFilter.h>
Definition at line 50 of file vtkSQ3SubdivisionFilter.h.
Public Methods | |
vtkTypeRevisionMacro (vtkSQ3SubdivisionFilter, vtkPolyDataToPolyDataFilter) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkSetMacro (NumberOfSubdivisions, int) | |
vtkGetMacro (NumberOfSubdivisions, int) | |
Static Public Methods | |
vtkSQ3SubdivisionFilter * | New () |
Protected Methods | |
vtkSQ3SubdivisionFilter () | |
~vtkSQ3SubdivisionFilter () | |
void | Execute () |
bool | generatePoint (vtkIdType cellId, vtkIdType &newId, vtkIdList *cellsVisited, vtkIdList *cellsPoints, vtkIdType *pts, vtkPolyData *inputDS, vtkPointData *outputPD, vtkPoints *outputPts) |
Generates a new point in the output mash. | |
void | GenerateSubdivisionPoints (vtkPolyData *inputDS, vtkPoints *outputPts, vtkPointData *outputPD, vtkCellArray *outputPolys, vtkCellData *outputCD) |
Subdivides each cell and generates new cells. | |
void | GenerateSubdivisionCells (vtkPolyData *inputDS, vtkIntArray *edgeData, vtkCellArray *outputPolys, vtkCellData *outputCD) |
void | GenerateEvenStencil (vtkIdType p1, vtkPolyData *polys, vtkIdList *stencilIds, float *weights) |
Generates a filter stencil for input points. | |
int | FindEdge (vtkPolyData *mesh, vtkIdType cellId, vtkIdType p1, vtkIdType p2, vtkIntArray *edgeData, vtkIdList *cellIds) |
Find a edge in mesh using p1 and p2. | |
vtkIdType | InterpolatePosition (vtkPoints *inputPts, vtkPoints *outputPts, vtkIdList *stencil, float *weights) |
Calculates the position of a new point using the stencil and weights. | |
Protected Attributes | |
int | NumberOfSubdivisions |
Private Methods | |
vtkSQ3SubdivisionFilter (const vtkSQ3SubdivisionFilter &) | |
void | operator= (const vtkSQ3SubdivisionFilter &) |
|
Definition at line 63 of file vtkSQ3SubdivisionFilter.h. References NumberOfSubdivisions. |
|
Definition at line 72 of file vtkSQ3SubdivisionFilter.h. |
|
|
|
Definition at line 39 of file vtkSQ3SubdivisionFilter.cxx. References GenerateSubdivisionPoints(), and NumberOfSubdivisions. |
|
Find a edge in mesh using p1 and p2.
Definition at line 360 of file vtkSQ3SubdivisionFilter.cxx. |
|
Generates a filter stencil for input points.
Definition at line 399 of file vtkSQ3SubdivisionFilter.cxx. Referenced by GenerateSubdivisionPoints(). |
|
Generates a new point in the output mash. It also ubdates the cellsVisited and cellsPoints list. The new point is added to outputPD and outputPts. Definition at line 123 of file vtkSQ3SubdivisionFilter.cxx. References InterpolatePosition(). Referenced by GenerateSubdivisionPoints(). |
|
Definition at line 289 of file vtkSQ3SubdivisionFilter.cxx. |
|
Subdivides each cell and generates new cells. The methode does this by first filtering the input and then generating new points. It uses the generatePoints method.
Definition at line 178 of file vtkSQ3SubdivisionFilter.cxx. References GenerateEvenStencil(), generatePoint(), and InterpolatePosition(). Referenced by Execute(). |
|
Calculates the position of a new point using the stencil and weights.
Definition at line 336 of file vtkSQ3SubdivisionFilter.cxx. Referenced by generatePoint(), and GenerateSubdivisionPoints(). |
|
Referenced by CvtkSq3SubdivisionView::OnDraw(). |
|
|
|
Definition at line 538 of file vtkSQ3SubdivisionFilter.cxx. References NumberOfSubdivisions. |
|
|
|
|
|
|
|
Definition at line 115 of file vtkSQ3SubdivisionFilter.h. Referenced by Execute(), PrintSelf(), and vtkSQ3SubdivisionFilter(). |