Open CASCADE Technology 6.6.0
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

 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

Voxel_Reader::Voxel_Reader ( )

Member Function Documentation

Standard_Address Voxel_Reader::GetBoolVoxels ( ) const
Standard_Address Voxel_Reader::GetColorVoxels ( ) const
Standard_Address Voxel_Reader::GetFloatVoxels ( ) const
Standard_Boolean Voxel_Reader::IsBoolVoxels ( ) const
Standard_Boolean Voxel_Reader::IsColorVoxels ( ) const
Standard_Boolean Voxel_Reader::IsFloatVoxels ( ) const
Standard_Boolean Voxel_Reader::Read ( const TCollection_ExtendedString file)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines