| 1 |
NAME SoSFPlane SoSPlane "" { |
| 2 |
field containing a plane equation |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE fields/SoSFPlane.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
A field containing a plane equation (an SbPlane). |
| 9 |
\p |
| 10 |
\cSoSFPlanes\. are written to file as four floating point values |
| 11 |
separated by whitespace. The first three are the normal direction of |
| 12 |
the plane, the fourth is the distance of the plane from the origin |
| 13 |
(in the direction of the normal). |
| 14 |
} |
| 15 |
ALSO { SbPlane, SoField, SoSField, SoMFPlane } |
| 16 |
METHOD "" static SoType getClassTypeId() {} |
| 17 |
METHOD "" virtual void getTypeId() const { |
| 18 |
Returns the type for this class or a particular object of this class. |
| 19 |
} |
| 20 |
METHOD Get const SbPlane & getValue() const { |
| 21 |
Returns this field's value. |
| 22 |
} |
| 23 |
METHOD " " const SbPlane & operator =(const SbPlane & newValue) {} |
| 24 |
METHOD Set void setValue(const SbPlane & newValue) { |
| 25 |
Sets this field to \anewValue\.. |
| 26 |
} |
| 27 |
METHOD IsEq int operator ==(const SoSFPlane &f) const {} |
| 28 |
METHOD IsNEq int operator !=(const SoSFPlane &f) const { |
| 29 |
Returns TRUE if \af\. is of the same type and has the same value as this |
| 30 |
field. |
| 31 |
} |