SoSFMaterial Class Reference
[Fields]

Field containing an SoMaterial node. More...

#include <Inventor/fields/SoSFMaterial.h>

Inheritance diagram for SoSFMaterial:
SoSFFieldContainer SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFMaterialoperator= (const SoSFMaterial &f)
 SoSFMaterial ()
virtual ~SoSFMaterial ()
SoMaterialoperator= (SoMaterial *newValue)
SoMaterialgetValue () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

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.

SEE ALSO

SoSFNode, SoVolumeDataDrawStyle


Constructor & Destructor Documentation

SoSFMaterial::SoSFMaterial (  ) 

Default constructor.

virtual SoSFMaterial::~SoSFMaterial (  )  [virtual]

Destructor.


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/