// 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 _VrmlConverter_LineAspect_HeaderFile #define _VrmlConverter_LineAspect_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_VrmlConverter_LineAspect_HeaderFile #include #endif #ifndef _Handle_Vrml_Material_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif class Vrml_Material; //! qualifies the aspect properties for
//! the VRML conversation of a Curve and a DeflectionCurve .
class VrmlConverter_LineAspect : public MMgt_TShared { public: //! create a default LineAspect.
//! Default value: HasMaterial = False - a line hasn't own material (color)
Standard_EXPORT VrmlConverter_LineAspect(); Standard_EXPORT VrmlConverter_LineAspect(const Handle(Vrml_Material)& aMaterial,const Standard_Boolean OnOff); Standard_EXPORT void SetMaterial(const Handle(Vrml_Material)& aMaterial) ; Standard_EXPORT Handle_Vrml_Material Material() const; //! defines the necessary of writing own Material from Vrml into output OStream.
//! By default False - the material is not writing into OStream,
//! True - the material is writing.
Standard_EXPORT void SetHasMaterial(const Standard_Boolean OnOff) ; //! returns True if the materials is writing into OStream.
Standard_EXPORT Standard_Boolean HasMaterial() const; DEFINE_STANDARD_RTTI(VrmlConverter_LineAspect) protected: private: Handle_Vrml_Material myMaterial; Standard_Boolean myHasMaterial; }; // other Inline functions and methods (like "C++: function call" methods) #endif