Class PoBiErrorPointField

All Implemented Interfaces:
SafeDisposable

public class PoBiErrorPointField extends PoGraphMaster
Builds a bi-error point field. Class to build in the plane XY, a point field with two X and two Y margin errors. A shape and/or skeleton represent the error of each points.

File format/default:

PoBiErrorPointField {

    point 0 0
    lowX 0
    lowY 0
    highX 0
    highY 0
    variationType REL_VARIATION
    isShapeVisible true
    isSkeletonVisible true
}

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <title></title> </head> <BODY> <h1></h1> <h4> <A NAME="Heading391">CATALOG PARTS</A></h4> <ul><b>PoBiErrorPointField</b> {</ul> <ul><ul><b>Separator</b> <tt>alternateRep</tt> (from PoBase) {<br> </ul></ul> <ul><ul><ul><b>AppearanceKit</b> <tt>appearance</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Specifies the appearance of all the kit. By default lightModel.model=BASE_COLOR.</i></ul></ul></ul> <ul><ul><ul><b>MatrixTransform</b> <tt>domainTransform</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Corresponds to the domain transformation.</i></ul></ul></ul> <ul><ul><ul><ul></ul></ul></ul></ul> <ul><ul><ul><b>Separator</b> <tt>shapeSep</tt> {</ul></ul></ul> <ul><ul><ul><i>Contains properties and shapes to draw the shapes.</i></ul></ul></ul> <ul><ul><ul><ul><b>AppearanceKit</b> <tt>shapeApp</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Specifies the appearance of the shapes.</i></ul></ul></ul></ul> <ul><ul><ul><ul><b>Group</b> <tt>shape</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Contains a SoFaceSet shape to draw the shapes.</i></ul></ul></ul></ul> <ul><ul><ul>}<br> <br> <b>Separator</b> <tt>skeletonSep</tt> {</ul></ul></ul> <ul><ul><ul><i>Contains properties and shapes to draw the skeleton.</i></ul></ul></ul> <ul><ul><ul><ul><b>AppearanceKit</b> <tt>skeletonApp</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Specifies the appearance of the skeleton.</i></ul></ul></ul></ul> <ul><ul><ul><ul><b>Group</b> <tt>skeleton</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Contains a SoLineSet shape to draw the skeleton.</i></ul></ul></ul></ul> <ul><ul><ul>}</ul></ul></ul> <ul><ul>}</ul></ul> <ul>}</ul> <p> </body> </html>

  • Field Details

    • point

      public final SoMFVec2f point
      List of coordinates of the point field.
    • lowX

      public final SoMFFloat lowX
      List of abscissas low errors. The number of abscissas must be equal to the number of points of point.
    • lowY

      public final SoMFFloat lowY
      List of ordinates low errors. The number of ordinates must be equal to the number of points of point.
    • highX

      public final SoMFFloat highX
      List of abscissas high errors. The number of abscissas must be equal to the number of points of point.
    • highY

      public final SoMFFloat highY
      List of ordinates high errors. The number of ordinates must be equal to the number of points of point.
    • variationType

      public final SoSFEnum<PoBiErrorPointField.VariationTypes> variationType
      Defines the interpretation of the values lowX, lowY, highX, highY. The low abscissa xl of the i-th point depends on the value of this field:
      • FIXED_VARIATION: xl = lowY[i]
      • REL_VARIATION: xl = point[i][0] - lowY[i]
      • PERCENT_FIXED_VARIATION: xl = point[i][0] * lowY[i]
      • PERCENT_REL_VARIATION: xl = point[i][0] - (lowY[i] * point[i][0])

      The same method is used to compute the high abscissa xh, low ordinate yl and high ordinate yh.

    • isShapeVisible

      public final SoSFBool isShapeVisible
      Defines the visibility of the shape.
    • isSkeletonVisible

      public final SoSFBool isSkeletonVisible
      Defines the visibility of the skeleton.
  • Constructor Details

    • PoBiErrorPointField

      public PoBiErrorPointField(SbVec2f[] _point, float[] _lowX, float[] _lowY, float[] _highX, float[] _highY, PoBiErrorPointField.VariationTypes type, boolean _isShapeVisible)
      Calls PoBiErrorPointField(_point, _lowX, _lowY, _highX, _highY, type, _isShapeVisible, true).
    • PoBiErrorPointField

      public PoBiErrorPointField(SbVec2f[] _point, float[] _lowX, float[] _lowY, float[] _highX, float[] _highY, PoBiErrorPointField.VariationTypes type)
      Calls PoBiErrorPointField(_point, _lowX, _lowY, _highX, _highY, type, true, true).
    • PoBiErrorPointField

      public PoBiErrorPointField(SbVec2f[] _point, float[] _lowX, float[] _lowY, float[] _highX, float[] _highY)
      Calls PoBiErrorPointField(_point, _lowX, _lowY, _highX, _highY, PoBiErrorPointField.VariationTypes.valueOf( PoBiErrorPointField.VariationTypes.REL_VARIATION.getValue() ), true, true).
    • PoBiErrorPointField

      public PoBiErrorPointField(SbVec2f[] _point, float[] _lowX, float[] _lowY, float[] _highX, float[] _highY, PoBiErrorPointField.VariationTypes type, boolean _isShapeVisible, boolean _isSkeletonVisible)
      Constructor.
    • PoBiErrorPointField

      public PoBiErrorPointField()
      Default constructor.
  • Method Details