// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _StdSelect_HeaderFile #define _StdSelect_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_Select3D_Projector_HeaderFile #include #endif #ifndef _Handle_V3d_View_HeaderFile #include #endif #ifndef _Handle_SelectMgr_Selection_HeaderFile #include #endif #ifndef _Handle_Prs3d_Drawer_HeaderFile #include #endif class Select3D_Projector; class V3d_View; class SelectMgr_Selection; class Prs3d_Drawer; class StdSelect_ViewerSelector3d; class StdSelect_ViewerSelector2d; class StdSelect_BRepSelectionTool; class StdSelect_BRepOwner; class StdSelect_BRepHilighter; class StdSelect_SensitiveText2d; class StdSelect_TextProjector2d; class StdSelect_EdgeFilter; class StdSelect_FaceFilter; class StdSelect_ShapeTypeFilter; class StdSelect_Prs; class StdSelect_Shape; class StdSelect_IndexedDataMapOfOwnerPrs; class StdSelect_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs; //! The StdSelect package provides the following services
//! - the definition of selection modes for topological shapes
//! - the definition of several concrete filtertandard
//! Selection2d.ap classes
//! - 2D and 3D viewer selectors.
//! Note that each new Interactive Object must have all
//! its selection modes defined.
//! Standard Classes is useful to build
//! 3D Selectable Objects, and to process
//! 3D Selections:
//!
//! - Implementation of View Selector for dynamic selection
//! in Views from V3d.
//!
//! - Implementation of Tool class to decompose 3D BRep Objects
//! into sensitive Primitives for every desired mode of selection
//! (selection of vertex,edges,wires,faces,...)
//!
//! - Implementation of dedicated Sensitives Entities:
//! Text for 2D Views (linked to Specific 2D projectors.)
class StdSelect { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Returns the 3D projector for the view aView.
Standard_EXPORT static Handle_Select3D_Projector GetProjector(const Handle(V3d_View)& aView) ; //! puts The same drawer in every BRepOwner Of SensitivePrimitive
//! Used Only for hilight Of BRepOwner...
Standard_EXPORT static void SetDrawerForBRepOwner(const Handle(SelectMgr_Selection)& aSelection,const Handle(Prs3d_Drawer)& aDrawer) ; protected: private: friend class StdSelect_ViewerSelector3d; friend class StdSelect_ViewerSelector2d; friend class StdSelect_BRepSelectionTool; friend class StdSelect_BRepOwner; friend class StdSelect_BRepHilighter; friend class StdSelect_SensitiveText2d; friend class StdSelect_TextProjector2d; friend class StdSelect_EdgeFilter; friend class StdSelect_FaceFilter; friend class StdSelect_ShapeTypeFilter; friend class StdSelect_Prs; friend class StdSelect_Shape; friend class StdSelect_IndexedDataMapOfOwnerPrs; friend class StdSelect_IndexedDataMapNodeOfIndexedDataMapOfOwnerPrs; }; // other Inline functions and methods (like "C++: function call" methods) #endif