// 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 _Graphic2d_VectorialMarker_HeaderFile #define _Graphic2d_VectorialMarker_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_Graphic2d_VectorialMarker_HeaderFile #include #endif #ifndef _Standard_ShortReal_HeaderFile #include #endif #ifndef _Graphic2d_Line_HeaderFile #include #endif #ifndef _Handle_Graphic2d_GraphicObject_HeaderFile #include #endif #ifndef _Quantity_Length_HeaderFile #include #endif class Graphic2d_GraphicObject; //! Groups all the primitives which behaves like
//! geometrical marker.
//! for example : EllipsMarker, CircleMarker ...
//! A marker is a primitive which retains its original
//! on-screen size no matter how the view is zoomed.
//! For example, markers are used as symbols of dimension.
//! Every marker takes a reference point as an argument in
//! its constructor. CircleMarker and EllipsMarker take
//! another point as the center and PolylineMarker takes the
//! first point of its list as its origin.
//! The coordinates of the centre or origin point are offsets
//! with respect to the reference point.
class Graphic2d_VectorialMarker : public Graphic2d_Line { public: //! Modifies the marker position.
//! Warning: If the associated GraphicObject is transformed
//! the position will be transformed.
Standard_EXPORT void SetPosition(const Quantity_Length aXPosition,const Quantity_Length aYPosition) ; //! Returns the x position of the marker
//! Warning: If the associated GraphicObject is transformed
//! the returned position is the transformed position.
Standard_EXPORT Quantity_Length XPosition() const; //! Returns the y position of the marker
//! Warning: If the associated GraphicObject is transformed
//! the returned position is the transformed position.
Standard_EXPORT Quantity_Length YPosition() const; DEFINE_STANDARD_RTTI(Graphic2d_VectorialMarker) protected: //! Creates a marker at ,
Standard_EXPORT Graphic2d_VectorialMarker(const Handle(Graphic2d_GraphicObject)& aGraphicObject,const Quantity_Length aXPosition,const Quantity_Length aYPosition); Standard_ShortReal myXPosition; Standard_ShortReal myYPosition; private: }; // other Inline functions and methods (like "C++: function call" methods) #endif