Open CASCADE Technology  7.1.0.beta
Data Structures

AIS_Trihedron.hxx File Reference

#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <Standard_Boolean.hxx>
#include <Quantity_NameOfColor.hxx>
#include <AIS_InteractiveObject.hxx>
#include <Standard_Real.hxx>
#include <Standard_Integer.hxx>
#include <PrsMgr_PresentationManager3d.hxx>
#include <SelectMgr_Selection.hxx>
#include <AIS_KindOfInteractive.hxx>
#include <TColgp_Array1OfPnt.hxx>
#include <AIS_Trihedron.lxx>

Data Structures

class  AIS_Trihedron
 Create a selectable trihedron there are 4 modes of selection : mode = 0 to select trihedron ,priority = 1 mode = 1 to select its origin ,priority = 5 mode = 2 to select its axis ,priority = 3 mode = 3 to select its planes ,priority = 2 a trihedron has 1 origin, 3 axes and 3 planes. Warning For the presentation of trihedra, the default unit of length is the millimeter, and the default value for the representation of axes is 10. To modify these dimensions, you must temporarily recover the Drawer. From inside it, you take the aspect in which the values for length are stocked. For trihedra, this is FirstAxisLength from Prs3d_DatumAspect(). Change the values inside this Aspect and recalculate the presentation. If you want to use extended selection modes, different than 0, you should take care of removing of the shapes from the interactive context that has been computed for selection; it might be necessary when you change selection mode. You can use methods Axis, Point, Plane to retrieve the shapes. More...