// 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 _Aspect_MarkerStyle_HeaderFile #define _Aspect_MarkerStyle_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Aspect_TypeOfMarker_HeaderFile #include #endif #ifndef _Handle_TShort_HArray1OfShortReal_HeaderFile #include #endif #ifndef _Handle_TColStd_HArray1OfBoolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class TShort_HArray1OfShortReal; class TColStd_HArray1OfBoolean; class Aspect_MarkerStyleDefinitionError; class TColStd_Array1OfReal; class TColStd_Array1OfBoolean; class TShort_Array1OfShortReal; //! This class defines a Marker Style.
//! The Style can be Predefined or defined by the user
//! A user defined style must be described in the space <-1,+1>
class Aspect_MarkerStyle { 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); } //! Creates a marker style with the default value of
//! MarkerStyle type : POINT
Standard_EXPORT Aspect_MarkerStyle(); //! Creates the marker style .
Standard_EXPORT Aspect_MarkerStyle(const Aspect_TypeOfMarker aType); //! Creates a marker style from a implicit draw point
Standard_EXPORT Aspect_MarkerStyle(const TColStd_Array1OfReal& aXpoint,const TColStd_Array1OfReal& aYpoint); //! Creates a marker style from a move-draw point descriptor .
//! Each coordinate must be defined
Standard_EXPORT Aspect_MarkerStyle(const TColStd_Array1OfReal& aXpoint,const TColStd_Array1OfReal& aYpoint,const TColStd_Array1OfBoolean& aSpoint); //! Updates the marker style from the definition of the
//! marker style .
Standard_EXPORT Aspect_MarkerStyle& Assign(const Aspect_MarkerStyle& Other) ; Aspect_MarkerStyle& operator =(const Aspect_MarkerStyle& Other) { return Assign(Other); } //! Returns the type of the marker style
Standard_EXPORT Aspect_TypeOfMarker Type() const; //! Returns the components length of the marker descriptors
Standard_EXPORT Standard_Integer Length() const; //! Returns the point and status of a marker style
Standard_EXPORT Standard_Boolean Values(const Standard_Integer aRank,Standard_Real& aX,Standard_Real& aY) const; //! Returns the X vector of a marker style descriptor
Standard_EXPORT const TShort_Array1OfShortReal& XValues() const; //! Returns the Y vector of a marker style descriptor
Standard_EXPORT const TShort_Array1OfShortReal& YValues() const; //! Returns the State vector of a marker style descriptor
Standard_EXPORT const TColStd_Array1OfBoolean& SValues() const; Standard_EXPORT Standard_Boolean IsEqual(const Aspect_MarkerStyle& Other) const; Standard_Boolean operator==(const Aspect_MarkerStyle& Other) const { return IsEqual(Other); } Standard_EXPORT Standard_Boolean IsNotEqual(const Aspect_MarkerStyle& Other) const; Standard_Boolean operator!=(const Aspect_MarkerStyle& Other) const { return IsNotEqual(Other); } protected: private: //! Set MyMarkerDescriptor with the predefined style values
//! according of current type
Standard_EXPORT void SetPredefinedStyle() ; Aspect_TypeOfMarker MyMarkerType; Handle_TShort_HArray1OfShortReal MyXpoint; Handle_TShort_HArray1OfShortReal MyYpoint; Handle_TColStd_HArray1OfBoolean MySpoint; }; // other Inline functions and methods (like "C++: function call" methods) #endif