SoSFDouble Class Reference
[Fields]

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

#include <Inventor/fields/SoSFDouble.h>

Inheritance diagram for SoSFDouble:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFDoubleoperator= (const SoSFDouble &f)
 SoSFDouble ()
virtual ~SoSFDouble ()
double getValue () const
void setValue (double newValue)
double operator= (double newValue)
int operator== (const SoSFDouble &f) const
int operator!= (const SoSFDouble &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.

SoSFDoubles are written to file in standard scientific notation.

SEE ALSO

SoField, SoSField, SoMFDouble


Constructor & Destructor Documentation

SoSFDouble::SoSFDouble (  ) 

Default constructor.

virtual SoSFDouble::~SoSFDouble (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFDouble::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

double SoSFDouble::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

double SoSFDouble::operator= ( double  newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFDouble::setValue ( double  newValue  ) 

Sets this field to newValue.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/