Open CASCADE Technology
6.9.1
|
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... | |
Boolean operations (fuse, cut) for voxels of the same dimension.
Voxel_BooleanOperation::Voxel_BooleanOperation | ( | ) |
An empty constructor.
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.