Coin Logo http://www.sim.no/
http://www.coin3d.org/

SoSFVec2s Class Reference
[Field Classes]

The SoSFVec2s class is a container for an SbVec2s vector.This field is used where nodes, engines or other field containers needs to store a single vector with two elements. More...

#include <Inventor/fields/SoSFVec2s.h>

Inheritance diagram for SoSFVec2s:
SoSField SoField

List of all members.

Public Member Functions

void setValue (short x, short y)
void setValue (const short xy[2])

Static Public Member Functions

static void initClass (void)

Detailed Description

The SoSFVec2s class is a container for an SbVec2s vector.

This field is used where nodes, engines or other field containers needs to store a single vector with two elements.

See also:
SoMFVec2s Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API.
Since:
Coin 2.0

Member Function Documentation

void SoSFVec2s::initClass ( void   )  [static]

Internal method called upon initialization of the library (from SoDB::init()) to set up the type system.

Reimplemented from SoSField.

void SoSFVec2s::setValue ( short  x,
short  y 
)

Set value of vector.

void SoSFVec2s::setValue ( const short  xy[2]  ) 

Set value of vector.


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

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated on 19 Dec 2016 for Coin by Doxygen 1.6.1.