SoSFVec3i32 Class Reference
[Fields]

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

#include <Inventor/fields/SoSFVec3i32.h>

Inheritance diagram for SoSFVec3i32:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFVec3i32operator= (const SoSFVec3i32 &f)
 SoSFVec3i32 ()
virtual ~SoSFVec3i32 ()
const SbVec3i32getValue () const
void setValue (const SbVec3i32 &newValue)
const SbVec3i32operator= (const SbVec3i32 &newValue)
int operator== (const SoSFVec3i32 &f) const
int operator!= (const SoSFVec3i32 &f) const
virtual size_t getValueSize () const
void setValue (int32_t x, int32_t y, int32_t z)
void setValue (const int32_t xyz[3])
void setValue (const SbVec3f &vec3f)
void setValue (const SbVec3d &vec3d)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

VSG extension Field containing a three-dimensional vector.

Field containing a three-dimensional vector, each component being an integer.

SoSFVec3i32s are written to file as three integer values separated by whitespace.

SEE ALSO

SoField, SoSField, SoMFVec3i32


Constructor & Destructor Documentation

SoSFVec3i32::SoSFVec3i32 (  ) 

Default constructor.

virtual SoSFVec3i32::~SoSFVec3i32 (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFVec3i32::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

const SbVec3i32& SoSFVec3i32::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

const SbVec3i32& SoSFVec3i32::operator= ( const SbVec3i32 newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFVec3i32::setValue ( const SbVec3d vec3d  ) 

Convenience method that allows you to specify a field value using a double precision variable.

The specified value is converted to int value, then stored.

void SoSFVec3i32::setValue ( const SbVec3f vec3f  ) 

Convenience method that allows you to specify a field value using a single precision variable.

The specified value is converted to int value, then stored.

void SoSFVec3i32::setValue ( const int32_t  xyz[3]  ) 

Sets the field to the given values.

void SoSFVec3i32::setValue ( int32_t  x,
int32_t  y,
int32_t  z 
)

Sets the field to the given values.

void SoSFVec3i32::setValue ( const SbVec3i32 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/