35 #ifndef vtkChacoReader_h
36 #define vtkChacoReader_h
51 vtkSetStringMacro(BaseName);
52 vtkGetStringMacro(BaseName);
59 vtkSetMacro(GenerateGlobalElementIdArray,
int);
60 vtkGetMacro(GenerateGlobalElementIdArray,
int);
61 vtkBooleanMacro(GenerateGlobalElementIdArray,
int);
71 vtkSetMacro(GenerateGlobalNodeIdArray,
int);
72 vtkGetMacro(GenerateGlobalNodeIdArray,
int);
73 vtkBooleanMacro(GenerateGlobalNodeIdArray,
int);
80 vtkSetMacro(GenerateVertexWeightArrays,
int);
81 vtkGetMacro(GenerateVertexWeightArrays,
int);
82 vtkBooleanMacro(GenerateVertexWeightArrays,
int);
87 vtkGetMacro(NumberOfVertexWeights,
int);
95 const char *GetVertexWeightArrayName(
int weight);
103 vtkSetMacro(GenerateEdgeWeightArrays,
int);
104 vtkGetMacro(GenerateEdgeWeightArrays,
int);
105 vtkBooleanMacro(GenerateEdgeWeightArrays,
int);
110 vtkGetMacro(NumberOfEdgeWeights,
int);
118 const char *GetEdgeWeightArrayName(
int weight);
122 vtkGetMacro(Dimensionality,
int);
124 vtkGetMacro(NumberOfVertices,
vtkIdType);
131 vtkGetMacro(NumberOfCellWeightArrays,
int);
137 vtkGetMacro(NumberOfPointWeightArrays,
int);
147 void CloseCurrentFile();
148 int OpenCurrentFile();
150 int InputGeom(
vtkIdType nvtxs,
int igeom,
double *x,
double *y,
double *z);
154 int GetCoordsMetadata();
155 void GetGraphMetadata();
163 void MakeWeightArrayNames(
int nv,
int ne);
176 vtkSetStringMacro(CurrentBaseName);
215 double ReadVal(FILE *infile,
int *end_flag);
216 vtkIdType ReadInt(FILE *infile,
int *end_flag);
217 void FlushLine( FILE *infile);
218 void ResetInputBuffers();
226 void ClearWeightArrayNames();
int GenerateGlobalNodeIdArray
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int GraphFileHasVertexNumbers
static vtkUnstructuredGridAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIOGEOMETRY_EXPORT
int GenerateEdgeWeightArrays
a simple class to control print indentation
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only unstructured grid as output.
Read a Chaco file and create a vtkUnstructuredGrid.
int NumberOfPointWeightArrays
int NumberOfCellWeightArrays
vtkIdType NumberOfVertices
int GenerateVertexWeightArrays
static const char * GetGlobalNodeIdArrayName()
static const char * GetGlobalElementIdArrayName()
int NumberOfVertexWeights
int GenerateGlobalElementIdArray
vtkUnstructuredGrid * DataCache