Class PoMesh3DVecGridCrossSection
- 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.data.Po3DdataMaster
-
- com.openinventor.meshviz.data.PoMesh
-
- com.openinventor.meshviz.data.PoMesh3D
-
- com.openinventor.meshviz.data.PoMesh3DVec
-
- com.openinventor.meshviz.data.PoMesh3DVecCrossSection
-
- com.openinventor.meshviz.data.PoMesh3DVecGridCrossSection
-
- All Implemented Interfaces:
SafeDisposable
public class PoMesh3DVecGridCrossSection extends PoMesh3DVecCrossSection
Representation of vectors on a grid of a cross section. A grid of points on aplane
of a volume mesh is built. Then a vector is computed by interpolation on each point of the grid, possibly projected (depending on theprojectionType
field) and is represented according to the different fields ofPoMesh3DVec
.It may be time consuming to use this class depending on the value of the gridSpacing. For each point of the grid, this class looks for the cell that contains the point by using a probe tool. The vector drawn at the point is computed by interpolation between each point of the containing cell. The probing process may be slow depending on the number of cells, the mesh type, the spatial organization of the cells, etc... The quickest way to draw a vector field may be by using the parent class
PoMesh3DVecCrossSection
. Note also that ifgridSpacing
= 0, this class behaves likePoMesh3DVecCrossSection
.File format/default:
plane Z=0 plane gridSpacing 0.05 projectionType NO_PROJECTION density 1 eliminationStatus NONE minLength 0.0 maxLength 1E30 bodyShape LINE bodyLengthType RELATIVE_LENGTH bodyLengthFactor 1.0 bodyRadiusType CONSTANT_RADIUS bodyRadiusFactor 0.02 bodyColoringType CONSTANT_COLOR startArrowShape NO_SHAPE startArrowHeightType RELATIVE_HEIGHT startArrowHeightFactor 0.1 startArrowRadiusFactor 0.5 startArrowColoringType CONSTANT_COLOR endArrowShape CHEVRON endArrowHeightType RELATIVE_HEIGHT endArrowHeightFactor 0.1 endArrowRadiusFactor 0.5 endArrowColoringType CONSTANT_COLOR coloringType COLOR_INHERITED valuesIndex -1 valuesIndexForCellFilter -1 vecsIndex -1 moduleDataMapping NULL <HTML> <HEAD> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="GENERATOR" CONTENT="Mozilla/4.03 [en] (X11; I; HP-UX A.09.07 9000/715) [Netscape]"> </HEAD> <BODY> <H4> <A NAME="Heading1082"></A>CATALOG PARTS</H4> <UL><B>PoMesh3DVecCrossSection</B> {</UL> <UL> <UL><B>Separator</B> <TT>alternateRep</TT> (from PoBase) {</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=PHONG.</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><B>Separator</B> <TT>bodySep</TT> {</UL> </UL> </UL> <UL> <UL> <UL><I>Contains properties and shapes of the bodies of vectors.</I></UL> </UL> </UL> <UL> <UL> <UL> <UL><B>AppearanceKit</B> <TT>bodyApp</TT></UL> </UL> </UL> </UL> <UL> <UL> <UL> <UL><I>Specifies the appearance of the bodies.</I></UL> </UL> </UL> </UL> <UL> <UL> <UL> <UL><B>Group</B> <TT>bodyGroup</TT></UL> </UL> </UL> </UL> <UL> <UL> <UL> <UL><I>Contains a list of SoLineSet or SoCylinder shape to draw vectors bodies.</I></UL> </UL> </UL> </UL> <UL> <UL> <UL>} <P><B>Separator</B> <TT>startArrowSep</TT> {</UL> </UL> </UL> <UL> <UL> <UL><I>Contains properties and shapes of the start-shape of vectors.</I></UL> </UL> </UL> <UL> <UL> <UL> <UL><B>AppearanceKit</B> <TT>startArrowApp</TT></UL> </UL> </UL> </UL> <UL> <UL> <UL> <UL><I>Specifies the appearance of the start-shapes.</I></UL> </UL> </UL> </UL> <UL> <UL> <UL> <UL><B>Group</B> <TT>startArrowGroup</TT></UL> </UL> </UL> </UL> <UL> <UL> <UL> <UL><I>Contains a list of nodes to draw the start arrow shapes.</I></UL> </UL> </UL> </UL> <UL> <UL> <UL>} <P><B>Separator</B> <TT>endArrowSep</TT> {</UL> </UL> </UL> <UL> <UL> <UL><I>Contains properties and shapes of the end-shape of vectors.</I></UL> </UL> </UL> <UL> <UL> <UL> <UL><B>AppearanceKit</B> <TT>endArrowApp</TT></UL> </UL> </UL> </UL> <UL> <UL> <UL> <UL><I>Specifies the appearance of the end-shapes.</I></UL> </UL> </UL> </UL> <UL> <UL> <UL> <UL><B>Group</B> <TT>endArrowGroup</TT></UL> </UL> </UL> </UL> <UL> <UL> <UL> <UL><I>Contains a list of nodes to draw the end arrow shapes.</I></UL> </UL> </UL> </UL> <UL> <UL> <UL>}</UL> </UL> </UL> <UL> <UL>}</UL> </UL> <UL>}</UL> <UL> <UL> <UL> </UL> </UL> </UL> </BODY> </HTML> - See Also:
PoMesh3DVecCrossSection
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh3DVecCrossSection
PoMesh3DVecCrossSection.ProjectionTypes
-
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh3DVec
PoMesh3DVec.ArrowColoringTypes, PoMesh3DVec.ArrowHeightTypes, PoMesh3DVec.ArrowShapes, PoMesh3DVec.BodyLengthTypes, PoMesh3DVec.BodyRadiusTypes, PoMesh3DVec.BodyShapes, PoMesh3DVec.EliminationStatusType
-
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PoMesh
PoMesh.ColoringTypes
-
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 SoSFFloat
gridSpacing
GridSpacing is relating to the number of points on the grid : the smaller gridSpacing is, the greater the number of points is.-
Fields inherited from class com.openinventor.meshviz.data.PoMesh3DVecCrossSection
plane, projectionType
-
Fields inherited from class com.openinventor.meshviz.data.PoMesh3DVec
bodyColoringType, bodyLengthFactor, bodyLengthType, bodyRadiusFactor, bodyRadiusType, bodyShape, density, eliminationStatus, endArrowColoringType, endArrowHeightFactor, endArrowHeightType, endArrowRadiusFactor, endArrowShape, maxLength, minLength, startArrowColoringType, startArrowHeightFactor, startArrowHeightType, startArrowRadiusFactor, startArrowShape
-
Fields inherited from class com.openinventor.meshviz.data.PoMesh
coloringType, creaseAngle, moduleDataMapping, smoothTextureContouring, valuesIndex, valuesIndexForCellFilter, vecsIndex
-
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 PoMesh3DVecGridCrossSection()
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.data.PoMesh
getDataMapping, getIsovaluesList, getModuleDataMapping, setDataMapping, setIsovaluesList, setMesh, setModuleDataMapping
-
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
-
gridSpacing
public final SoSFFloat gridSpacing
GridSpacing is relating to the number of points on the grid : the smaller gridSpacing is, the greater the number of points is. It represents a factor of the biggest size of the mesh. 0.05 by default. If gridSpacing = 0, this class behaves likePoMesh3DVecCrossSection
.
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-