Class PoBiErrorPointField
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.inventor.nodekits.SoBaseKit
-
- com.openinventor.meshviz.graph.PoBase
-
- com.openinventor.meshviz.graph.PoGraphMaster
-
- com.openinventor.meshviz.graph.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:
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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PoBiErrorPointField.VariationTypes
Type of interpretation of the fields lowX,lowY and highX,highY.-
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoMFFloat
highX
List of abscissas high errors.SoMFFloat
highY
List of ordinates high errors.SoSFBool
isShapeVisible
Defines the visibility of the shape.SoSFBool
isSkeletonVisible
Defines the visibility of the skeleton.SoMFFloat
lowX
List of abscissas low errors.SoMFFloat
lowY
List of ordinates low errors.SoMFVec2f
point
List of coordinates of the point field.SoSFEnum<PoBiErrorPointField.VariationTypes>
variationType
Defines the interpretation of the values lowX, lowY, highX, highY.-
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PoBiErrorPointField()
Default constructor.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(SbVec2f[] _point, float[] _lowX, float[] _lowY, float[] _highX, float[] _highY, PoBiErrorPointField.VariationTypes type)
Calls PoBiErrorPointField(_point, _lowX, _lowY, _highX, _highY, type, true, true).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(SbVec2f[] _point, float[] _lowX, float[] _lowY, float[] _highX, float[] _highY, PoBiErrorPointField.VariationTypes type, boolean _isShapeVisible, boolean _isSkeletonVisible)
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCatalog
getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.-
Methods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
-
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
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 Detail
-
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 Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-