|
Open CASCADE Technology
6.5.4
|
Writes a cube of voxels on disk.
#include <Voxel_Writer.hxx>
Public Member Functions | |
| DEFINE_STANDARD_ALLOC | Voxel_Writer () |
| An empty constructor. | |
| void | SetFormat (const Voxel_VoxelFileFormat format) |
| Defines the file format for voxels. ASCII - slow and occupies more space on disk. BINARY - fast and occupies less space on disk. | |
| void | SetVoxels (const Voxel_BoolDS &voxels) |
| Defines the voxels (1bit). | |
| void | SetVoxels (const Voxel_ColorDS &voxels) |
| Defines the voxels (4bit). | |
| void | SetVoxels (const Voxel_FloatDS &voxels) |
| Defines the voxels (4bytes). | |
| Standard_Boolean | Write (const TCollection_ExtendedString &file) const |
| Writes the voxels on disk using the defined format and file name. | |
| void Voxel_Writer::SetVoxels | ( | const Voxel_BoolDS & | voxels | ) |
| void Voxel_Writer::SetVoxels | ( | const Voxel_ColorDS & | voxels | ) |
| void Voxel_Writer::SetVoxels | ( | const Voxel_FloatDS & | voxels | ) |
| Standard_Boolean Voxel_Writer::Write | ( | const TCollection_ExtendedString & | file | ) | const |
1.8.0