Field containing an SoMaterial node. More...
#include <Inventor/fields/SoSFMaterial.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFMaterial & | operator= (const SoSFMaterial &f) |
SoSFMaterial () | |
virtual | ~SoSFMaterial () |
SoMaterial * | operator= (SoMaterial *newValue) |
SoMaterial * | getValue () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Field containing an SoMaterial node.
This field maintains a pointer to an instance of an SoMaterial node, correctly maintaining its reference count. The same SoMaterial node may be referenced in multiple SoSFMaterial fields.
SoSFNode, SoVolumeDataDrawStyle
SoSFMaterial::SoSFMaterial | ( | ) |
Default constructor.
virtual SoSFMaterial::~SoSFMaterial | ( | ) | [virtual] |
Destructor.
static SoType SoSFMaterial::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSFFieldContainer.
virtual SoType SoSFMaterial::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoSFFieldContainer.
SoMaterial* SoSFMaterial::getValue | ( | ) | const [inline] |
Return current value.
Reimplemented from SoSFFieldContainer.
SoMaterial* SoSFMaterial::operator= | ( | SoMaterial * | newValue | ) | [inline] |
Sets this field to newValue.
const SoSFMaterial& SoSFMaterial::operator= | ( | const SoSFMaterial & | f | ) |
Copy from another field of same type.
Reimplemented from SoSFFieldContainer.