public class PoLinearAxis extends PoCartesianAxis
PoCartesianAxis.type
.
By default, the text of the displayed graduations (the tick mark labels) are based on the actual coordinates of the axis (start and end). The text of the graduations is based on the specified range if the gradStart
and gradEnd
fields are not equal.
The graduations format depends on the current numerical display format. If the method setFormat(format) is called, the current numerical display format is "format". Otherwise the numerical display format is the inherited value from PoNumericDisplayFormat
(default AUTO).
See PoAxis
for discussion of axis attributes.
Multiple axes can generated conveniently using
File format/default:
See also:
Many other kinds of axes can generated, for example:
Axis Attributes
PoLogAxis
)
PoTimeAxis
)
PoGenAxis
)
PoPolarLinAxis
, PoPolarLogAxis
)
PoGroup2Axis
, etc.
}
gradVisibility VISILITY_DEPEND
gradPosition GRAD_DEPEND
gradPath PATH_DEPEND
gradFontName ""
gradFontSize 0
gradDistAxis 0
gradAddStringVisibility false
gradAddString ""
marginType REL_MARGIN
marginStart 0
marginEnd 0
titleVisibility VISILITY_DEPEND
titlePosition TITLE_DEPEND
titlePath PATH_DEPEND
titleFontName ""
titleFontSize 0
titleDistAxis 0
titleString ""
gridVisibility VISILITY_DEPEND
gridLengthGradSide 0
gridLengthGradOtherSide 1
arrowVisibility VISIBILITY_DEPEND
arrowHeight 0.03
arrowLength 0.05
tickVisibility VISIBILITY_DEPEND
tickPosition TICK_GRAD_SIDE
tickMainLength 0
tickSubLength 0
tickSubDef PERIOD_MAIN_TICK
tickNumOrPeriod 1
tickFirstGrad 1
tickLastGrad 1
reverseFlag AXIS_REVERSE_DEPEND
start 0 0 0
end 1
gradStart 0
gradEnd 0
type XY
step 0
gradFit GRAD_UNFIT
multFactorPosition MULT_FACTOR_END
multFactorDistAxis 0
PoGenAxis
, PoLogAxis
, PoLogAxis
, PoTimeAxis
, PoPolarLinAxis
, PoPolarLogAxis
Modifier and Type | Class and Description |
---|---|
static class |
PoLinearAxis.GradFits
First graduation rounded or not.
|
static class |
PoLinearAxis.MultFactor |
static class |
PoLinearAxis.MultFactorPositions |
PoCartesianAxis.Types
PoAxis.ArrowAttributes, PoAxis.AxisReverses, PoAxis.GradAttributes, PoAxis.GradPositions, PoAxis.GridAttributes, PoAxis.MarginAttributes, PoAxis.MarginTypes, PoAxis.TextPaths, PoAxis.TickAttributes, PoAxis.TickPositions, PoAxis.TickSubDefs, PoAxis.TitleAttributes, PoAxis.TitlePositions, PoAxis.Visibilities
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
GRAD_FIT
Deprecated.
Use
PoLinearAxis.GradFits.GRAD_FIT instead. |
static int |
GRAD_UNFIT
Deprecated.
Use
PoLinearAxis.GradFits.GRAD_UNFIT instead. |
SoSFEnum<PoLinearAxis.GradFits> |
gradFit
This flag indicates if the first graduation is rounded or not.
|
static int |
MULT_FACTOR_END
Deprecated.
Use
PoLinearAxis.MultFactorPositions.MULT_FACTOR_END instead. |
static int |
MULT_FACTOR_EXTR
Deprecated.
Use
PoLinearAxis.MultFactorPositions.MULT_FACTOR_EXTR instead. |
static int |
MULT_FACTOR_GRAD
Deprecated.
Use
PoLinearAxis.MultFactorPositions.MULT_FACTOR_GRAD instead. |
static int |
MULT_FACTOR_START
Deprecated.
Use
PoLinearAxis.MultFactorPositions.MULT_FACTOR_START instead. |
SoSFFloat |
multFactorDistAxis
Distance from the multiplicative factor to the axis.
|
SoSFEnum<PoLinearAxis.MultFactorPositions> |
multFactorPosition
Position of the multiplicative factor.
|
SoSFFloat |
step
Defines the step for the axis.
|
end, gradEnd, gradStart, start, type, XY, XZ, YX, YZ, ZX, ZY
arrowHeight, arrowLength, arrowVisibility, AXIS_NO_REVERSE, AXIS_REVERSE, AXIS_REVERSE_DEPEND, FIXED_MARGIN, GRAD_ABOVE, GRAD_BELOW, GRAD_DEPEND, gradAddString, gradAddStringVisibility, gradDistAxis, gradFontName, gradFontSize, gradPath, gradPosition, gradVisibility, gridLengthGradOtherSide, gridLengthGradSide, gridVisibility, marginEnd, marginStart, marginType, NUM_SUB_TICK, PATH_DEPEND, PATH_DOWN, PATH_LEFT, PATH_RIGHT, PATH_UP, PERIOD_MAIN_TICK, REL_MARGIN, reverseFlag, TICK_ACROSS_AXIS, TICK_GRAD_OTHER_SIDE, TICK_GRAD_SIDE, tickFirstGrad, tickLastGrad, tickMainLength, tickNumOrPeriod, tickPosition, tickSubDef, tickSubLength, tickVisibility, TITLE_DEPEND, TITLE_END, TITLE_MIDDLE, titleDistAxis, titleFontName, titleFontSize, titlePath, titlePosition, titleString, titleVisibility, VISIBILITY_DEPEND, VISIBILITY_OFF, VISIBILITY_ON
FOLD_NODE_WRITE_FORMAT, SO_ANNO_TEXT3, SO_TEXT3, UNFOLD_NODE_WRITE_FORMAT, UPDATE_METHOD_IMMEDIATE, UPDATE_METHOD_ON_ACTION
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
PoLinearAxis()
Default constructor.
|
PoLinearAxis(SbVec3f _start,
float _end,
PoCartesianAxis.Types _type)
Calls PoLinearAxis(_start, _end, _type, (float)0.0).
|
PoLinearAxis(SbVec3f _start,
float _end,
PoCartesianAxis.Types _type,
float _step)
Constructor.
|
PoLinearAxis(SbVec3f _start,
float _end,
PoCartesianAxis.Types _type,
float _gradStart,
float _gradEnd)
Calls PoLinearAxis(_start, _end, _type, _gradStart, _gradEnd, (float)0.0).
|
PoLinearAxis(SbVec3f _start,
float _end,
PoCartesianAxis.Types _type,
float _gradStart,
float _gradEnd,
float _step)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
PbNumericDisplayFormat |
getFormat()
Gets a reference to the
PbNumericDisplayFormat object for the numerical display format for the graduations. |
PoLinearAxis.MultFactor |
getMultFactor()
Returns the current multiplicative factor attributes (those computed can be different from the associated field).
|
float |
getStep()
Returns the current step attribute (the step computed can be different from the associated field).
|
void |
setFormat(PbNumericDisplayFormat format)
Sets a reference to a
PbNumericDisplayFormat object for the numerical display format for the graduations. |
getArrow, getGrad, getGrid, getMargin, getMiscTextAttr, getReverseFlag, getTick, getTitle, setMiscTextAttr
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int GRAD_FIT
PoLinearAxis.GradFits.GRAD_FIT
instead.@Deprecated public static final int GRAD_UNFIT
PoLinearAxis.GradFits.GRAD_UNFIT
instead.@Deprecated public static final int MULT_FACTOR_START
PoLinearAxis.MultFactorPositions.MULT_FACTOR_START
instead.@Deprecated public static final int MULT_FACTOR_END
PoLinearAxis.MultFactorPositions.MULT_FACTOR_END
instead.@Deprecated public static final int MULT_FACTOR_EXTR
PoLinearAxis.MultFactorPositions.MULT_FACTOR_EXTR
instead.@Deprecated public static final int MULT_FACTOR_GRAD
PoLinearAxis.MultFactorPositions.MULT_FACTOR_GRAD
instead.public final SoSFFloat step
public final SoSFEnum<PoLinearAxis.GradFits> gradFit
public final SoSFEnum<PoLinearAxis.MultFactorPositions> multFactorPosition
public PoLinearAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd)
public PoLinearAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type)
public PoLinearAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _step)
public PoLinearAxis()
public PoLinearAxis(SbVec3f _start, float _end, PoCartesianAxis.Types _type, float _gradStart, float _gradEnd, float _step)
public void setFormat(PbNumericDisplayFormat format)
PbNumericDisplayFormat
object for the numerical display format for the graduations.
If this method is not called (or called passing NULL as argument), the numerical display format defined in the current inherited state (defined with the property node PoNumericDisplayFormat
) is used.public PbNumericDisplayFormat getFormat()
PbNumericDisplayFormat
object for the numerical display format for the graduations.
Returns null if none specified.public PoLinearAxis.MultFactor getMultFactor()
public float getStep()
public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com