33 #ifndef vtkChacoReader_h 34 #define vtkChacoReader_h 36 #include "vtkIOGeometryModule.h" 51 vtkSetStringMacro(BaseName);
52 vtkGetStringMacro(BaseName);
61 vtkSetMacro(GenerateGlobalElementIdArray,
vtkTypeBool);
62 vtkGetMacro(GenerateGlobalElementIdArray,
vtkTypeBool);
63 vtkBooleanMacro(GenerateGlobalElementIdArray,
vtkTypeBool);
75 vtkSetMacro(GenerateGlobalNodeIdArray,
vtkTypeBool);
76 vtkGetMacro(GenerateGlobalNodeIdArray,
vtkTypeBool);
77 vtkBooleanMacro(GenerateGlobalNodeIdArray,
vtkTypeBool);
87 vtkSetMacro(GenerateVertexWeightArrays,
vtkTypeBool);
88 vtkGetMacro(GenerateVertexWeightArrays,
vtkTypeBool);
89 vtkBooleanMacro(GenerateVertexWeightArrays,
vtkTypeBool);
96 vtkGetMacro(NumberOfVertexWeights,
int);
106 const char *GetVertexWeightArrayName(
int weight);
117 vtkSetMacro(GenerateEdgeWeightArrays,
vtkTypeBool);
118 vtkGetMacro(GenerateEdgeWeightArrays,
vtkTypeBool);
119 vtkBooleanMacro(GenerateEdgeWeightArrays,
vtkTypeBool);
126 vtkGetMacro(NumberOfEdgeWeights,
int);
136 const char *GetEdgeWeightArrayName(
int weight);
142 vtkGetMacro(Dimensionality,
int);
144 vtkGetMacro(NumberOfVertices,
vtkIdType);
153 vtkGetMacro(NumberOfCellWeightArrays,
int);
161 vtkGetMacro(NumberOfPointWeightArrays,
int);
171 void CloseCurrentFile();
172 int OpenCurrentFile();
174 int InputGeom(
vtkIdType nvtxs,
int igeom,
double *x,
double *y,
double *z);
178 int GetCoordsMetadata();
179 void GetGraphMetadata();
187 void MakeWeightArrayNames(
int nv,
int ne);
200 vtkSetStringMacro(CurrentBaseName);
239 double ReadVal(FILE *infile,
int *end_flag);
240 vtkIdType ReadInt(FILE *infile,
int *end_flag);
241 void FlushLine( FILE *infile);
242 void ResetInputBuffers();
250 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