vtkTypeBool GetSwapBytes()
~vtkParticleReader() override
void SetDataByteOrder(int)
int DetermineFileType()
Determine the type of file based on an analysis of its contents.
void DoProgressUpdate(size_t &bytesRead, size_t &fileLength)
Update of the progress.
void SetDataByteOrderToLittleEndian()
int FileType
Used to decide which reader should be used.
int ProduceOutputFromTextFileFloat(vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ProduceOutputFromTextFileDouble(vtkInformationVector *outputVector)
The format that will be read if the file is a text file is: x, y, z, s (where s is some scalar value ...
void SetDataTypeToFloat()
size_t Alliquot
Set an alliquot of bytes.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void SetFileTypeToUnknown()
Read ASCII or binary particle data and (optionally) one scalar value associated with each particle.
void SetDataByteOrderToBigEndian()
These methods should be used instead of the SwapBytes methods.
static vtkParticleReader * New()
void SetFileTypeToBinary()
int ProduceOutputFromBinaryFileFloat(vtkInformationVector *outputVector)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetDataTypeToDouble()
int DataType
Used to specify the data type.
FILE_TYPE
Enumerate the supported file types.
const char * GetDataByteOrderAsString()
int ProduceOutputFromBinaryFileDouble(vtkInformationVector *outputVector)
This reader assumes that the file is binary and consists of floating point values by default.
size_t Count
Count of the number of alliquots processed.