40 #ifndef vtkParticleReader_h 
   41 #define vtkParticleReader_h 
   43 #include "vtkIOGeometryModule.h"  
   46 #define VTK_FILE_BYTE_ORDER_BIG_ENDIAN 0 
   47 #define VTK_FILE_BYTE_ORDER_LITTLE_ENDIAN 1 
   61   vtkSetStringMacro(FileName);
 
   80   void SetDataByteOrderToBigEndian();
 
   81   void SetDataByteOrderToLittleEndian();
 
   82   int GetDataByteOrder();
 
   83   void SetDataByteOrder(
int);
 
   84   const char *GetDataByteOrderAsString();
 
  102   vtkGetMacro(HasScalar,
int);
 
  116   vtkSetClampMacro(FileType, 
int, FILE_TYPE_IS_UNKNOWN, FILE_TYPE_IS_BINARY);
 
  117   vtkGetMacro(FileType, 
int);
 
  130   vtkGetMacro(DataType, 
int);
 
  182   int DetermineFileType();
 
  187   void DoProgressUpdate( 
size_t & bytesRead, 
size_t & fileLength );
 
FILE_TYPE
Enumerate the supported file types. 
 
int FileType
Used to decide which reader should be used. 
 
size_t Count
Count of the number of alliquots processed. 
 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass. 
 
void SetFileTypeToText()
Get/Set the file type. 
 
int GetSwapBytes()
Set/Get the byte swapping to explicitly swap the bytes of a file. 
 
Read ASCII or binary particle data and (optionally) one scalar value associated with each particle...
 
static vtkPolyDataAlgorithm * New()
 
void SetDataTypeToFloat()
Get/Set the data type. 
 
Superclass for algorithms that produce only polydata as output. 
 
size_t Alliquot
Set an alliquot of bytes. 
 
a simple class to control print indentation 
 
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
void SetFileTypeToBinary()
Get/Set the file type. 
 
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions. 
 
void SetDataTypeToDouble()
Get/Set the data type. 
 
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
 
void SetFileTypeToUnknown()
Get/Set the file type. 
 
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection. 
 
int DataType
Used to specify the data type. 
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.