igor::iVoxelOperationSphere Class Reference

#include <iVoxelOperationSphere.h>

Inherits igor::iVoxelOperation.

Public Member Functions

 iVoxelOperationSphere (const iaSphereI &sphere, uint8 density)
 
void apply (iVoxelBlock *voxelBlock)
 
void getBoundings (iAABoxI &boundings)
 
virtual void apply (iVoxelBlock *voxelBlock)=0
 
virtual void getBoundings (iAABoxI &boundings)=0
 

Detailed Description

voxel operation that set the values of an area specified by a sphere

Constructor & Destructor Documentation

◆ iVoxelOperationSphere()

igor::iVoxelOperationSphere::iVoxelOperationSphere ( const iaSphereI sphere,
uint8  density 
)

ctor initializes members

Parameters
boxthe box to manipulate
densitythe new density to set

Member Function Documentation

◆ apply()

void igor::iVoxelOperationSphere::apply ( iVoxelBlock voxelBlock)
virtual

applies the operation within a specified voxel block

Parameters
voxelBlockthe current voxel block to manipulate

Implements igor::iVoxelOperation.

◆ getBoundings()

void igor::iVoxelOperationSphere::getBoundings ( iAABoxI boundings)
virtual

returns boundings of this operation

Parameters
boundingsthe param to return the operation boundings with

Implements igor::iVoxelOperation.


The documentation for this class was generated from the following files: