SoSField Class Reference
[Fields]

Abstract base class for all single-value fields. More...

#include <Inventor/fields/SoSField.h>

Inheritance diagram for SoSField:
SoField SoTypedObject PoSFMesh SoSFArray SoSFBool SoSFBox2f SoSFBox3f SoSFBox3i32 SoSFBox3s SoSFBox4i32 SoSFBufferObject SoSFColor SoSFColorRGBA SoSFDouble SoSFEngine SoSFEnum SoSFFieldContainer SoSFFloat SoSFImage SoSFImage3 SoSFInt32 SoSFInt64 SoSFKernel2i32 SoSFKernel3i32 SoSFMatrix SoSFMatrix3 SoSFMemObj SoSFName SoSFNode SoSFPath SoSFPlane SoSFRotation SoSFShort SoSFString SoSFStructuredQuadrilateralMesh SoSFTime SoSFTrigger SoSFUByte SoSFUInt32 SoSFUShort SoSFVec2d SoSFVec2f SoSFVec2i32 SoSFVec2s SoSFVec3d SoSFVec3f SoSFVec3i32 SoSFVec4f SoSFVec4i32

List of all members.

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Abstract base class for all single-value fields.

Each class derived from SoSField begins with an SoSF prefix and contains one value of a particular type. Each has setValue() and getValue() methods that are used to change or access this value. In addition, some field classes have extra convenience routines that allow values to be set or retrieved in other related formats (see below).

In addition to setValue(), all single-value fields overload the "=" assignment operator to set the field value from the correct datatype or from another field instance of the same type.

The value of a single-value field is written to file in a format dependent on the field type; see the subclass reference pages for details.

A field that is ignored has a tilde (~) either in place of the value (if the actual value is the default) or after it (otherwise).

SEE ALSO

SoField, SoMField


Member Function Documentation

static SoType SoSField::getClassTypeId (  )  [static]

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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/