Class PoCurve
- java.lang.Object
- 
- All Implemented Interfaces:
- SafeDisposable
 
 public class PoCurve extends PoGraphMaster Builds a 2D curve. Class to build a curve in the plane XY. The curve is defined by a set of points. Different representations of the curve can be obtained, such as polyline curve, smooth curve, stair curve or double stair curve. The curve can be filled. Furthermore, some filters control the appearance of markers (on the curve) and raise points (vertical lines from the curve to a threshold).File format/default: PoCurve{point 0 0 curveRep CURVE_POLYLINE fillingThreshold 0.0 isCurveFilled false markerFilterType INACTIVE markerIndexPeriod 0 markerIndexList 0 markerXPeriod 0 markerXList 0 markerString "." raiseFilterType INACTIVE raiseIndexPeriod 0 raiseIndexList 0 raiseXPeriod 0 raiseXList 0 raiseThreshold 0 <!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="Heading346">CATALOG PARTS</A></h4> <ul><b>PoCurve</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>curveFillingSep</tt> {</ul></ul></ul> <ul><ul><ul><i>Contains properties and shapes to fill the curve.</i></ul></ul></ul> <ul><ul><ul><ul><b>AppearanceKit</b> <tt>curveFillingApp</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Specifies the appearance of filling curve.</i></ul></ul></ul></ul> <ul><ul><ul><ul><b>Group</b> <tt>curveFilling</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Contains a SoFaceSet shape to fill the curve.</i></ul></ul></ul></ul> <ul><ul><ul>}<br> <br> <b>Separator</b> <tt>curvePointSep</tt> {</ul></ul></ul> <ul><ul><ul><i>Contains properties and shapes to draw the curve.</i></ul></ul></ul> <ul><ul><ul><ul><b>AppearanceKit</b> <tt>curvePointApp</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Specifies the appearance of the curve.</i></ul></ul></ul></ul> <ul><ul><ul><ul><b>Group</b> <tt>curvePoint</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Contains a SoLineSet shape to draw the curve.</i></ul></ul></ul></ul> <ul><ul><ul>}<br> <br> <b>Separator</b> <tt>markerSep</tt> {</ul></ul></ul> <ul><ul><ul><i>Contains properties and shapes to draw the markers on the curve.</i></ul></ul></ul> <ul><ul><ul><ul><b>AppearanceKit</b> <tt>markerApp</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Specifies the appearance of markers. If markerString != ".", the font used for markers is the font set in font.name.</i></ul></ul></ul></ul> <ul><ul><ul><ul><b>Group</b> <tt>marker</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Contains a list of SoText2 (markerString != ".") or SoPointSet (markerString = ".") shapes to draw the markers.</i></ul></ul></ul></ul> <ul><ul><ul>}<br> <br> <b>Separator</b> <tt>raisePointSep</tt> {</ul></ul></ul> <ul><ul><ul><i>Contains properties and shapes to draw the raise points on the curve.</i></ul></ul></ul> <ul><ul><ul><ul><b>AppearanceKit</b> <tt>raisePointApp</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Specifies the appearance of raise points.</i></ul></ul></ul></ul> <ul><ul><ul><ul><b>Group</b> <tt>raisePoint</tt></ul></ul></ul></ul> <ul><ul><ul><ul><i>Contains a SoLineSet shape to draw the raise points.</i></ul></ul></ul></ul> <ul><ul><ul>}</ul></ul></ul> <ul><ul>}</ul></ul> <ul>}</ul> <p> </body> </html> 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPoCurve.CurveRepsCurve representation.static classPoCurve.FilterTypesFilter type.- 
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBasePoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
 - 
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNodeSoNode.RenderModes
 - 
Nested classes/interfaces inherited from class com.openinventor.inventor.InventorInventor.ConstructorCommand
 
- 
 - 
Field SummaryFields Modifier and Type Field Description SoSFEnum<PoCurve.CurveReps>curveRepDefines the curve representation (polyline, smooth, stair, ...)SoSFFloatfillingThresholdDefines the threshold to fill the curve.SoSFBoolisCurveFilledIndicates if the curve is filled or not.SoSFEnum<PoCurve.FilterTypes>markerFilterTypeDefines the type of marker filter.SoMFInt32markerIndexListA list of points (of point) is selected by their indices.SoSFInt32markerIndexPeriodOne point (of point) in every consecutive markerIndexPeriod is selected.SoSFStringmarkerStringThe markers are defined by a string.SoMFFloatmarkerXListA list of points (of the computed curve points) is selected by their abscises.SoSFFloatmarkerXPeriodOne point (of the computed curve points) in every markerXPeriod is selected.SoMFVec2fpointPoint list of the curve.SoSFEnum<PoCurve.FilterTypes>raiseFilterTypeDefines the type of raise filter.SoMFInt32raiseIndexListA list of points (of point) is selected by their indices.SoSFInt32raiseIndexPeriodOne point (of point) in every consecutive raiseIndexPeriod is selected.SoSFFloatraiseThresholdRaise points are vertical lines joining the curve points and the specified threshold.SoMFFloatraiseXListA list of points (of the computed curve points) is selected by their abscises.SoSFFloatraiseXPeriodOne point (of the computed curve points) in every raiseXPeriod is selected.- 
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKitboundingBoxIgnoring
 - 
Fields inherited from class com.openinventor.inventor.InventorVERBOSE_LEVEL, ZeroHandle
 
- 
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCataloggetClassNodekitCatalog()Returns theSoNodekitCatalogfor this class.- 
Methods inherited from class com.openinventor.meshviz.graph.PoBaseaddPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
 - 
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKitgetNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
 - 
Methods inherited from class com.openinventor.inventor.nodes.SoNodeaffectsState, 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.SoFieldContainercopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
 - 
Methods inherited from class com.openinventor.inventor.misc.SoBasedispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
 - 
Methods inherited from class com.openinventor.inventor.InventorgetNativeResourceHandle
 
- 
 
- 
- 
- 
Field Detail- 
pointpublic final SoMFVec2f point Point list of the curve.
 - 
curveReppublic final SoSFEnum<PoCurve.CurveReps> curveRep Defines the curve representation (polyline, smooth, stair, ...)
 - 
isCurveFilledpublic final SoSFBool isCurveFilled Indicates if the curve is filled or not.
 - 
fillingThresholdpublic final SoSFFloat fillingThreshold Defines the threshold to fill the curve.
 - 
markerFilterTypepublic final SoSFEnum<PoCurve.FilterTypes> markerFilterType Defines the type of marker filter. This value determines which filter is active (markerIndexPeriod or markerIndexList,...)
 - 
markerIndexPeriodpublic final SoSFInt32 markerIndexPeriod One point (of point) in every consecutive markerIndexPeriod is selected.
 - 
markerIndexListpublic final SoMFInt32 markerIndexList A list of points (of point) is selected by their indices.
 - 
markerXPeriodpublic final SoSFFloat markerXPeriod One point (of the computed curve points) in every markerXPeriod is selected.
 - 
markerXListpublic final SoMFFloat markerXList A list of points (of the computed curve points) is selected by their abscises.
 - 
markerStringpublic final SoSFString markerString The markers are defined by a string. If this field is equal to ".", the markers areSoPointSetshapes, otherwiseSoText2shapes. To change the font of text markers, set the catalog part markerApp.font.name. Be careful, in this version, text markers are not vertically aligned.
 - 
raiseFilterTypepublic final SoSFEnum<PoCurve.FilterTypes> raiseFilterType Defines the type of raise filter. This value determines which filter is active (raiseIndexPeriod or raiseIndexList,...)
 - 
raiseIndexPeriodpublic final SoSFInt32 raiseIndexPeriod One point (of point) in every consecutive raiseIndexPeriod is selected.
 - 
raiseIndexListpublic final SoMFInt32 raiseIndexList A list of points (of point) is selected by their indices.
 - 
raiseXPeriodpublic final SoSFFloat raiseXPeriod One point (of the computed curve points) in every raiseXPeriod is selected.
 - 
raiseXListpublic final SoMFFloat raiseXList A list of points (of the computed curve points) is selected by their abscises.
 - 
raiseThresholdpublic final SoSFFloat raiseThreshold Raise points are vertical lines joining the curve points and the specified threshold.
 
- 
 - 
Constructor Detail- 
PoCurvepublic PoCurve(SbVec2f[] _point) Calls PoCurve(_point, PoCurve.CurveReps.valueOf( PoCurve.CurveReps.CURVE_POLYLINE.getValue() )).
 - 
PoCurvepublic PoCurve(SbVec2f[] _point, PoCurve.CurveReps _curveRep) Constructor.
 - 
PoCurvepublic PoCurve() Default constructor.
 
- 
 - 
Method Detail- 
getClassNodekitCatalogpublic static SoNodekitCatalog getClassNodekitCatalog() Returns theSoNodekitCatalogfor this class.
 
- 
 
-