30 #ifndef __vtkBYUReader_h
31 #define __vtkBYUReader_h
45 vtkSetStringMacro(GeometryFileName);
46 vtkGetStringMacro(GeometryFileName);
51 virtual void SetFileName(
const char* f) { this->SetGeometryFileName(f); }
52 virtual char*
GetFileName() {
return this->GetGeometryFileName(); }
57 vtkSetStringMacro(DisplacementFileName);
58 vtkGetStringMacro(DisplacementFileName);
63 vtkSetStringMacro(ScalarFileName);
64 vtkGetStringMacro(ScalarFileName);
69 vtkSetStringMacro(TextureFileName);
70 vtkGetStringMacro(TextureFileName);
75 vtkSetMacro(ReadDisplacement,
int);
76 vtkGetMacro(ReadDisplacement,
int);
77 vtkBooleanMacro(ReadDisplacement,
int);
82 vtkSetMacro(ReadScalar,
int);
83 vtkGetMacro(ReadScalar,
int);
84 vtkBooleanMacro(ReadScalar,
int);
90 vtkSetMacro(ReadTexture,
int);
91 vtkGetMacro(ReadTexture,
int);
92 vtkBooleanMacro(ReadTexture,
int);
98 vtkGetMacro(PartNumber,
int);
105 static int CanReadFile(
const char *filename);
114 int idx,
int numDivisions);
125 void ReadGeometryFile(FILE *fp,
int &numPts,
vtkInformation *outInfo);