SoSFBox2f Class Reference
[Fields]

VSG extension Field containing a two-dimensional box. More...

#include <Inventor/fields/SoSFBox2f.h>

Inheritance diagram for SoSFBox2f:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFBox2foperator= (const SoSFBox2f &f)
 SoSFBox2f ()
virtual ~SoSFBox2f ()
const SbBox2fgetValue () const
void setValue (const SbBox2f &newValue)
const SbBox2foperator= (const SbBox2f &newValue)
int operator== (const SoSFBox2f &f) const
int operator!= (const SoSFBox2f &f) const
virtual size_t getValueSize () const
void setValue (float xmin, float ymin, float xmax, float ymax)
void setValue (const SbVec2f &min, const SbVec2f &max)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

VSG extension Field containing a two-dimensional box.

This field defines a two-dimensional box.

SoSFBox2f fields are written to file as 4 floats separated by whitespace.

SEE ALSO

SoField, SoSField


Constructor & Destructor Documentation

SoSFBox2f::SoSFBox2f (  ) 

Default constructor.

virtual SoSFBox2f::~SoSFBox2f (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFBox2f::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

const SbBox2f& SoSFBox2f::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

const SbBox2f& SoSFBox2f::operator= ( const SbBox2f newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFBox2f::setValue ( const SbVec2f min,
const SbVec2f max 
)

Sets the box dimensions.

void SoSFBox2f::setValue ( float  xmin,
float  ymin,
float  xmax,
float  ymax 
)

Sets the box dimensions.

void SoSFBox2f::setValue ( const SbBox2f newValue  ) 

Sets this field to newValue.


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/