Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Voxel_Reader Class Reference

Reads a cube of voxels from disk.
Beware, a caller of the reader is responsible for deletion of the read voxels.

#include <Voxel_Reader.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC Voxel_Reader ()
 An empty constructor.

Standard_Boolean Read (const TCollection_ExtendedString &file)
 Reads the voxels from disk

Standard_Boolean IsBoolVoxels () const
 Informs the user about the type of voxels he has read.

Standard_Boolean IsColorVoxels () const
 Informs the user about the type of voxels he has read.

Standard_Boolean IsFloatVoxels () const
 Informs the user about the type of voxels he has read.

Standard_Address GetBoolVoxels () const
 Returns a pointer to the read 1bit voxels.

Standard_Address GetColorVoxels () const
 Returns a pointer to the read 4bit voxels.

Standard_Address GetFloatVoxels () const
 Returns a pointer to the read 4bytes voxels.


Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: