|
Open CASCADE Technology 6.5.2
|
Writes a cube of voxels on disk.
#include <Voxel_Writer.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| 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. | |
| Voxel_Writer::Voxel_Writer | ( | ) |
| void Voxel_Writer::operator delete | ( | void * | anAddress | ) | [inline] |
| void* Voxel_Writer::operator new | ( | size_t | size | ) | [inline] |
| void* Voxel_Writer::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| void Voxel_Writer::SetFormat | ( | const Voxel_VoxelFileFormat | format | ) |
| 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.7.4