// 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_VertexC_HeaderFile #define _Graphic3d_VertexC_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Quantity_Color_HeaderFile #include #endif #ifndef _Graphic3d_Vertex_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class Quantity_Color; class Graphic3d_Vertex; //! This class allows the creation and update of a point
//! with a colour value.
//! Returns the color of this point.
class Graphic3d_VertexC : public Graphic3d_Vertex { 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); } //! Constructs an empty point
Standard_EXPORT Graphic3d_VertexC(); //! Creates a point with coordinates , , and
//! with colour .
Standard_EXPORT Graphic3d_VertexC(const Standard_Real AX,const Standard_Real AY,const Standard_Real AZ,const Quantity_Color& AColor); //! Creates a point situated in and
//! for which the colour is .
Standard_EXPORT Graphic3d_VertexC(const Graphic3d_Vertex& APoint,const Quantity_Color& AColor); //! Modifies the colour of the point .
Standard_EXPORT void SetColor(const Quantity_Color& ColorNew) ; //! Returns the colour of the point .
Standard_EXPORT Quantity_Color Color() const; protected: private: Quantity_Color MyColor; }; // other Inline functions and methods (like "C++: function call" methods) #endif