#include <Materials.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Static Public Member Functions | |
static Standard_EXPORT void | MaterialFile (const Standard_CString afile) |
Sets the location and the name of the file defining the definition of a material, in term of properties. . | |
static Standard_EXPORT void | MaterialsFile (const Standard_CString afile) |
Sets the location and the name of the file defining the dictionary of materials. . | |
static Standard_EXPORT Standard_CString | MaterialsFile () |
Returns the location and the name of the dictionary file of materials. . | |
static Standard_EXPORT Handle_Materials_MaterialsDictionary | DictionaryOfMaterials () |
Returns the dictionary of materials.The dictionary is created at the first call to this method, or if the dictionary is not up to date with respect to the file date. . | |
static Standard_EXPORT Standard_Boolean | ExistMaterial (const Standard_CString aName) |
True if the materialofname aName exists ... . | |
static Standard_EXPORT Handle_Materials_Material | Material (const Standard_CString amaterial) |
Retrieves from the dictionary the object material with <amaterial> as name. . | |
static Standard_EXPORT Standard_Integer | NumberOfMaterials () |
Returns the number of materials previously stored in the dictionary. . | |
static Standard_EXPORT Handle_Materials_Material | Material (const Standard_Integer anindex) |
This method used with the previous one, allows the exploration of all the dictionary. It returns a Material instance. . |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|