SHAPER  9.12.0
ModuleBase_ShapeInPlaneFilter Class Reference

A filter which provides filtering of selection in 3d viewer. More...

Inheritance diagram for ModuleBase_ShapeInPlaneFilter:
Inheritance graph

Public Member Functions

 ModuleBase_ShapeInPlaneFilter ()
 Constructor. More...
 
void setPlane (const std::shared_ptr< GeomAPI_Pln > &thePlane)
 Set working plane. More...
 
std::shared_ptr< GeomAPI_Plnplane () const
 Returns current working plane. More...
 
virtual Standard_Boolean IsOk (const Handle &&theOwner) const
 Returns True if the given owner is acceptable for selection. More...
 

Detailed Description

A filter which provides filtering of selection in 3d viewer.

Installing of this filter lets to select of Vertexes and Edges which belongs to the given plane

Constructor & Destructor Documentation

◆ ModuleBase_ShapeInPlaneFilter()

ModuleBase_ShapeInPlaneFilter::ModuleBase_ShapeInPlaneFilter ( )
inline

Constructor.

Member Function Documentation

◆ setPlane()

void ModuleBase_ShapeInPlaneFilter::setPlane ( const std::shared_ptr< GeomAPI_Pln > &  thePlane)
inline

Set working plane.

Parameters
thePlanea plane object

◆ plane()

std::shared_ptr<GeomAPI_Pln> ModuleBase_ShapeInPlaneFilter::plane ( ) const
inline

Returns current working plane.

◆ IsOk()

Standard_Boolean ModuleBase_ShapeInPlaneFilter::IsOk ( const Handle &&  theOwner) const
virtual

Returns True if the given owner is acceptable for selection.

Parameters
theOwnerthe selected owner