Open CASCADE Technology  6.9.0
Public Member Functions

Voxel_BooleanOperation Class Reference

Boolean operations (fuse, cut) for voxels of the same dimension. More...

#include <Voxel_BooleanOperation.hxx>

Public Member Functions

 Voxel_BooleanOperation ()
 An empty constructor. More...
 
Standard_Boolean Fuse (Voxel_BoolDS &theVoxels1, const Voxel_BoolDS &theVoxels2) const
 Fuses two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. More...
 
Standard_Boolean Fuse (Voxel_ColorDS &theVoxels1, const Voxel_ColorDS &theVoxels2) const
 Fuses two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It summerizes the value of corresponding voxels and puts the result to theVoxels1. If the result exceeds 15 or becomes greater, it keeps 15. More...
 
Standard_Boolean Fuse (Voxel_FloatDS &theVoxels1, const Voxel_FloatDS &theVoxels2) const
 Fuses two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It summerizes the value of corresponding voxels and puts the result to theVoxels1. More...
 
Standard_Boolean Cut (Voxel_BoolDS &theVoxels1, const Voxel_BoolDS &theVoxels2) const
 Cuts two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. More...
 
Standard_Boolean Cut (Voxel_ColorDS &theVoxels1, const Voxel_ColorDS &theVoxels2) const
 Cuts two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It subtracts the value of corresponding voxels and puts the result to theVoxels1. More...
 
Standard_Boolean Cut (Voxel_FloatDS &theVoxels1, const Voxel_FloatDS &theVoxels2) const
 Cuts two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It subtracts the value of corresponding voxels and puts the result to theVoxels1. More...
 

Detailed Description

Boolean operations (fuse, cut) for voxels of the same dimension.

Constructor & Destructor Documentation

Voxel_BooleanOperation::Voxel_BooleanOperation ( )

An empty constructor.

Member Function Documentation

Standard_Boolean Voxel_BooleanOperation::Cut ( Voxel_BoolDS theVoxels1,
const Voxel_BoolDS theVoxels2 
) const

Cuts two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels.

Standard_Boolean Voxel_BooleanOperation::Cut ( Voxel_ColorDS theVoxels1,
const Voxel_ColorDS theVoxels2 
) const

Cuts two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It subtracts the value of corresponding voxels and puts the result to theVoxels1.

Standard_Boolean Voxel_BooleanOperation::Cut ( Voxel_FloatDS theVoxels1,
const Voxel_FloatDS theVoxels2 
) const

Cuts two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It subtracts the value of corresponding voxels and puts the result to theVoxels1.

Standard_Boolean Voxel_BooleanOperation::Fuse ( Voxel_BoolDS theVoxels1,
const Voxel_BoolDS theVoxels2 
) const

Fuses two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels.

Standard_Boolean Voxel_BooleanOperation::Fuse ( Voxel_ColorDS theVoxels1,
const Voxel_ColorDS theVoxels2 
) const

Fuses two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It summerizes the value of corresponding voxels and puts the result to theVoxels1. If the result exceeds 15 or becomes greater, it keeps 15.

Standard_Boolean Voxel_BooleanOperation::Fuse ( Voxel_FloatDS theVoxels1,
const Voxel_FloatDS theVoxels2 
) const

Fuses two cubes of voxels. It modifies the first cube of voxels. It returns false in case of different dimension of the cube, different number of voxels. It summerizes the value of corresponding voxels and puts the result to theVoxels1.


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