SoSFVec4i32 Class Reference
[Fields]

VSG extension Field containing a homogeneous four-dimensional vector. More...

#include <Inventor/fields/SoSFVec4i32.h>

Inheritance diagram for SoSFVec4i32:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFVec4i32operator= (const SoSFVec4i32 &f)
 SoSFVec4i32 ()
virtual ~SoSFVec4i32 ()
const SbVec4i32getValue () const
void setValue (const SbVec4i32 &newValue)
const SbVec4i32operator= (const SbVec4i32 &newValue)
int operator== (const SoSFVec4i32 &f) const
int operator!= (const SoSFVec4i32 &f) const
virtual size_t getValueSize () const
void setValue (int32_t x, int32_t y, int32_t z, int32_t w)
void setValue (const int32_t xyzw[4])
void setValue (const SbVec4f &vec4f)
void setValue (const SbVec4d &vec4d)

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

VSG extension Field containing a homogeneous four-dimensional vector.

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

SoSFVec4i32s are written to file as four integer values separated by whitespace.

SEE ALSO

SoField, SoSField, SoMFVec4i32


Constructor & Destructor Documentation

SoSFVec4i32::SoSFVec4i32 (  ) 

Default constructor.

virtual SoSFVec4i32::~SoSFVec4i32 (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFVec4i32::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

const SbVec4i32& SoSFVec4i32::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

const SbVec4i32& SoSFVec4i32::operator= ( const SbVec4i32 newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFVec4i32::setValue ( const SbVec4d vec4d  ) 

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 SoSFVec4i32::setValue ( const SbVec4f vec4f  ) 

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 SoSFVec4i32::setValue ( const int32_t  xyzw[4]  ) 

Sets the field to the given values.

void SoSFVec4i32::setValue ( int32_t  x,
int32_t  y,
int32_t  z,
int32_t  w 
)

Sets the field to the given values.

void SoSFVec4i32::setValue ( const SbVec4i32 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/