Go to the documentation of this file.
29 #ifndef vtkCellTypeSource_h
30 #define vtkCellTypeSource_h
32 #include "vtkFiltersSourcesModule.h"
54 vtkGetMacro(CellType,
int);
67 vtkSetMacro(CellOrder,
int);
68 vtkGetMacro(CellOrder,
int);
91 vtkSetMacro(CompleteQuadraticSimplicialElements,
bool);
92 vtkGetMacro(CompleteQuadraticSimplicialElements,
bool);
93 vtkBooleanMacro(CompleteQuadraticSimplicialElements,
bool);
102 vtkGetMacro(PolynomialFieldOrder,
int);
118 vtkSetClampMacro(OutputPrecision,
int, 0, 1);
119 vtkGetMacro(OutputPrecision,
int);
131 vtkGetVector3Macro(BlocksDimensions,
int);
164 int BlocksDimensions[3];
void GenerateLagrangeTets(vtkUnstructuredGrid *, int extent[6])
void SetBlocksDimensions(int, int, int)
void GenerateLagrangeCurves(vtkUnstructuredGrid *, int extent[6])
void GeneratePyramids(vtkUnstructuredGrid *, int extent[6])
Create cells of a given type.
void GenerateLagrangeHexes(vtkUnstructuredGrid *, int extent[6])
void GenerateTetras(vtkUnstructuredGrid *, int extent[6])
~vtkCellTypeSource() override
void GenerateQuadraticTetras(vtkUnstructuredGrid *, int extent[6])
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int GetCellDimension()
Get the dimension of the cell blocks to be generated.
void GenerateLagrangeQuads(vtkUnstructuredGrid *, int extent[6])
static vtkCellTypeSource * New()
Standard methods for instantiation, obtaining type and printing instance values.
void GenerateQuadraticTriangles(vtkUnstructuredGrid *, int extent[6])
bool CompleteQuadraticSimplicialElements
double GetValueOfOrder(int order, double coords[3])
a simple class to control print indentation
void GenerateQuadraticQuads(vtkUnstructuredGrid *, int extent[6])
void GenerateTriangles(vtkUnstructuredGrid *, int extent[6])
void GenerateQuads(vtkUnstructuredGrid *, int extent[6])
void GenerateQuadraticWedges(vtkUnstructuredGrid *, int extent[6])
void GenerateLagrangeWedges(vtkUnstructuredGrid *, int extent[6])
virtual void ComputeFields(vtkUnstructuredGrid *)
void GenerateWedges(vtkUnstructuredGrid *, int extent[6])
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void GenerateQuadraticPyramids(vtkUnstructuredGrid *, int extent[6])
void GenerateHexahedron(vtkUnstructuredGrid *, int extent[6])
Superclass for algorithms that produce only unstructured grid as output.
void SetCellType(int cellType)
Set/Get the type of cells to be generated.
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GenerateQuadraticHexahedron(vtkUnstructuredGrid *, int extent[6])
void GenerateLagrangeTris(vtkUnstructuredGrid *, int extent[6])
merge exactly coincident points
void SetBlocksDimensions(int *)
Set the number of cells in each direction.