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);
109 const char *GetVertexWeightArrayName(
int weight);
121 vtkGetMacro(GenerateEdgeWeightArrays,
int);
129 vtkGetMacro(NumberOfEdgeWeights,
int);
139 const char *GetEdgeWeightArrayName(
int weight);
145 vtkGetMacro(Dimensionality,
int);
147 vtkGetMacro(NumberOfVertices,
vtkIdType);
156 vtkGetMacro(NumberOfCellWeightArrays,
int);
164 vtkGetMacro(NumberOfPointWeightArrays,
int);
174 void CloseCurrentFile();
175 int OpenCurrentFile();
177 int InputGeom(
vtkIdType nvtxs,
int igeom,
double *x,
double *y,
double *z);
181 int GetCoordsMetadata();
182 void GetGraphMetadata();
190 void MakeWeightArrayNames(
int nv,
int ne);
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 GenerateGlobalNodeIdArray
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int GraphFileHasVertexNumbers
static vtkUnstructuredGridAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int GenerateEdgeWeightArrays
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
dataset represents arbitrary combinations of all possible cell types
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Superclass for algorithms that produce only unstructured grid as output.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Read a Chaco file and create a vtkUnstructuredGrid.
int NumberOfPointWeightArrays
int NumberOfCellWeightArrays
vtkIdType NumberOfVertices
int GenerateVertexWeightArrays
static const char * GetGlobalNodeIdArrayName()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static const char * GetGlobalElementIdArrayName()
int NumberOfVertexWeights
int GenerateGlobalElementIdArray
vtkUnstructuredGrid * DataCache