API Reference > Extension Classes > OdBaseMaterialAndColorHelper Class
OdBaseMaterialAndColorHelper Class
OdBaseMaterialAndColorHelperOdBaseMaterialAndColorHelper
Syntax
C++
class OdBaseMaterialAndColorHelper : public OdIMaterialAndColorHelper;

BaseMaterialAndColorHelper.h

Helper structure for handling materials and colors. remark You have to setup source and destination database in OdBrepBuilderFillerParams.

 
Name 
Description 
 
Destroys the OdBaseMaterialAndColorHelper. 
 
Creates a new instance of helper.
 
 
Name 
Description 
 
Gets an edge visual information for OdBrepBuilder.
 
 
Gets a face visual information specific for OdBrepBuilder.
 
 
Resets the default color of source edges. 
 
Resets the default color of source faces and edges. 
 
Resets the default source material mapping. 
 
Resets the default color of source faces. 
 
Sets a color of source edges that will be used if B-Rep edge does not have color.
 
 
Sets a color of source faces and edges that will be used if B-Rep face or edge does not have color.
 
 
Sets a material that will be used if B-Rep face does not have any material.
 
 
Sets a material mapping that will be used if B-Rep face does not have any material mapping.
 
 
Sets a color of source faces that will be used if B-Rep face does not have color.
 
Name 
Description 
This is nested type OdBaseMaterialAndColorHelper::MaterialCache. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.