// 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 _Graphic3d_GraphicDevice_HeaderFile #define _Graphic3d_GraphicDevice_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Graphic3d_GraphicDevice_HeaderFile #include #endif #ifndef _Handle_Graphic3d_GraphicDriver_HeaderFile #include #endif #ifndef _Xw_GraphicDevice_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Xw_TypeOfMapping_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Aspect_Display_HeaderFile #include #endif #ifndef _Handle_Aspect_GraphicDriver_HeaderFile #include #endif class Graphic3d_GraphicDriver; class Aspect_GraphicDeviceDefinitionError; class Aspect_GraphicDriver; //! This class allows the definition of the Advanced
//! Graphic Device
//! Warning: An Graphic Device is defined by a connexion
//! "host:server.screen"
class Graphic3d_GraphicDevice : public Xw_GraphicDevice { public: //! Creates a GraphicDevice
Standard_EXPORT Graphic3d_GraphicDevice(const Standard_CString Connexion,const Xw_TypeOfMapping Mapping = Xw_TOM_COLORCUBE,const Standard_Integer Ncolors = 0,const Standard_Boolean UseDefault = Standard_True); //! Creates a GraphicDevice from the Display structure
Standard_EXPORT Graphic3d_GraphicDevice(const Aspect_Display DisplayHandle); //! Deletes the GraphicDevice .
Standard_EXPORT void Destroy() ; ~Graphic3d_GraphicDevice() { Destroy(); } //! Returns the GraphicDriver.
Standard_EXPORT Handle_Aspect_GraphicDriver GraphicDriver() const; DEFINE_STANDARD_RTTI(Graphic3d_GraphicDevice) protected: private: //! Sets the GraphicDriver.
Standard_EXPORT void SetGraphicDriver() ; //! Returns Standard_True if the shared library
//! is defined by the environment.
//! (variables : CSF_GraphicShr, CSF_Graphic3dLib, GRAPHICHOME)
Standard_EXPORT Standard_Boolean ShrIsDefined(Standard_CString& aShr) const; Handle_Graphic3d_GraphicDriver MyGraphicDriver; }; // other Inline functions and methods (like "C++: function call" methods) #endif