MLABVector4Field Class Reference
[Fields]

A field containing a vector of 4 doubles. More...

Inherits MLABVectorField.

Inherited by MLABPlaneField, and MLABRotationField.

List of all members.

Public Slots

Scripting access
virtual void setStringValue (const QString &value)
void setValue (double a, double b, double c, double d)
virtual void setVectorValue (const QList< QVariant > &value)
virtual int size ()


Detailed Description

A field containing a vector of 4 doubles.

The "value" property of this field is an array with four double values.

  // getting value:
  var array = ctx.field("somefield").value;
  // setting value:
  ctx.field("somefield").value = [1.,2.,3.,4.];

Member Function Documentation

virtual void MLABVector4Field::setStringValue ( const QString &   )  [virtual, slot]

set string value

Reimplemented from MLABVectorField.

void MLABVector4Field::setValue ( double  a,
double  b,
double  c,
double  d 
) [slot]

set the values

virtual void MLABVector4Field::setVectorValue ( const QList< QVariant > &  value  )  [virtual, slot]

set array of double values

Implements MLABVectorField.

virtual int MLABVector4Field::size (  )  [virtual, slot]

size of vector

Implements MLABVectorField.


Generated on Sat Sep 3 18:38:03 2011 for MeVisLab Scripting Reference by  doxygen 1.5.8