SoSFFloat Class Reference
[Fields]

Field containing a floating-point value. More...

#include <Inventor/fields/SoSFFloat.h>

Inheritance diagram for SoSFFloat:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFFloatoperator= (const SoSFFloat &f)
 SoSFFloat ()
virtual ~SoSFFloat ()
float getValue () const
void setValue (float newValue)
float operator= (float newValue)
int operator== (const SoSFFloat &f) const
int operator!= (const SoSFFloat &f) const
virtual size_t getValueSize () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing a floating-point value.

A field that contains one single-precision floating point number.

SoSFFloats are written to file in standard scientific notation.

SEE ALSO

SoField, SoSField, SoMFFloat


Constructor & Destructor Documentation

SoSFFloat::SoSFFloat (  ) 

Default constructor.

virtual SoSFFloat::~SoSFFloat (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFFloat::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

virtual SoType SoSFFloat::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.

float SoSFFloat::getValue (  )  const [inline]

Returns this field's value.

virtual size_t SoSFFloat::getValueSize (  )  const [inline, virtual]

Get size of the value.

Reimplemented from SoField.

int SoSFFloat::operator!= ( const SoSFFloat f  )  const [inline]

Returns FALSE if otherField is of the same type and has the same value as this field.

Reimplemented from SoField.

float SoSFFloat::operator= ( float  newValue  )  [inline]

Sets this field to newValue.

const SoSFFloat& SoSFFloat::operator= ( const SoSFFloat f  ) 

Copy from another field of same type.

int SoSFFloat::operator== ( const SoSFFloat f  )  const

Returns TRUE if otherField is of the same type and has the same value as this field.

Reimplemented from SoField.

void SoSFFloat::setValue ( float  newValue  ) 

Sets this field to newValue.


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/