SoSFPlane Class Reference
[Fields]

Field containing a plane equation. More...

#include <Inventor/fields/SoSFPlane.h>

Inheritance diagram for SoSFPlane:
SoSField SoField SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
const SoSFPlaneoperator= (const SoSFPlane &f)
 SoSFPlane ()
virtual ~SoSFPlane ()
const SbPlanegetValue () const
void setValue (const SbPlane &newValue)
const SbPlaneoperator= (const SbPlane &newValue)
int operator== (const SoSFPlane &f) const
int operator!= (const SoSFPlane &f) const
virtual size_t getValueSize () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Field containing a plane equation.

A field containing a plane equation (an SbPlane).

SoSFPlanes are written to file as four floating point values separated by whitespace. The first three are the normal direction of the plane, the fourth is the distance of the plane from the origin (in the direction of the normal).

SEE ALSO

SbPlane, SoField, SoSField, SoMFPlane


Constructor & Destructor Documentation

SoSFPlane::SoSFPlane (  ) 

Default constructor.

virtual SoSFPlane::~SoSFPlane (  )  [virtual]

Destructor.


Member Function Documentation

static SoType SoSFPlane::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoSField.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.

const SbPlane& SoSFPlane::getValue (  )  const [inline]

Returns this field's value.

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

Get size of the value.

Reimplemented from SoField.

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

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

Reimplemented from SoField.

const SbPlane& SoSFPlane::operator= ( const SbPlane newValue  )  [inline]

Sets this field to newValue.

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

Copy from another field of same type.

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

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

Reimplemented from SoField.

void SoSFPlane::setValue ( const SbPlane newValue  ) 

Sets this field to newValue.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/