// 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 _Xw_MarkMap_HeaderFile #define _Xw_MarkMap_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Xw_MarkMap_HeaderFile #include #endif #ifndef _Standard_Address_HeaderFile #include #endif #ifndef _Standard_Transient_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Handle_Aspect_MarkMap_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Aspect_MarkMapDefinitionError; class Aspect_BadAccess; class Xw_GraphicDevice; class Aspect_MarkMapEntry; class Aspect_MarkMap; //! This class defines a MarkMap object.
class Xw_MarkMap : public Standard_Transient { public: //! Creates a MarkMap with unallocated MarkMapEntry.
//! Warning: Raises if MarkMap creation failed according
//! to the supported hardware
Standard_EXPORT Xw_MarkMap(const Standard_CString Connexion); //! Modifies an entry already defined or Add the Entry
//! in the marker map if it don't exist.
//! Warning: Raises if MarkMap size is exceeded,
//! or MarkMap is not defined properly,
//! or MarkMapEntry Index is out of range according
//! to the supported hardware
Standard_EXPORT virtual void SetEntry(const Aspect_MarkMapEntry& anEntry) ; //! Modifies all entries from a new Markmap
//! Warning: Raises if MarkMap size is exceeded,
//! or MarkMap is not defined properly,
//! or One of new MarkMapEntry Index is out of range according
//! to the supported hardware
Standard_EXPORT virtual void SetEntries(const Handle(Aspect_MarkMap)& aMarkmap) ; //! Destroies the Markmap
Standard_EXPORT virtual void Destroy() ; ~Xw_MarkMap() { Destroy(); } //! Returns the Number of Free Marks in the Typemap
//! depending of the HardWare
//! Warning: Raises if MarkMap is not defined properly
Standard_EXPORT Standard_Integer FreeMarkers() const; friend class Xw_GraphicDevice; DEFINE_STANDARD_RTTI(Xw_MarkMap) protected: Standard_EXPORT Xw_MarkMap(); //! Returns extended data markermap structure pointer.
Standard_EXPORT Standard_Address ExtendedMarkMap() const; private: Standard_Address MyExtendedDisplay; Standard_Address MyExtendedMarkMap; }; // other Inline functions and methods (like "C++: function call" methods) #endif