igor::iVoxelOperationBox Class Reference

#include <iVoxelOperationBox.h>

Inherits igor::iVoxelOperation.

Public Member Functions

 iVoxelOperationBox (const iAABoxI &box, 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 bounding box

Constructor & Destructor Documentation

◆ iVoxelOperationBox()

igor::iVoxelOperationBox::iVoxelOperationBox ( const iAABoxI box,
uint8  density 
)

ctor initializes members

Parameters
boxthe box to manipulate
densitythe new density to set

Member Function Documentation

◆ apply()

void igor::iVoxelOperationBox::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::iVoxelOperationBox::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: