Go to the documentation of this file.
36 #ifndef vtkChacoReader_h
37 #define vtkChacoReader_h
39 #include "vtkIOGeometryModule.h"
54 vtkSetStringMacro(BaseName);
65 vtkGetMacro(GenerateGlobalElementIdArray,
int);
79 vtkGetMacro(GenerateGlobalNodeIdArray,
int);
91 vtkGetMacro(GenerateVertexWeightArrays,
int);
99 vtkGetMacro(NumberOfVertexWeights,
int);
121 vtkGetMacro(GenerateEdgeWeightArrays,
int);
129 vtkGetMacro(NumberOfEdgeWeights,
int);
145 vtkGetMacro(Dimensionality,
int);
156 vtkGetMacro(NumberOfCellWeightArrays,
int);
164 vtkGetMacro(NumberOfPointWeightArrays,
int);
203 vtkSetStringMacro(CurrentBaseName);
242 double ReadVal(FILE *infile,
int *end_flag);
243 vtkIdType ReadInt(FILE *infile,
int *end_flag);
244 void FlushLine( FILE *infile);
245 void ResetInputBuffers();
253 void ClearWeightArrayNames();
int BuildOutputGrid(vtkUnstructuredGrid *gr)
int GenerateVertexWeightArrays
int GenerateGlobalNodeIdArray
int GenerateEdgeWeightArrays
int GenerateGlobalElementIdArray
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
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
int NumberOfPointWeightArrays
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void AddNodeIds(vtkUnstructuredGrid *output)
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
int ReadFile(vtkUnstructuredGrid *output)
static const char * GetGlobalNodeIdArrayName()
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
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
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)