VTK
|
approximate nonlinear FEM elements with simplices More...
#include <vtkTessellatorFilter.h>
Inherits vtkUnstructuredGridAlgorithm.
Public Types | |
typedef vtkUnstructuredGridAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTessellatorFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetTessellator (vtkStreamingTessellator *) |
virtual vtkStreamingTessellator * | GetTessellator () |
virtual void | SetSubdivider (vtkDataSetEdgeSubdivisionCriterion *) |
virtual vtkDataSetEdgeSubdivisionCriterion * | GetSubdivider () |
virtual unsigned long | GetMTime () |
virtual void | SetOutputDimension (int) |
virtual int | GetOutputDimension () |
int | GetOutputDimension () const |
virtual void | SetMaximumNumberOfSubdivisions (int num_subdiv_in) |
int | GetMaximumNumberOfSubdivisions () |
virtual void | SetChordError (double ce) |
double | GetChordError () |
virtual void | ResetFieldCriteria () |
virtual void | SetFieldCriterion (int field, double chord) |
virtual int | GetMergePoints () |
virtual void | SetMergePoints (int) |
virtual void | MergePointsOn () |
virtual void | MergePointsOff () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkTessellatorFilter * | SafeDownCast (vtkObjectBase *o) |
static vtkTessellatorFilter * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTessellatorFilter () | |
~vtkTessellatorFilter () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
void | SetupOutput (vtkDataSet *input, vtkUnstructuredGrid *output) |
void | MergeOutputPoints (vtkUnstructuredGrid *input, vtkUnstructuredGrid *output) |
void | Teardown () |
void | OutputPoint (const double *) |
void | OutputLine (const double *, const double *) |
void | OutputTriangle (const double *, const double *, const double *) |
void | OutputTetrahedron (const double *, const double *, const double *, const double *) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Static Protected Member Functions | |
static void | AddAPoint (const double *, vtkEdgeSubdivisionCriterion *, void *, const void *) |
static void | AddALine (const double *, const double *, vtkEdgeSubdivisionCriterion *, void *, const void *) |
static void | AddATriangle (const double *, const double *, const double *, vtkEdgeSubdivisionCriterion *, void *, const void *) |
static void | AddATetrahedron (const double *, const double *, const double *, const double *, vtkEdgeSubdivisionCriterion *, void *, const void *) |
Protected Attributes | |
vtkStreamingTessellator * | Tessellator |
vtkDataSetEdgeSubdivisionCriterion * | Subdivider |
int | OutputDimension |
int | MergePoints |
vtkPointLocator * | Locator |
vtkUnstructuredGrid * | OutputMesh |
vtkPoints * | OutputPoints |
vtkDataArray ** | OutputAttributes |
int * | OutputAttributeIndices |
approximate nonlinear FEM elements with simplices
$Date$ $Revision$
This class approximates nonlinear FEM elements with linear simplices.
Warning: This class is temporary and will go away at some point after ParaView 1.4.0.
This filter rifles through all the cells in an input vtkDataSet. It tesselates each cell and uses the vtkStreamingTessellator and vtkDataSetEdgeSubdivisionCriterion classes to generate simplices that approximate the nonlinear mesh using some approximation metric (encoded in the particular vtkDataSetEdgeSubdivisionCriterion::EvaluateEdge implementation). The simplices are placed into the filter's output vtkDataSet object by the callback routines AddATetrahedron, AddATriangle, and AddALine, which are registered with the triangulator.
The output mesh will have geometry and any fields specified as attributes in the input mesh's point data. The attribute's copy flags are honored, except for normals.
Definition at line 73 of file vtkTessellatorFilter.h.
typedef vtkUnstructuredGridAlgorithm vtkTessellatorFilter::Superclass |
Definition at line 76 of file vtkTessellatorFilter.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkTessellatorFilter* vtkTessellatorFilter::NewInstance | ( | ) | const |
void vtkTessellatorFilter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set the dimension of the output tessellation. Cells in dimensions higher than the given value will have their boundaries of dimension OutputDimension tessellated. For example, if OutputDimension is 2, a hexahedron's quadrilateral faces would be tessellated rather than its interior.
|
virtual |
Set the dimension of the output tessellation. Cells in dimensions higher than the given value will have their boundaries of dimension OutputDimension tessellated. For example, if OutputDimension is 2, a hexahedron's quadrilateral faces would be tessellated rather than its interior.
|
inline |
Set the dimension of the output tessellation. Cells in dimensions higher than the given value will have their boundaries of dimension OutputDimension tessellated. For example, if OutputDimension is 2, a hexahedron's quadrilateral faces would be tessellated rather than its interior.
Definition at line 206 of file vtkTessellatorFilter.h.
|
virtual |
These are convenience routines for setting properties maintained by the tessellator and subdivider. They are implemented here for ParaView's sake.
int vtkTessellatorFilter::GetMaximumNumberOfSubdivisions | ( | ) |
These are convenience routines for setting properties maintained by the tessellator and subdivider. They are implemented here for ParaView's sake.
|
virtual |
These are convenience routines for setting properties maintained by the tessellator and subdivider. They are implemented here for ParaView's sake.
double vtkTessellatorFilter::GetChordError | ( | ) |
These are convenience routines for setting properties maintained by the tessellator and subdivider. They are implemented here for ParaView's sake.
|
virtual |
These methods are for the ParaView client.
|
virtual |
These methods are for the ParaView client.
|
virtual |
The adaptive tessellation will output vertices that are not shared among cells, even where they should be. This can be corrected to some extents with a vtkMergeFilter. By default, the filter is off and vertices will not be shared.
|
virtual |
The adaptive tessellation will output vertices that are not shared among cells, even where they should be. This can be corrected to some extents with a vtkMergeFilter. By default, the filter is off and vertices will not be shared.
|
virtual |
The adaptive tessellation will output vertices that are not shared among cells, even where they should be. This can be corrected to some extents with a vtkMergeFilter. By default, the filter is off and vertices will not be shared.
|
virtual |
The adaptive tessellation will output vertices that are not shared among cells, even where they should be. This can be corrected to some extents with a vtkMergeFilter. By default, the filter is off and vertices will not be shared.
|
protectedvirtual |
|
protected |
Called by RequestData to set up a multitude of member variables used by the per-primitive output functions (OutputLine, OutputTriangle, and maybe one day... OutputTetrahedron).
|
protected |
Called by RequestData to merge output points.
|
protected |
Reset the temporary variables used during the filter's RequestData() method.
|
protectedvirtual |
Run the filter; produce a polygonal approximation to the grid.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 154 of file vtkTessellatorFilter.h.
|
protected |
Definition at line 155 of file vtkTessellatorFilter.h.
|
protected |
Definition at line 156 of file vtkTessellatorFilter.h.
|
protected |
Definition at line 157 of file vtkTessellatorFilter.h.
|
protected |
Definition at line 158 of file vtkTessellatorFilter.h.
|
protected |
These member variables are set by SetupOutput for use inside the callback members OutputLine and OutputTriangle.
Definition at line 163 of file vtkTessellatorFilter.h.
|
protected |
These member variables are set by SetupOutput for use inside the callback members OutputLine and OutputTriangle.
Definition at line 164 of file vtkTessellatorFilter.h.
|
protected |
These member variables are set by SetupOutput for use inside the callback members OutputLine and OutputTriangle.
Definition at line 165 of file vtkTessellatorFilter.h.
|
protected |
These member variables are set by SetupOutput for use inside the callback members OutputLine and OutputTriangle.
Definition at line 166 of file vtkTessellatorFilter.h.