CFx SDK Documentation
2020SP3
|
#include <AveMaterial.h>
Protected Member Functions | |
OdAveMarbleMaterial () | |
OdAveMarbleMaterial (OdAveMaterialImpl *pImpl) | |
Protected Member Functions inherited from OdAveMaterial | |
OdAveMaterial () | |
OdAveMaterial (OdAveMaterialImpl *pImpl) | |
Additional Inherited Members | |
Static Public Member Functions inherited from OdAveMaterial | |
static OdAveMaterialPtr | getMaterial (const OdDbObjectId &blockRefId) |
static OdString | getMaterialName (const OdDbObjectId &blockRefId) |
static void | detachFromObject (OdDbObjectId entityId) |
static void | detachFromLayer (OdDbObjectId layerId) |
static void | detachFromACI (OdDbDatabase *pDb, OdUInt16 colorIndex) |
static bool | getAttachedMaterial (const OdDbObjectId &sourceId, OdDbObjectId &blockRefId) |
static bool | getAttachedMaterial (OdDbDatabase *pDb, OdUInt16 colorIndex, OdDbObjectId &blockRefId) |
static void | getAciMaterialMap (OdDbDatabase *pDb, OdDbObjectIdArray &blockRefIds) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes inherited from OdAveMaterial | |
OdAveMaterialImpl * | m_pImpl |
This class represents AVE Marble Material properties for shaded entities.
<group OdAve_Classes>
Definition at line 719 of file AveMaterial.h.
|
protected |
|
protected |
OdAveMarbleMaterial::ODRX_DECLARE_MEMBERS | ( | OdAveMarbleMaterial | ) |
double OdAveMarbleMaterial::scale | ( | ) |
Returns the scale of this Marble Material object.
void OdAveMarbleMaterial::setScale | ( | double | scale | ) |
Sets the scale of this Marble Material object.
scale | [in] Scale. |
void OdAveMarbleMaterial::setSharpness | ( | double | sharpness | ) |
Sets the sharpness of this Marble Material object.
sharpness | [in] Sharpness. [0.0 .. 1.0] |
Renders 0.0 Colors are melded. 1.0 Colors are discrete.
Sets the vein turbulance of this Marble Material object.
turbulence | [in] Turbulence. |
double OdAveMarbleMaterial::sharpness | ( | ) |
Returns the sharpness of this Marble Material object.
Renders 0.0 Colors are melded. 1.0 Colors are discrete.
OdUInt32 OdAveMarbleMaterial::stoneColor | ( | ) |
Accesses the stone color for this Marble Material object.
Accesses the stone color for this Marble Material object.
color | [in] 24-bit RGB color. |
OdUInt32 OdAveMarbleMaterial::turbulence | ( | ) |
Returns the vein turbulance of this Marble Material object.
|
virtual |
Returns the type of this Material object.
Value kStandard 0 kGranite 1 kMarble 2 kWood 3
Reimplemented from OdAveMaterial.
OdUInt32 OdAveMarbleMaterial::veinColor | ( | ) |
Accesses the vein color for this Marble Material object.
Accesses the vein color for this Marble Material object.
color | [in] 24-bit RGB color. |