39 #ifndef vtkParticleReader_h
40 #define vtkParticleReader_h
45 #define VTK_FILE_BYTE_ORDER_BIG_ENDIAN 0
46 #define VTK_FILE_BYTE_ORDER_LITTLE_ENDIAN 1
58 vtkSetStringMacro(FileName);
59 vtkGetStringMacro(FileName);
74 void SetDataByteOrderToBigEndian();
75 void SetDataByteOrderToLittleEndian();
76 int GetDataByteOrder();
77 void SetDataByteOrder(
int);
78 const char *GetDataByteOrderAsString();
84 vtkSetMacro(SwapBytes,
int);
86 vtkBooleanMacro(SwapBytes,
int);
91 vtkSetMacro(HasScalar,
int);
92 vtkGetMacro(HasScalar,
int);
93 vtkBooleanMacro(HasScalar,
int);
101 vtkSetClampMacro(FileType,
int, FILE_TYPE_IS_UNKNOWN, FILE_TYPE_IS_BINARY);
102 vtkGetMacro(FileType,
int);
113 vtkGetMacro(DataType,
int);
160 int DetermineFileType();
163 void DoProgressUpdate(
size_t & bytesRead,
size_t & fileLength );
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIOGEOMETRY_EXPORT
Read ASCII or binary particle data and (optionally) one scalar value associated with each particle...
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
void SetDataTypeToFloat()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetFileTypeToBinary()
void SetDataTypeToDouble()
void SetFileTypeToUnknown()