Field containing an SoPath. More...
#include <Inventor/fields/SoSFPath.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const SoSFPath & | operator= (const SoSFPath &f) |
SoSFPath () | |
virtual | ~SoSFPath () |
SoPath * | getValue () const |
void | setValue (SoPath *newValue) |
SoPath * | operator= (SoPath *newValue) |
int | operator== (const SoSFPath &f) const |
int | operator!= (const SoSFPath &f) const |
virtual size_t | getValueSize () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Field containing an SoPath.
This field maintains an SoPath instance, correctly maintaining its reference count.
SoSFPaths are written to file as the path they refer to. See the SoPath reference page for a description of the file format for a path.
SoSFPath is not able to write "per instance" information to a file for instancing nodes like SoMultipleInstance and SoMultipleCopy. The path will reference the whole set of instances under the instancing node.
SoField, SoSField, SoMFPath, SoPath
SoSFPath::SoSFPath | ( | ) |
Default constructor.
virtual SoSFPath::~SoSFPath | ( | ) | [virtual] |
Destructor.
static SoType SoSFPath::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSField.
virtual SoType SoSFPath::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
SoPath* SoSFPath::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t SoSFPath::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int SoSFPath::operator!= | ( | const SoSFPath & | f | ) | const [inline] |
Returns FALSE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
int SoSFPath::operator== | ( | const SoSFPath & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void SoSFPath::setValue | ( | SoPath * | newValue | ) |
Sets this field to newValue.