Open CASCADE Technology
6.9.0
|
Reads a cube of voxels from disk. Beware, a caller of the reader is responsible for deletion of the read voxels. More...
#include <Voxel_Reader.hxx>
Public Member Functions | |
Voxel_Reader () | |
An empty constructor. More... | |
Standard_Boolean | Read (const TCollection_ExtendedString &file) |
Reads the voxels from disk. More... | |
Standard_Boolean | IsBoolVoxels () const |
Informs the user about the type of voxels he has read. More... | |
Standard_Boolean | IsColorVoxels () const |
Informs the user about the type of voxels he has read. More... | |
Standard_Boolean | IsFloatVoxels () const |
Informs the user about the type of voxels he has read. More... | |
Standard_Address | GetBoolVoxels () const |
Returns a pointer to the read 1bit voxels. More... | |
Standard_Address | GetColorVoxels () const |
Returns a pointer to the read 4bit voxels. More... | |
Standard_Address | GetFloatVoxels () const |
Returns a pointer to the read 4bytes voxels. More... | |
Reads a cube of voxels from disk. Beware, a caller of the reader is responsible for deletion of the read voxels.
Voxel_Reader::Voxel_Reader | ( | ) |
An empty constructor.
Standard_Address Voxel_Reader::GetBoolVoxels | ( | ) | const |
Returns a pointer to the read 1bit voxels.
Standard_Address Voxel_Reader::GetColorVoxels | ( | ) | const |
Returns a pointer to the read 4bit voxels.
Standard_Address Voxel_Reader::GetFloatVoxels | ( | ) | const |
Returns a pointer to the read 4bytes voxels.
Standard_Boolean Voxel_Reader::IsBoolVoxels | ( | ) | const |
Informs the user about the type of voxels he has read.
Standard_Boolean Voxel_Reader::IsColorVoxels | ( | ) | const |
Informs the user about the type of voxels he has read.
Standard_Boolean Voxel_Reader::IsFloatVoxels | ( | ) | const |
Informs the user about the type of voxels he has read.
Standard_Boolean Voxel_Reader::Read | ( | const TCollection_ExtendedString & | file | ) |
Reads the voxels from disk.