SOSFUSHORT(3iv)
β¨ NAME β¨
SoSFUShort β a field that holds an unsigned short integer π (yes bestie, one single little number, living its best life)
This one's from the 3IV manual, and it's giving "tiny field, big feelings." π
πΈ INHERITS FROM πΈ
SoField > SoSField > SoSFUShort
The whole ancestry chain, no skips: your girl descends from SoField, which descends from... okay no, it's the other way around, SoSFUShort is the baby at the bottom of the family tree. π³
π¦ SYNOPSIS π¦
#include <Inventor/fields/SoSFUShort.h>
Methods from class SoSFUShort:
static SoType getClassTypeId()
virtual void getTypeId() const
short unsigned short getValue() const
short unsigned short operator =(short unsigned short newValue)
void setValue(short unsigned short newValue)
int operator ==(const SoSFUShort &f) const
int operator !=(const SoSFUShort &f) const
Methods from class SoField:
void setIgnored(SbBool ignore)
SbBool isIgnored() const
SbBool isDefault() const
virtual SbBool isOfType(SoType type) const
SbBool set(const char *valueString)
void get(SbString &valueString)
void touch()
SbBool connectFrom(SoField *fromField)
SbBool connectFrom(SoEngineOutput *fromEngine)
void disconnect()
SbBool isConnected() const
SbBool isConnectedFromField() const
SbBool getConnectedField(SoField *&writingField) const
SbBool isConnectedFromEngine() const
SbBool getConnectedEngine(SoEngineOutput *&engineOutput)
const
void enableConnection(SbBool flag)
SbBool isConnectionEnabled() const
int getForwardConnections(SoFieldList &list) const
SoFieldContainer * getContainer() const
π DESCRIPTION π
Okay so. A SoSFUShort is a single-value field containing a short (16-bit) integer. That's it. That's the whole vibe. One number, no drama. π
And when these little cuties get written to file? They can show up in decimal, in hexadecimal (which starts with '0x'), or in octal (which starts with '0'). Three aesthetics, one field. The way that it's multilingual fr fr. π
π₯ METHODS π₯
static SoType getClassTypeId()virtual void getTypeId() const
Returns the type for this class or a particular object of this class. Type-checking but make it cute. β¨
short unsigned short getValue() const
Returns this field's value. Just hands you the number. Simple. Iconic. π«Ά
short unsigned short operator =(short unsigned short newValue)void setValue(short unsigned short newValue)
Sets this field to newValue. Two ways in, same destination bestie. π
int operator ==(const SoSFUShort &f) constint operator !=(const SoSFUShort &f) const
Returns TRUE if f is of the same type and has the same value as this field. Same type, same value, same energy β otherwise it's a no. π
π SEE ALSO π
SoField, SoSField, SoMFUShort
Go read those next, they're all part of the same friend group. π¦
That's the whole page, bestie β and it signs off exactly the way the original footer did, as SoSFUShort(3IV)() (that's the manual name + section + the version slot, all cozy together, no date attached). π β¨
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms