SoSFBox3s Class Reference
[Fields]

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

#include <Inventor/fields/SoSFBox3s.h>

Inheritance diagram for SoSFBox3s:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFBox3soperator= (const SoSFBox3s &f)
 SoSFBox3s ()
virtual ~SoSFBox3s ()
const SbBox3sgetValue () const
void setValue (const SbBox3s &newValue)
const SbBox3soperator= (const SbBox3s &newValue)
int operator== (const SoSFBox3s &f) const
int operator!= (const SoSFBox3s &f) const
virtual size_t getValueSize () const
void setValue (short xmin, short ymin, short zmin, short xmax, short ymax, short zmax)
void setValue (const SbVec3s &_min, const SbVec3s &_max)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

VSG extension Field containing a three-dimensional box.

This field defines a three-dimensional box.

SoSFBox3s fields are written to file as 6 integers separated by whitespace.

SEE ALSO

SoField, SoSField


Constructor & Destructor Documentation

SoSFBox3s::SoSFBox3s (  ) 

Default constructor.

virtual SoSFBox3s::~SoSFBox3s (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFBox3s::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

const SbBox3s& SoSFBox3s::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

const SbBox3s& SoSFBox3s::operator= ( const SbBox3s newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFBox3s::setValue ( const SbVec3s _min,
const SbVec3s _max 
)

Sets the box dimensions.

void SoSFBox3s::setValue ( short  xmin,
short  ymin,
short  zmin,
short  xmax,
short  ymax,
short  zmax 
)

Sets the box dimensions.

void SoSFBox3s::setValue ( const SbBox3s newValue  ) 

Sets this field to newValue.


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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/