CFx SDK Documentation
2020SP3
|
#include <AveMaterial.h>
Protected Member Functions | |
OdAveWoodMaterial () | |
OdAveWoodMaterial (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 Wood Material properties for shaded entities.
<group OdAve_Classes>
Definition at line 836 of file AveMaterial.h.
|
protected |
|
protected |
OdUInt32 OdAveWoodMaterial::darkColor | ( | ) |
Returns the dark color of this Wood Material object.
OdUInt32 OdAveWoodMaterial::lightColor | ( | ) |
Returns the light color of this Material object.
double OdAveWoodMaterial::lightDark | ( | ) |
Returns the mixture of light vs. dark rings in this Wood Material object.
Renders 0.0 Mostly dark. 1.0 Mostly light.
OdAveWoodMaterial::ODRX_DECLARE_MEMBERS | ( | OdAveWoodMaterial | ) |
double OdAveWoodMaterial::ringDensity | ( | ) |
Returns the ring density of this Wood Material object.
double OdAveWoodMaterial::ringShape | ( | ) |
Returns the ring shape parameters for this Wood Material object.
Renders 0.0 Circular rings. 1.0 Most irregular rings.
double OdAveWoodMaterial::ringWidth | ( | ) |
Returns the ring width variation for this Wood Material object.
Renders 0.0 Rings are uniform. 1.0 Rings have greatest variation.
double OdAveWoodMaterial::scale | ( | ) |
Returns the scale of this Wood Material object.
Sets the dark color of this Wood Material object.
darkColor | [in] 24-bit RGB color. |
Sets the light color of this Wood Material object.
lightColor | [in] 24-bit RGB color. |
void OdAveWoodMaterial::setLightDark | ( | double | lightDark | ) |
Sets the mixture of light vs. dark rings in this Wood Material object.
lightDark | [in] Light/Dark mixture. [0.0 .. 1.0] |
Renders 0.0 Mostly dark. 1.0 Mostly light.
void OdAveWoodMaterial::setRingDensity | ( | double | ringDensity | ) |
Sets the ring density of this Wood Material object.
ringDensity | [in] Ring Density. |
void OdAveWoodMaterial::setRingShape | ( | double | ringShape | ) |
Sets the ring shape parameters for this Wood Material object.
ringShape | [in] Ring shape parameter. [0.0 .. 1.0] |
Renders 0.0 Circular rings. 1.0 Most irregular rings.F
void OdAveWoodMaterial::setRingWidth | ( | double | ringWidth | ) |
Sets the ring width parameter for this Wood Material object.
ringWidth | [in] Ring width parameter. [0.0 .. 1.0] |
Renders 0.0 Rings are uniform. 1.0 Rings have greatest variation.
void OdAveWoodMaterial::setScale | ( | double | scale | ) |
Sets the scale of this Wood Material object.
scale | [in] Scale. |
|
virtual |
Returns the type of this Material object.
Value kStandard 0 kGranite 1 kMarble 2 kWood 3
Reimplemented from OdAveMaterial.