// 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 _AIS_MultipleConnectedShape_HeaderFile #define _AIS_MultipleConnectedShape_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_AIS_MultipleConnectedShape_HeaderFile #include #endif #ifndef _TopoDS_Shape_HeaderFile #include #endif #ifndef _AIS_MultipleConnectedInteractive_HeaderFile #include #endif #ifndef _AIS_KindOfInteractive_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Prs3d_Projector_HeaderFile #include #endif #ifndef _Handle_Prs3d_Presentation_HeaderFile #include #endif #ifndef _Handle_Geom_Transformation_HeaderFile #include #endif #ifndef _Handle_SelectMgr_Selection_HeaderFile #include #endif #ifndef _Handle_PrsMgr_PresentationManager3d_HeaderFile #include #endif #ifndef _Handle_PrsMgr_PresentationManager2d_HeaderFile #include #endif #ifndef _Handle_Graphic2d_GraphicObject_HeaderFile #include #endif class Standard_NotImplemented; class TopoDS_Shape; class Prs3d_Projector; class Prs3d_Presentation; class Geom_Transformation; class SelectMgr_Selection; class PrsMgr_PresentationManager3d; class PrsMgr_PresentationManager2d; class Graphic2d_GraphicObject; //! Constructs an Interactive Object connected to a list of
//! Interactive Objects having a Shape. These include
//! AIS_Shape, and AIS_ConnectedShape.
//! Presentation of Hidden parts is calculated automatically.
//! You define the Interactive Object by gathering
//! together several other object presentations as in
//! AIS_MultipleConnectedInteractive.
class AIS_MultipleConnectedShape : public AIS_MultipleConnectedInteractive { public: //! Initializes the shape aShape, a multiple connected
//! Interactive Object grouping different
//! projector-dependent representations of an entity.
Standard_EXPORT AIS_MultipleConnectedShape(const TopoDS_Shape& aShape); Standard_EXPORT virtual AIS_KindOfInteractive Type() const; Standard_EXPORT virtual Standard_Integer Signature() const; //! Returns true is shape decomposition is accepted.
Standard_EXPORT virtual Standard_Boolean AcceptShapeDecomposition() const; //! Constructs the reference shape ashap.
void Set(const TopoDS_Shape& ashap) ; //! Returns the shape which is constructed in Set.
const TopoDS_Shape& Shape() const; //! this method should fill the presentation according to the
//! enumerated mode of the application and to the display parameter
//! of the application.
Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager2d)& aPresentationManager,const Handle(Graphic2d_GraphicObject)& aPresentation,const Standard_Integer aMode = 0) ; DEFINE_STANDARD_RTTI(AIS_MultipleConnectedShape) protected: Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation) ; Standard_EXPORT virtual void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Geom_Transformation)& aTrsf,const Handle(Prs3d_Presentation)& aPresentation) ; Standard_EXPORT virtual void ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,const Standard_Integer aMode) ; private: Standard_EXPORT void Compute(const Handle(Prs3d_Projector)& aProjector,const Handle(Prs3d_Presentation)& aPresentation,const TopoDS_Shape& aShape) ; //! this method is redefined virtual;
//! when the instance is connected to another
//! InteractiveObject,this method doesn't
//! compute anything, but just uses the
//! presentation of this last object, with
//! a transformation if there's one stored.
Standard_EXPORT virtual void Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,const Handle(Prs3d_Presentation)& aPresentation,const Standard_Integer aMode = 0) ; TopoDS_Shape myShape; }; #include // other Inline functions and methods (like "C++: function call" methods) #endif