Abstract base class for all single-value fields. More...
#include <Inventor/fields/SoSField.h>
Static Public Member Functions | |
static SoType | getClassTypeId () |
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).
static SoType SoSField::getClassTypeId | ( | ) | [static] |
Return the type identifier for this field class.
Reimplemented from SoField.
Reimplemented in SoSFAnalysisResult, SoSFDataMeasure, SoSFDataMeasureAttributes, SoSFImageAnalysisResult, SoSFImageDataAdapter, SoSFKernel2i32, SoSFKernel3i32, SoSFLabelAnalysisResult, SoSFMorphoLut2D, SoSFMorphoLut3D, SoSFSegmentChain, SoSFStructuredQuadrilateralMesh, SoSFArray, SoSFArray2D, SoSFArray3D, SoSFBitMask, SoSFBool, SoSFBox2f, SoSFBox3f, SoSFBox3i32, SoSFBox3s, SoSFBox4i32, SoSFBufferObject, SoSFColor, SoSFColorRGBA, SoSFDouble, SoSFEngine, SoSFEnum, SoSFFieldContainer, SoSFFilePathString, SoSFFloat, SoSFImage, SoSFImage3, SoSFInt32, SoSFInt64, SoSFMaterial, SoSFMatrix, SoSFMemObj, SoSFName, SoSFNode, SoSFPath, SoSFPlane, SoSFRotation, SoSFShort, SoSFString, SoSFTime, SoSFTrigger, SoSFUByte, SoSFUInt32, SoSFUShort, SoSFVec2d, SoSFVec2f, SoSFVec2i32, SoSFVec2s, SoSFVec3d, SoSFVec3f, SoSFVec3i32, SoSFVec4f, SoSFVec4i32, SoSFLDMDataTransform, SoSFLDMResourceParameters, PoSFCartesianGrid2D, PoSFCartesianGrid3D, PoSFHexahedronMesh3D, PoSFIndexedMesh2D, PoSFIndexedMesh3D, PoSFIrregularMesh1D, PoSFMesh, PoSFParalCartesianGrid2D, PoSFParalCartesianGrid3D, PoSFPolarGrid2D, PoSFQuadrangleMesh2D, PoSFRegularCartesianGrid2D, PoSFRegularCartesianGrid3D, PoSFRegularMesh1D, PoSFTetrahedronMesh3D, and PoSFTriangleMesh2D.