// 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 _SampleViewer3DPackage_HeaderFile #define _SampleViewer3DPackage_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_Graphic3d_GraphicDriver_HeaderFile #include #endif #ifndef _Handle_AIS_InteractiveContext_HeaderFile #include #endif #ifndef _Quantity_Length_HeaderFile #include #endif #ifndef _V3d_TypeOfZclipping_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _V3d_TypeOfShadingModel_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class V3d_Viewer; class V3d_View; class Graphic3d_GraphicDriver; class AIS_InteractiveContext; class TCollection_AsciiString; #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif class SampleViewer3DPackage { 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 Handle_Graphic3d_GraphicDriver CreateGraphicDriver() ; Standard_EXPORT static void DisplayBox(const Handle(AIS_InteractiveContext)& aContext) ; Standard_EXPORT static void DisplayCylinder(const Handle(AIS_InteractiveContext)& aContext) ; Standard_EXPORT static void DisplaySphere(const Handle(AIS_InteractiveContext)& aContext) ; Standard_EXPORT static void EraseAll(const Handle(AIS_InteractiveContext)& aContext) ; Standard_EXPORT static void CreateSpotLight(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; Standard_EXPORT static void SetSpotLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y,TCollection_AsciiString& Message) ; Standard_EXPORT static void DirectingSpotLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; Standard_EXPORT static void DirectSpotLight(const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y,TCollection_AsciiString& Message) ; Standard_EXPORT static void ExpandingSpotLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; Standard_EXPORT static void ExpandSpotLight(const Handle(AIS_InteractiveContext)& aContext) ; Standard_EXPORT static void CreatePositionalLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,TCollection_AsciiString& Message) ; Standard_EXPORT static void DirectingPositionalLight(const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; Standard_EXPORT static void DirectPositionalLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y,TCollection_AsciiString& Message) ; Standard_EXPORT static void CreateDirectionalLight(const Handle(AIS_InteractiveContext)& aContext,TCollection_AsciiString& Message) ; Standard_EXPORT static void SetDirectionalLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y,TCollection_AsciiString& Message) ; Standard_EXPORT static void DirectingDirectionalLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Integer X,const Standard_Integer Y) ; Standard_EXPORT static void DirectDirectionalLight(const Handle(AIS_InteractiveContext)& aContext) ; Standard_EXPORT static void CreateAmbientLight(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,TCollection_AsciiString& Message) ; Standard_EXPORT static void ClearLights(const Handle(V3d_View)& aView,TCollection_AsciiString& Message) ; Standard_EXPORT static void ChangeZClippingDepth(const Handle(V3d_View)& aView,const Quantity_Length Depth,TCollection_AsciiString& Message) ; Standard_EXPORT static void ChangeZClippingWidth(const Handle(V3d_View)& aView,const Quantity_Length Width,TCollection_AsciiString& Message) ; Standard_EXPORT static void ChangeZClippingType(const Handle(V3d_View)& aView,const V3d_TypeOfZclipping Type,TCollection_AsciiString& Message) ; Standard_EXPORT static void ChangeZCueingDepth(const Handle(V3d_View)& aView,const Quantity_Length Depth,TCollection_AsciiString& Message) ; Standard_EXPORT static void ChangeZCueingWidth(const Handle(V3d_View)& aView,const Quantity_Length Width,TCollection_AsciiString& Message) ; Standard_EXPORT static void ChangeZCueingOnOff(const Handle(V3d_View)& aView,const Standard_Boolean IsOn,TCollection_AsciiString& Message) ; Standard_EXPORT static void ChangeShadingModel(const Handle(V3d_View)& aView,const V3d_TypeOfShadingModel Model) ; Standard_EXPORT static void ChangeAntialiasing(const Handle(V3d_View)& aView,TCollection_AsciiString& Message) ; Standard_EXPORT static void CreateClippingPlane(const Handle(V3d_Viewer)& aViewer) ; Standard_EXPORT static void DisplayClippingPlane(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,Standard_Real& Z,Standard_Boolean& IsOn) ; Standard_EXPORT static void ChangeModelClippingZ(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Real Z,const Standard_Boolean IsOn,TCollection_AsciiString& Message) ; Standard_EXPORT static void ChangeModelClippingOnOff(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Boolean IsOn,TCollection_AsciiString& Message) ; Standard_EXPORT static void ClearClippingPlane(const Handle(AIS_InteractiveContext)& aContext,const Handle(V3d_View)& aView,const Standard_Boolean IsOn) ; protected: // Methods PROTECTED // // Fields PROTECTED // private: // Methods PRIVATE // // Fields PRIVATE // }; // other Inline functions and methods (like "C++: function call" methods) // #endif