Voxel_Writer Class Reference

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.


Constructor & Destructor Documentation

Voxel_Writer::Voxel_Writer (  ) 

Member Function Documentation

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_FloatDS voxels  ) 
void Voxel_Writer::SetVoxels ( const Voxel_ColorDS voxels  ) 
void Voxel_Writer::SetVoxels ( const Voxel_BoolDS voxels  ) 
Standard_Boolean Voxel_Writer::Write ( const TCollection_ExtendedString file  )  const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 11:08:28 2011 for Open CASCADE Technology by  doxygen 1.6.3