|
Open CASCADE Technology
6.5.4
|
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. | |
| 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 |
1.8.0