Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
MeshVS_Drawer Class Reference

This class provided the common interface to share between classes
big set of constants affecting to object appearance. By default, this class
can store integers, doubles, OCC colors, OCC materials. Each of OCC enum members
can be stored as integers.

#include <MeshVS_Drawer.hxx>

Inheritance diagram for MeshVS_Drawer:
Inheritance graph
[legend]

Public Member Functions

virtual void Assign (const Handle< MeshVS_Drawer > &aDrawer)
 This method copies other drawer contents to this.

void SetInteger (const Standard_Integer Key, const Standard_Integer Value)
void SetDouble (const Standard_Integer Key, const Standard_Real Value)
void SetBoolean (const Standard_Integer Key, const Standard_Boolean Value)
void SetColor (const Standard_Integer Key, const Quantity_Color &Value)
void SetMaterial (const Standard_Integer Key, const Graphic3d_MaterialAspect &Value)
void SetAsciiString (const Standard_Integer Key, const TCollection_AsciiString &Value)
Standard_Boolean GetInteger (const Standard_Integer Key, Standard_Integer &Value) const
Standard_Boolean GetDouble (const Standard_Integer Key, Standard_Real &Value) const
Standard_Boolean GetBoolean (const Standard_Integer Key, Standard_Boolean &Value) const
Standard_Boolean GetColor (const Standard_Integer Key, Quantity_Color &Value) const
Standard_Boolean GetMaterial (const Standard_Integer Key, Graphic3d_MaterialAspect &Value) const
Standard_Boolean GetAsciiString (const Standard_Integer Key, TCollection_AsciiString &Value) const
Standard_Boolean RemoveInteger (const Standard_Integer Key)
Standard_Boolean RemoveDouble (const Standard_Integer Key)
Standard_Boolean RemoveBoolean (const Standard_Integer Key)
Standard_Boolean RemoveColor (const Standard_Integer Key)
Standard_Boolean RemoveMaterial (const Standard_Integer Key)
Standard_Boolean RemoveAsciiString (const Standard_Integer Key)

Member Function Documentation

virtual void MeshVS_Drawer::Assign ( const Handle< MeshVS_Drawer > &  aDrawer) [virtual]

The documentation for this class was generated from the following file: