This class provides several parameters to tunes 3dxml Writter.
It must be provided to addInstance3D method.
More...
Public Member Functions | |
| void | ClearMaterial () |
| Clears material parameters for the written instance node. More... | |
| Dtk_Int32 | GetBlankedStatus () const |
| Retrieve the Written blanked status. More... | |
| Dtk_RGB | GetColor () const |
| Retrieve the Written color. More... | |
| Dtk_Double64 | GetCurveThickness () const |
| Retrieve the Written curve thickness. More... | |
| Dtk_FontLineType | GetCurveType () const |
| Retrieve the Written curve type. More... | |
| Dtk_Double64 | GetMaterialAmbient () const |
| Dtk_RGB | GetMaterialAmbientColor () const |
| Dtk_Double64 | GetMaterialDiffuse () const |
| Dtk_RGB | GetMaterialDiffuseColor () const |
| Dtk_string | GetMaterialName () const |
| Dtk_Double64 | GetMaterialReflectivity () const |
| Dtk_Double64 | GetMaterialRefraction () const |
| Dtk_Double64 | GetMaterialSpecular () const |
| Dtk_RGB | GetMaterialSpecularColor () const |
| Dtk_Double64 | GetMaterialTransparency () const |
| Dtk_bool | HasMaterial () const |
| Returns whether a material was actually set on this instance. More... | |
| void | SetBlankedStatus (const Dtk_Int32 inBlanked) |
| Sets the blanked status for the written instance node. More... | |
| void | SetColor (const Dtk_RGB &inColor) |
| Sets the color for the written instance node. More... | |
| void | SetCurveThickness (Dtk_Double64 inCurveThickness) |
| Sets the curve thickness for the written instance node. More... | |
| void | SetCurveType (Dtk_FontLineType inCurveType) |
| Sets the curve type for the written instance node. More... | |
| void | SetMaterial (const Dtk_string &inMaterialName, const Dtk_RGB &inAmbientColor=Dtk_RGB(), const Dtk_RGB &inDiffuseColor=Dtk_RGB(), const Dtk_RGB &inSpecularColor=Dtk_RGB(), Dtk_Double64 inAmbient=0, Dtk_Double64 inDiffuse=0, Dtk_Double64 inSpecular=0, Dtk_Double64 inRefraction=0, Dtk_Double64 inTransparency=0, Dtk_Double64 inReflectivity=0) |
| Sets material parameters to be applied on the written instance node. More... | |
| WriteParameters () | |
| Default constructor. More... | |
| ~WriteParameters () | |
| Destructor. More... | |
This class provides several parameters to tunes 3dxml Writter.
It must be provided to addInstance3D method.
| _3dxmlw::WriteParameters::WriteParameters | ( | ) |
Default constructor.
| void _3dxmlw::WriteParameters::ClearMaterial | ( | ) |
Clears material parameters for the written instance node.
| Dtk_Int32 _3dxmlw::WriteParameters::GetBlankedStatus | ( | ) | const |
Retrieve the Written blanked status.
| Dtk_RGB _3dxmlw::WriteParameters::GetColor | ( | ) | const |
Retrieve the Written color.
| Dtk_Double64 _3dxmlw::WriteParameters::GetCurveThickness | ( | ) | const |
Retrieve the Written curve thickness.
| Dtk_FontLineType _3dxmlw::WriteParameters::GetCurveType | ( | ) | const |
Retrieve the Written curve type.
| Dtk_Double64 _3dxmlw::WriteParameters::GetMaterialAmbient | ( | ) | const |
| Dtk_RGB _3dxmlw::WriteParameters::GetMaterialAmbientColor | ( | ) | const |
| Dtk_Double64 _3dxmlw::WriteParameters::GetMaterialDiffuse | ( | ) | const |
| Dtk_RGB _3dxmlw::WriteParameters::GetMaterialDiffuseColor | ( | ) | const |
| Dtk_string _3dxmlw::WriteParameters::GetMaterialName | ( | ) | const |
| Dtk_Double64 _3dxmlw::WriteParameters::GetMaterialReflectivity | ( | ) | const |
| Dtk_Double64 _3dxmlw::WriteParameters::GetMaterialRefraction | ( | ) | const |
| Dtk_Double64 _3dxmlw::WriteParameters::GetMaterialSpecular | ( | ) | const |
| Dtk_RGB _3dxmlw::WriteParameters::GetMaterialSpecularColor | ( | ) | const |
| Dtk_Double64 _3dxmlw::WriteParameters::GetMaterialTransparency | ( | ) | const |
| Dtk_bool _3dxmlw::WriteParameters::HasMaterial | ( | ) | const |
Returns whether a material was actually set on this instance.
| void _3dxmlw::WriteParameters::SetBlankedStatus | ( | const Dtk_Int32 | inBlanked | ) |
Sets the blanked status for the written instance node.
| [in] | inBlanked | : blanked status. |
| void _3dxmlw::WriteParameters::SetColor | ( | const Dtk_RGB & | inColor | ) |
Sets the color for the written instance node.
| [in] | inColor | : color. |
| void _3dxmlw::WriteParameters::SetCurveThickness | ( | Dtk_Double64 | inCurveThickness | ) |
Sets the curve thickness for the written instance node.
| [in] | inCurveThickness | : curve thickness. |
| void _3dxmlw::WriteParameters::SetCurveType | ( | Dtk_FontLineType | inCurveType | ) |
Sets the curve type for the written instance node.
| [in] | inCurvetype | : curve type. |
| void _3dxmlw::WriteParameters::SetMaterial | ( | const Dtk_string & | inMaterialName, |
| const Dtk_RGB & | inAmbientColor = Dtk_RGB(), |
||
| const Dtk_RGB & | inDiffuseColor = Dtk_RGB(), |
||
| const Dtk_RGB & | inSpecularColor = Dtk_RGB(), |
||
| Dtk_Double64 | inAmbient = 0, |
||
| Dtk_Double64 | inDiffuse = 0, |
||
| Dtk_Double64 | inSpecular = 0, |
||
| Dtk_Double64 | inRefraction = 0, |
||
| Dtk_Double64 | inTransparency = 0, |
||
| Dtk_Double64 | inReflectivity = 0 |
||
| ) |
Sets material parameters to be applied on the written instance node.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |