#include <SO3Material.h>
|
| | SMaterial (SScene *scene, const std::string &groupname, const std::string &materialName, const bool &loadedFromScript=false) |
| |
| | ~SMaterial () |
| |
| SWidget * | GetAssociatedWidget () |
| |
| void | SetAssociatedWidget (SWidget *newAssociatedWidget) |
| |
| SScene * | GetScene () |
| |
| std::string | GetGroupName () |
| |
| Ogre::MaterialPtr | getOgreMaterialPointer () |
| |
| int | GetNumTechniques () |
| |
| STechnique * | GetTechnique (const unsigned int &technique) |
| |
| int | GetTechniqueIndexByName (const std::string &techname) |
| |
| bool | GetReceiveShadows () |
| |
| void | SetReceiveShadows (const bool &state) |
| |
| void | SetLightingEnabled (const bool &state) |
| |
| void | SetAmbientColor (const int &color) |
| |
| void | SetDiffuseColor (const int &color) |
| |
| void | SetSpecularColor (const int &color) |
| |
| void | SetSelfIlluminationColor (const int &color) |
| |
| void | SetAmbientColor (float r, float g, float b, float a) |
| |
| void | SetDiffuseColor (float r, float g, float b, float a) |
| |
| void | SetSpecularColor (float r, float g, float b, float a) |
| |
| void | SetSelfIlluminationColor (float r, float g, float b, float a) |
| |
| void | SetShininess (const float &value) |
| |
| void | AddTechnique () |
| |
| void | RemoveTechnique (const unsigned int &technique) |
| |
| void | _BindTechniquesToOgre () |
| |
| void | _UnbindTechniquesToOgre () |
| |
| void | _UpdateOgreMaterialPointer () |
| |
| void | SetPointSize (Ogre::Real size) |
| |
| void | CleanUpGeneratedTechniques () |
| |
| void | WriteMaterialFile (std::string path="") |
| |
| void | SetIgnoreSlicePlane (bool state) |
| |
| bool | GetIgnoreSlicePlane () |
| |
| void | UpdateGeneratedMaterial (bool full=false) |
| |
| | SData (const std::string &dataName) |
| |
| virtual | ~SData () |
| |
| std::string | GetName () const |
| |
| SUserObjectBindings & | GetUserObjectBindings () |
| |
| const SUserObjectBindings & | GetUserObjectBindings () const |
| |
Definition at line 42 of file SO3Material.h.
◆ SMaterial()
| SO3::SMaterial::SMaterial |
( |
SScene * |
scene, |
|
|
const std::string & |
groupname, |
|
|
const std::string & |
materialName, |
|
|
const bool & |
loadedFromScript = false |
|
) |
| |
◆ ~SMaterial()
| SO3::SMaterial::~SMaterial |
( |
| ) |
|
◆ _BindTechniquesToOgre()
| void SO3::SMaterial::_BindTechniquesToOgre |
( |
| ) |
|
◆ _UnbindTechniquesToOgre()
| void SO3::SMaterial::_UnbindTechniquesToOgre |
( |
| ) |
|
◆ _UpdateOgreMaterialPointer()
| void SO3::SMaterial::_UpdateOgreMaterialPointer |
( |
| ) |
|
◆ AddTechnique()
| void SO3::SMaterial::AddTechnique |
( |
| ) |
|
◆ CleanUpGeneratedTechniques() [1/2]
| void SO3::SMaterial::CleanUpGeneratedTechniques |
( |
| ) |
|
◆ CleanUpGeneratedTechniques() [2/2]
| void SO3::SMaterial::CleanUpGeneratedTechniques |
( |
Ogre::Material * |
mat | ) |
|
|
static |
◆ CountMaterialsInScript()
| int SO3::SMaterial::CountMaterialsInScript |
( |
std::string |
path | ) |
|
|
static |
◆ GetAssociatedWidget()
| SWidget * SO3::SMaterial::GetAssociatedWidget |
( |
| ) |
|
◆ GetGroupName()
| std::string SO3::SMaterial::GetGroupName |
( |
| ) |
|
◆ GetIgnoreSlicePlane()
| bool SO3::SMaterial::GetIgnoreSlicePlane |
( |
| ) |
|
◆ GetNumTechniques()
| int SO3::SMaterial::GetNumTechniques |
( |
| ) |
|
◆ getOgreMaterialPointer()
| Ogre::MaterialPtr SO3::SMaterial::getOgreMaterialPointer |
( |
| ) |
|
◆ GetReceiveShadows()
| bool SO3::SMaterial::GetReceiveShadows |
( |
| ) |
|
◆ GetScene()
| SScene * SO3::SMaterial::GetScene |
( |
| ) |
|
◆ GetTechnique()
| STechnique * SO3::SMaterial::GetTechnique |
( |
const unsigned int & |
technique | ) |
|
◆ GetTechniqueIndexByName()
| int SO3::SMaterial::GetTechniqueIndexByName |
( |
const std::string & |
techname | ) |
|
◆ RemoveTechnique()
| void SO3::SMaterial::RemoveTechnique |
( |
const unsigned int & |
technique | ) |
|
◆ SetAmbientColor() [1/2]
| void SO3::SMaterial::SetAmbientColor |
( |
const int & |
color | ) |
|
◆ SetAmbientColor() [2/2]
| void SO3::SMaterial::SetAmbientColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
◆ SetAssociatedWidget()
| void SO3::SMaterial::SetAssociatedWidget |
( |
SWidget * |
newAssociatedWidget | ) |
|
◆ SetDiffuseColor() [1/2]
| void SO3::SMaterial::SetDiffuseColor |
( |
const int & |
color | ) |
|
◆ SetDiffuseColor() [2/2]
| void SO3::SMaterial::SetDiffuseColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
◆ SetIgnoreSlicePlane()
| void SO3::SMaterial::SetIgnoreSlicePlane |
( |
bool |
state | ) |
|
◆ SetLightingEnabled()
| void SO3::SMaterial::SetLightingEnabled |
( |
const bool & |
state | ) |
|
◆ SetPointSize()
| void SO3::SMaterial::SetPointSize |
( |
Ogre::Real |
size | ) |
|
◆ SetReceiveShadows()
| void SO3::SMaterial::SetReceiveShadows |
( |
const bool & |
state | ) |
|
◆ SetSelfIlluminationColor() [1/2]
| void SO3::SMaterial::SetSelfIlluminationColor |
( |
const int & |
color | ) |
|
◆ SetSelfIlluminationColor() [2/2]
| void SO3::SMaterial::SetSelfIlluminationColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
◆ SetShininess()
| void SO3::SMaterial::SetShininess |
( |
const float & |
value | ) |
|
◆ SetSpecularColor() [1/2]
| void SO3::SMaterial::SetSpecularColor |
( |
const int & |
color | ) |
|
◆ SetSpecularColor() [2/2]
| void SO3::SMaterial::SetSpecularColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
◆ UpdateGeneratedMaterial()
| void SO3::SMaterial::UpdateGeneratedMaterial |
( |
bool |
full = false | ) |
|
◆ UpdateMaterialScript()
| void SO3::SMaterial::UpdateMaterialScript |
( |
std::string |
path | ) |
|
|
static |
◆ WriteMaterialFile()
| void SO3::SMaterial::WriteMaterialFile |
( |
std::string |
path = "" | ) |
|
◆ associatedWidget
| SWidget* SO3::SMaterial::associatedWidget |
|
protected |
◆ mGroupName
| std::string SO3::SMaterial::mGroupName |
|
protected |
◆ mIgnoreSlicePlane
| bool SO3::SMaterial::mIgnoreSlicePlane |
|
protected |
◆ mScene
| SScene* SO3::SMaterial::mScene |
|
protected |
◆ ogreMaterial
| Ogre::MaterialPtr SO3::SMaterial::ogreMaterial |
|
protected |
The documentation for this class was generated from the following files: