36 #ifndef vtkChacoReader_h 37 #define vtkChacoReader_h 39 #include "vtkIOGeometryModule.h" 54 vtkSetStringMacro(BaseName);
55 vtkGetStringMacro(BaseName);
64 vtkSetMacro(GenerateGlobalElementIdArray,
vtkTypeBool);
65 vtkGetMacro(GenerateGlobalElementIdArray,
vtkTypeBool);
66 vtkBooleanMacro(GenerateGlobalElementIdArray,
vtkTypeBool);
78 vtkSetMacro(GenerateGlobalNodeIdArray,
vtkTypeBool);
79 vtkGetMacro(GenerateGlobalNodeIdArray,
vtkTypeBool);
80 vtkBooleanMacro(GenerateGlobalNodeIdArray,
vtkTypeBool);
90 vtkSetMacro(GenerateVertexWeightArrays,
vtkTypeBool);
91 vtkGetMacro(GenerateVertexWeightArrays,
vtkTypeBool);
92 vtkBooleanMacro(GenerateVertexWeightArrays,
vtkTypeBool);
99 vtkGetMacro(NumberOfVertexWeights,
int);
109 const char *GetVertexWeightArrayName(
int weight);
120 vtkSetMacro(GenerateEdgeWeightArrays,
vtkTypeBool);
121 vtkGetMacro(GenerateEdgeWeightArrays,
vtkTypeBool);
122 vtkBooleanMacro(GenerateEdgeWeightArrays,
vtkTypeBool);
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();
vtkTypeBool GenerateEdgeWeightArrays
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int GraphFileHasVertexNumbers
static vtkUnstructuredGridAlgorithm * New()
vtkTypeBool GenerateGlobalElementIdArray
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTypeBool GenerateGlobalNodeIdArray
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
Superclass for algorithms that produce only unstructured grid as output.
Read a Chaco file and create a vtkUnstructuredGrid.
int NumberOfPointWeightArrays
int NumberOfCellWeightArrays
vtkIdType NumberOfVertices
static const char * GetGlobalNodeIdArrayName()
static const char * GetGlobalElementIdArrayName()
int NumberOfVertexWeights
vtkTypeBool GenerateVertexWeightArrays
vtkUnstructuredGrid * DataCache