CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
26 #ifndef OD_AVEMATERIAL_H
27 #define OD_AVEMATERIAL_H
38 class OdAveMaterialImpl;
531 friend class OdAveMaterialImpl;
1008 #endif // OD_AVEMATERIAL_H
OdUInt32 ambientColor() const
OdAveWoodMaterial(OdAveMaterialImpl *pImpl)
static void getAciMaterialMap(OdDbDatabase *pDb, OdDbObjectIdArray &blockRefIds)
void setRingShape(double ringShape)
double transparency() const
GLuint const GLchar * name
bool attachToObject(OdDbObjectId entityId)
void setDiffuseColor(OdUInt32 diffuseColor)
void setSpecularFactor(double specularFactor)
void setDarkColor(OdUInt32 darkColor)
OdAveGraniteMaterial(OdAveMaterialImpl *pImpl)
OdResult writeMaterial(OdDbDatabase *pDb=NULL, const OdDbHandle &holderHandle=0)
AVE_EXPORT void oddbGetMaterialIds(OdDbDatabase *pDb, OdDbObjectIdArray &ids)
static void detachFromObject(OdDbObjectId entityId)
void setScale(double scale)
virtual OdAve::MaterialType type()
static bool getAttachedMaterial(OdDbDatabase *pDb, OdUInt16 colorIndex, OdDbObjectId &blockRefId)
double colorFactor(GraniteColor graniteColor)
void setScale(double scale)
static bool getAttachedMaterial(const OdDbObjectId &sourceId, OdDbObjectId &blockRefId)
bool attachToACI(OdUInt16 colorIndex)
void setScale(double scale)
void setSpecularMirror(bool mirror)
const OdAveBitmap & specularBitmap() const
ODRX_DECLARE_MEMBERS(OdAveGraniteMaterial)
virtual OdAve::MaterialType type()
virtual OdAve::MaterialType type()
void setDescription(const OdString &description)
OdUInt32 diffuseColor() const
void setHandleDbMaterial(const OdString &sDesc)
OdSmartPtr< OdAveMarbleMaterial > OdAveMarbleMaterialPtr
void setSpecularColorCurrent(bool colorCurrrent)
const OdAveBitmap & bumpMap() const
void setName(const OdString &name)
OdAveMaterial(OdAveMaterialImpl *pImpl)
void setAmbientColorCurrent(bool currentColor)
void setDiffuseFactor(double diffuseFactor)
void setColor(GraniteColor graniteColor, OdUInt32 color)
OdAveBitmap & diffuseBitmap() const
static void detachFromACI(OdDbDatabase *pDb, OdUInt16 colorIndex)
OdSmartPtr< OdAveWoodMaterial > OdAveWoodMaterialPtr
double specularFactor() const
OdString description() const
ODRX_DECLARE_MEMBERS(OdAveMarbleMaterial)
double refraction() const
bool isAttribUsed(OdAve::MaterialAttrib attributes)
void setSpecularColor(OdUInt32 specularColor)
ODRX_DECLARE_MEMBERS(OdAveMaterial)
OdUInt32 color(GraniteColor graniteColor)
OdSmartPtr< OdAveGraniteMaterial > OdAveGraniteMaterialPtr
OdAveMaterialImpl * m_pImpl
void stoneColor(OdUInt32 color)
OdAveMarbleMaterial(OdAveMaterialImpl *pImpl)
void setRingWidth(double ringWidth)
void setLightDark(double lightDark)
void setAmbientColor(OdUInt32 ambientColor)
bool ambientColorCurrent() const
bool specularColorCurrent() const
OdString handleDbMaterial() const
OdUInt32 specularColor() const
OdDbObjectId holderId() const
void setTransparency(double transparency)
static OdAveMaterialPtr getMaterial(const OdDbObjectId &blockRefId)
ODRX_DECLARE_MEMBERS(OdAveWoodMaterial)
bool diffuseColorCurrent() const
void setSpecularLock(bool specularLock)
bool specularMirror() const
virtual OdAve::MaterialType type()
void setLightColor(OdUInt32 lightColor)
void setRoughness(double)
void setDiffuseColorCurrent(bool currentColor)
void setTurbulence(OdUInt32 turbulence)
double diffuseFactor() const
OdSmartPtr< OdAveMaterial > OdAveMaterialPtr
double ambientFactor() const
OdAveBitmap & transparencyBitmap() const
bool specularLock() const
static void detachFromLayer(OdDbObjectId layerId)
AVE_EXPORT OdRxIteratorPtr oddbGetMaterials(OdDbDatabase *pDb)
void setRefraction(double refraction) const
OdAveBitmap & specularBitmap()
bool attachToLayer(OdDbObjectId layerId)
void setAmbientLock(bool ambientLock)
void veinColor(OdUInt32 color)
static OdString getMaterialName(const OdDbObjectId &blockRefId)
void setSharpness(double sharpness)
void setAmbientFactor(double ambientFactor)
void setRingDensity(double ringDensity)
void setColorFactor(GraniteColor graniteColor, double colorFactor)
void setSharpness(double sharpness)