Open CASCADE Technology
6.9.0
|
Detects voxels in the viewer 3d under the mouse cursor. More...
#include <Voxel_Selector.hxx>
Public Member Functions | |
Voxel_Selector () | |
An empty constructor. More... | |
Voxel_Selector (const Handle< V3d_View > &view) | |
A constructor of the selector, which initializes the classes by a view, where the user selects the voxels. More... | |
void | Init (const Handle< V3d_View > &view) |
Initializes the selector by a view, where the user selects the voxels. More... | |
void | SetVoxels (const Voxel_BoolDS &voxels) |
Defines the voxels (1bit). More... | |
void | SetVoxels (const Voxel_ColorDS &voxels) |
Defines the voxels (4bit). More... | |
void | SetVoxels (const Voxel_ROctBoolDS &voxels) |
Defines the voxels (1bit recursive splitting). More... | |
Standard_Boolean | Detect (const Standard_Integer winx, const Standard_Integer winy, Standard_Integer &ix, Standard_Integer &iy, Standard_Integer &iz) |
Detects a voxel under the mouse cursor. More... | |
Detects voxels in the viewer 3d under the mouse cursor.
Voxel_Selector::Voxel_Selector | ( | ) |
An empty constructor.
A constructor of the selector, which initializes the classes by a view, where the user selects the voxels.
Standard_Boolean Voxel_Selector::Detect | ( | const Standard_Integer | winx, |
const Standard_Integer | winy, | ||
Standard_Integer & | ix, | ||
Standard_Integer & | iy, | ||
Standard_Integer & | iz | ||
) |
Detects a voxel under the mouse cursor.
Initializes the selector by a view, where the user selects the voxels.
void Voxel_Selector::SetVoxels | ( | const Voxel_BoolDS & | voxels | ) |
Defines the voxels (1bit).
void Voxel_Selector::SetVoxels | ( | const Voxel_ColorDS & | voxels | ) |
Defines the voxels (4bit).
void Voxel_Selector::SetVoxels | ( | const Voxel_ROctBoolDS & | voxels | ) |
Defines the voxels (1bit recursive splitting).