29 #ifndef vtkXYZMolReader_h 30 #define vtkXYZMolReader_h 32 #include "vtkIOGeometryModule.h" 48 virtual int CanReadFile(
const char*
name);
55 vtkSetMacro(TimeStep,
int);
56 vtkGetMacro(TimeStep,
int);
63 vtkGetMacro(MaxTimeStep,
int);
76 char* GetNextLine(FILE* fp,
char* line,
int maxlen);
78 int GetLine1(
const char* line,
int *cnt);
79 int GetLine2(
const char* line,
char *
name);
80 int GetAtom(
const char* line,
char* atom,
float *x);
82 void InsertAtom(
const char* atom,
float *pos);
84 vtkSetMacro(MaxTimeStep,
int);
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
read Molecular Data files
virtual void ReadSpecificMolecule(FILE *fp)=0
static vtkPolyDataAlgorithm * New()
read Molecular Data files
a simple class to control print indentation