#include <exotkMaterial.hxx>
Public Methods | |
| void * | operator new (size_t, void *anAddress) |
| OCC new. More... | |
| void * | operator new (size_t size) |
| OCC new. More... | |
| void | operator delete (void *anAddress) |
| OCC delete. More... | |
Static Public Methods | |
| Standard_EXPORT Standard_Boolean | AddMaterial (const TCollection_AsciiString &aName, const Graphic3d_MaterialAspect &aMaterial, const Standard_Boolean aIsModifiable) |
| Add aMaterial with aName and the flag aIsModifiable to the list of known materials. More... | |
| Standard_EXPORT Standard_Boolean | ReplaceMaterial (const TCollection_AsciiString &aName, const Graphic3d_MaterialAspect &aNewMaterial) |
| Replace the material named aName with aNewMaterial. More... | |
| Standard_EXPORT Standard_Boolean | NameExists (const TCollection_AsciiString &aName) |
| Return true if aNAme already exists. More... | |
| Standard_EXPORT Standard_Boolean | CurrentMaterial (Graphic3d_MaterialAspect &aMaterial) |
| Returns the current material. More... | |
| Standard_EXPORT Standard_Boolean | CurrentName (TCollection_AsciiString &aName) |
| Returns the current material name. More... | |
| Standard_EXPORT void | NextMaterialIterator () |
| iterator. More... | |
| Standard_EXPORT Standard_Boolean | MoreMaterialIterator () |
| iterator. More... | |
| Standard_EXPORT void | InitMaterialIterator () |
| iterator. More... | |
| Standard_EXPORT Standard_Boolean | IsModifiable (const Graphic3d_MaterialAspect &aMaterial, Standard_Boolean &aIsModifiable) |
| return the modifiable status of aMaterial. More... | |
| Standard_EXPORT Standard_Boolean | IsModifiable (const TCollection_AsciiString &aName, Standard_Boolean &aIsModifiable) |
| return the modifiable status of the Material named aName. More... | |
| Standard_EXPORT Standard_Boolean | FindName (const Graphic3d_MaterialAspect &aMaterial, TCollection_AsciiString &aFoundName) |
| return the name of aMaterial. More... | |
| Standard_EXPORT Standard_Boolean | FindMaterial (const TCollection_AsciiString &aName, Graphic3d_MaterialAspect &aFoundMaterial) |
| Return the material named aName. More... | |
| Standard_EXPORT Handle_exotkMaterial_Material | FindMaterial (const Graphic3d_MaterialAspect &aMaterial) |
| return the intern material for aMaterial. More... | |
| Standard_EXPORT Handle_exotkMaterial_Material | FindMaterial (const TCollection_AsciiString &aName) |
| return the intern material for aName. More... | |
Static Protected Methods | |
| void | InitStandardMaterials () |
| init the standard OpenCASCADE materials. More... | |
Definition at line 50 of file exotkMaterial.hxx.
|
||||||||||||||||
|
Add aMaterial with aName and the flag aIsModifiable to the list of known materials.
Definition at line 392 of file exotkMaterial.cxx. References InitStandardMaterials(). |
|
|
Returns the current material.
Definition at line 137 of file exotkMaterial.cxx. |
|
|
Returns the current material name.
Definition at line 156 of file exotkMaterial.cxx. |
|
|
return the intern material for aName.
Definition at line 282 of file exotkMaterial.cxx. References exotkMaterial_MapIteratorOfMapOfMaterial::Initialize(), InitStandardMaterials(), and exotkMaterial_MapIteratorOfMapOfMaterial::Key(). |
|
|
return the intern material for aMaterial.
Definition at line 258 of file exotkMaterial.cxx. References exotkMaterial_MapIteratorOfMapOfMaterial::Initialize(), InitStandardMaterials(), IsSameMaterial(), and exotkMaterial_MapIteratorOfMapOfMaterial::Key(). |
|
||||||||||||
|
Return the material named aName.
Definition at line 329 of file exotkMaterial.cxx. References InitStandardMaterials(). Referenced by FindName(), IsModifiable(), NameExists(), and ReplaceMaterial(). |
|
||||||||||||
|
return the name of aMaterial.
Definition at line 307 of file exotkMaterial.cxx. References FindMaterial(), and InitStandardMaterials(). |
|
|
iterator.
Definition at line 199 of file exotkMaterial.cxx. References InitStandardMaterials(). |
|
|
init the standard OpenCASCADE materials.
Definition at line 104 of file exotkMaterial.cxx. References Graphic3d_NameOfMaterial. Referenced by AddMaterial(), FindMaterial(), FindName(), InitMaterialIterator(), IsModifiable(), and ReplaceMaterial(). |
|
||||||||||||
|
return the modifiable status of the Material named aName.
Definition at line 215 of file exotkMaterial.cxx. References FindMaterial(), and InitStandardMaterials(). |
|
||||||||||||
|
return the modifiable status of aMaterial.
Definition at line 237 of file exotkMaterial.cxx. References FindMaterial(), and InitStandardMaterials(). |
|
|
iterator.
Definition at line 187 of file exotkMaterial.cxx. |
|
|
Return true if aNAme already exists.
Definition at line 351 of file exotkMaterial.cxx. References FindMaterial(). |
|
|
iterator.
Definition at line 175 of file exotkMaterial.cxx. |
|
|
OCC delete.
Definition at line 83 of file exotkMaterial.hxx. |
|
|
OCC new.
Definition at line 72 of file exotkMaterial.hxx. |
|
||||||||||||
|
OCC new.
Definition at line 61 of file exotkMaterial.hxx. |
|
||||||||||||
|
Replace the material named aName with aNewMaterial.
Definition at line 365 of file exotkMaterial.cxx. References FindMaterial(), and InitStandardMaterials(). |
1.2.12 written by Dimitri van Heesch,
© 1997-2001