// File generated by CPPExt (Value) // Copyright (C) 1991,1995 by // // MATRA DATAVISION, FRANCE // // This software is furnished in accordance with the terms and conditions // of the contract and with the inclusion of the above copyright notice. // This software or any other copy thereof may not be provided or otherwise // be made available to any other person. No title to an ownership of the // software is hereby transferred. // // At the termination of the contract, the software and all copies of this // software must be deleted. #ifndef _SampleAISSelectPackage_HeaderFile #define _SampleAISSelectPackage_HeaderFile #ifndef _Handle_V3d_Viewer_HeaderFile #include #endif #ifndef _Standard_ExtString_HeaderFile #include #endif #ifndef _Handle_V3d_View_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Handle_AIS_InteractiveContext_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class V3d_Viewer; class V3d_View; class AIS_InteractiveContext; class TCollection_AsciiString; class Quantity_Color; #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif class SampleAISSelectPackage { 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); } // Methods PUBLIC // Standard_EXPORT static Handle_V3d_Viewer CreateViewer(const Standard_ExtString aName) ; Standard_EXPORT static void SetWindow(const Handle(V3d_View)& aView,const Standard_Integer hiwin,const Standard_Integer lowin) ; Standard_EXPORT static void DisplayBox(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; Standard_EXPORT static void SelectVertices(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; Standard_EXPORT static void SelectEdges(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; Standard_EXPORT static void SelectFaces(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; Standard_EXPORT static void SelectNeutral(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; Standard_EXPORT static Standard_Integer MakeFillet(const Handle(AIS_InteractiveContext)& aContext,const Standard_Real aValue,TCollection_AsciiString& Message) ; Standard_EXPORT static Standard_Boolean IsCylinderSelected(const Handle(AIS_InteractiveContext)& aContext) ; Standard_EXPORT static void StartSelectFace(const Handle(AIS_InteractiveContext)& aContext) ; Standard_EXPORT static Quantity_Color GetFaceColor(const Handle(AIS_InteractiveContext)& aContext) ; Standard_EXPORT static void SetFaceColor(const Handle(AIS_InteractiveContext)& aContext,const Quantity_Color& aColor,TCollection_AsciiString& Message) ; Standard_EXPORT static void EndSelectFace(const Handle(AIS_InteractiveContext)& aContext) ; protected: // Methods PROTECTED // // Fields PROTECTED // private: // Methods PRIVATE // // Fields PRIVATE // }; // other Inline functions and methods (like "C++: function call" methods) // #endif