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.
More...
|
virtual void | Assign (const Handle< MeshVS_Drawer > &aDrawer) |
| This method copies other drawer contents to this. More...
|
|
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) |
|
Public Member Functions inherited from Standard_Transient |
| Standard_Transient () |
| Empty constructor. More...
|
|
| Standard_Transient (const Standard_Transient &) |
| Copy constructor – does nothing. More...
|
|
Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More...
|
|
virtual | ~Standard_Transient () |
| Destructor must be virtual. More...
|
|
virtual void | Delete () const |
| Memory deallocator for transient classes. More...
|
|
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| Returns a type descriptor about this object. More...
|
|
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| Returns a true value if this is an instance of Type. More...
|
|
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName. More...
|
|
Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
|
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
|
|
Standard_Transient * | This () const |
| Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More...
|
|
Standard_Integer | GetRefCount () const |
| Get the reference counter of this object. More...
|
|
void | IncrementRefCounter () const |
| Increments the reference counter of this object. More...
|
|
Standard_Integer | DecrementRefCounter () const |
| Decrements the reference counter of this object; returns the decremented value. More...
|
|
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.