Class PoCurve3
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoCurve3 extends PoGraphMaster
Builds a 3D curve. Class to build a 3D curve. The curve is defined by a set of points. Different representations of the curve can be obtained such as a polyline curve or a smooth curve.File format/default:
PoCurve3
{point 0 0 0 curveRep CURVE_POLYLINE isMarkerVisible false markerString "." <!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="Heading490">CATALOG PARTS</A></h4> <ul><b>PoCurve3</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>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 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>}</ul></ul></ul> <ul><ul>}</ul></ul> <ul>}</ul> <ul><ul><br> </ul></ul> </body> </html>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PoCurve3.CurveReps
Curve representation.-
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 SoSFEnum<PoCurve3.CurveReps>
curveRep
Defines the curve representation (polyline, smooth or none).SoSFBool
isMarkerVisible
Indicates if a marker is generated on each curve point.SoSFString
markerString
The markers are defined by a string.SoMFVec3f
point
Point list of the curve.-
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
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 SoMFVec3f point
Point list of the curve.
-
curveRep
public final SoSFEnum<PoCurve3.CurveReps> curveRep
Defines the curve representation (polyline, smooth or none). CURVE_POLYLINE by default.
-
isMarkerVisible
public final SoSFBool isMarkerVisible
Indicates if a marker is generated on each curve point.
-
markerString
public final SoSFString markerString
The markers are defined by a string. If this field is equal to ".", the markers areSoPointSet
shapes, otherwiseSoText2
shapes. To change the font of text markers, set the catalog part markerApp.font.name . Be careful, for the moment, text markers are not vertically aligned.
-
-
Constructor Detail
-
PoCurve3
public PoCurve3(SbVec3f[] _point)
Calls PoCurve3(_point, PoCurve3.CurveReps.valueOf( PoCurve3.CurveReps.CURVE_POLYLINE.getValue() )).
-
PoCurve3
public PoCurve3(SbVec3f[] _point, PoCurve3.CurveReps _curveRep)
Constructor.
-
PoCurve3
public PoCurve3()
Default constructor.
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-