 |
VTK
9.0.1
|
Go to the documentation of this file.
33 #ifndef vtkChacoReader_h
34 #define vtkChacoReader_h
36 #include "vtkIOGeometryModule.h"
51 vtkSetStringMacro(BaseName);
52 vtkGetStringMacro(BaseName);
96 vtkGetMacro(NumberOfVertexWeights,
int);
126 vtkGetMacro(NumberOfEdgeWeights,
int);
142 vtkGetMacro(Dimensionality,
int);
153 vtkGetMacro(NumberOfCellWeightArrays,
int);
161 vtkGetMacro(NumberOfPointWeightArrays,
int);
199 vtkSetStringMacro(CurrentBaseName);
236 double ReadVal(FILE* infile,
int* end_flag);
237 vtkIdType ReadInt(FILE* infile,
int* end_flag);
238 void FlushLine(FILE* infile);
239 void ResetInputBuffers();
247 void ClearWeightArrayNames();
int BuildOutputGrid(vtkUnstructuredGrid *gr)
vtkTypeBool GenerateEdgeWeightArrays
vtkTypeBool GenerateGlobalNodeIdArray
vtkTypeBool GenerateGlobalElementIdArray
int NumberOfCellWeightArrays
int InputGraph2(vtkIdType **start, vtkIdType **adjacency, double **vweights, double **eweights)
int GraphFileHasVertexNumbers
void MakeWeightArrayNames(int nv, int ne)
const char * GetVertexWeightArrayName(int weight)
This method returns the name of the selected Vertex weight point array.
vtkIdType NumberOfVertices
a simple class to control print indentation
vtkTypeBool GenerateVertexWeightArrays
int NumberOfPointWeightArrays
void AddNodeIds(vtkUnstructuredGrid *output)
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int ReadFile(vtkUnstructuredGrid *output)
static const char * GetGlobalNodeIdArrayName()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkChacoReader() override
static const char * GetGlobalElementIdArrayName()
Read a Chaco file and create a vtkUnstructuredGrid.
Superclass for algorithms that produce only unstructured grid as output.
static vtkChacoReader * New()
int NumberOfVertexWeights
dataset represents arbitrary combinations of all possible cell types
const char * GetEdgeWeightArrayName(int weight)
This method returns the name of the selected Edge weight cell array.
int InputGeom(vtkIdType nvtxs, int igeom, double *x, double *y, double *z)
vtkUnstructuredGrid * DataCache
void AddElementIds(vtkUnstructuredGrid *output)