public class PoAxis extends PoBaseAxis
All axis texts depend on the current miscellaneous text attributes which define the font name, line length and so on. If the method setMiscTextAttr(textAttr) is called, the current miscellaneous text attributes are defined by "textAttr". Otherwise the current miscellaneous text attributes are specified in the current inherited state (cf property node PoMiscTextAttr
).
Modifier and Type | Class and Description |
---|---|
static class |
PoAxis.ArrowAttributes |
static class |
PoAxis.AxisReverses
Axis reverse type.
|
static class |
PoAxis.GradAttributes |
static class |
PoAxis.GradPositions
Graduation position type.
|
static class |
PoAxis.GridAttributes |
static class |
PoAxis.MarginAttributes |
static class |
PoAxis.MarginTypes
Margin type.
|
static class |
PoAxis.TextPaths
Text path type.
|
static class |
PoAxis.TickAttributes |
static class |
PoAxis.TickPositions
Tick position type.
|
static class |
PoAxis.TickSubDefs
Sub-tick type.
|
static class |
PoAxis.TitleAttributes |
static class |
PoAxis.TitlePositions
Title position type.
|
static class |
PoAxis.Visibilities
Enumerations.
|
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFFloat |
arrowHeight
Arrow height.
|
SoSFFloat |
arrowLength
Arrow length.
|
SoSFEnum<PoAxis.Visibilities> |
arrowVisibility
Arrow visibility.
|
SoSFString |
gradAddString
String to be concatenated.
|
SoSFBool |
gradAddStringVisibility
Specify the visibility of a string concatenated with the graduations.
|
SoSFFloat |
gradDistAxis
Distance from the graduations to the axis.
|
SoSFString |
gradFontName
Graduations font name.
|
SoSFFloat |
gradFontSize
Font size of the graduations.
|
SoSFEnum<PoAxis.TextPaths> |
gradPath
Graduations path.
|
SoSFEnum<PoAxis.GradPositions> |
gradPosition
Graduations position.
|
SoSFEnum<PoAxis.Visibilities> |
gradVisibility
Graduations visibility.
|
SoSFFloat |
gridLengthGradOtherSide
Grid lines length other side graduation texts.
|
SoSFFloat |
gridLengthGradSide
Grid lines length side graduation texts.
|
SoSFEnum<PoAxis.Visibilities> |
gridVisibility
Grid lines visibility.
|
SoSFFloat |
marginEnd
Margin at the end of the axis.
|
SoSFFloat |
marginStart
Margin at the start of the axis.
|
SoSFEnum<PoAxis.MarginTypes> |
marginType
Relative or absolute margin.
|
SoSFEnum<PoAxis.AxisReverses> |
reverseFlag
Allow to reverse the writing path of all axis texts.
|
SoSFUShort |
tickFirstGrad
First graduation to display.
|
SoSFUShort |
tickLastGrad
Last graduation to display (number starting with the ending one).
|
SoSFFloat |
tickMainLength
Main graduations ticks length.
|
SoSFUShort |
tickNumOrPeriod
Number of secondary graduations (tickSubDef = NUM_SUB_TICK), or period of texts of graduations (tickSubDef = PERIOD_MAIN_TICK).
|
SoSFEnum<PoAxis.TickPositions> |
tickPosition
Position of the tick marks.
|
SoSFEnum<PoAxis.TickSubDefs> |
tickSubDef
Secondary graduations tick definition.
|
SoSFFloat |
tickSubLength
Secondary graduations ticks length.
|
SoSFEnum<PoAxis.Visibilities> |
tickVisibility
Tick marks visibility.
|
SoSFFloat |
titleDistAxis
Distance from the title to the axis.
|
SoSFString |
titleFontName
Title font name.
|
SoSFFloat |
titleFontSize
Font size of the title.
|
SoSFEnum<PoAxis.TextPaths> |
titlePath
Path of the title.
|
SoSFEnum<PoAxis.TitlePositions> |
titlePosition
Position of the title.
|
SoSFString |
titleString
Title string.
|
SoSFEnum<PoAxis.Visibilities> |
titleVisibility
Visibility of the title.
|
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
PoAxis.ArrowAttributes |
getArrow()
Gets the arrow axis attributes computed by the last axis rebuilding.
|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
PoAxis.GradAttributes |
getGrad()
Gets the graduations axis attributes computed by the last axis rebuilding.
|
PoAxis.GridAttributes |
getGrid()
Gets the grid axis attributes computed by the last axis rebuilding.
|
PoAxis.MarginAttributes |
getMargin()
Gets the margin axis attributes computed by the last axis rebuilding.
|
PbMiscTextAttr |
getMiscTextAttr()
Gets a reference to
PbMiscTextAttr object for miscellaneous text attributes. |
PoAxis.AxisReverses |
getReverseFlag()
Gets the reverse flag axis attributes computed by the last axis rebuilding.
|
PoAxis.TickAttributes |
getTick()
Gets the tick axis attributes computed by the last axis rebuilding.
|
PoAxis.TitleAttributes |
getTitle()
Gets the title axis attributes computed by the last axis rebuilding.
|
void |
setMiscTextAttr(PbMiscTextAttr textAttr)
Sets a reference to
PbMiscTextAttr object for miscellaneous text attributes. |
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, getRenderEngineMode, 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, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoSFEnum<PoAxis.Visibilities> gradVisibility
public final SoSFEnum<PoAxis.GradPositions> gradPosition
public final SoSFEnum<PoAxis.TextPaths> gradPath
public final SoSFString gradFontName
public final SoSFFloat gradFontSize
PoBase
description). As a result, the size of graduations text on the screen is the same regardless of text orientation. Default is 0.public final SoSFFloat gradDistAxis
PoBase
description). Default is 0.public final SoSFBool gradAddStringVisibility
public final SoSFString gradAddString
public final SoSFEnum<PoAxis.MarginTypes> marginType
public final SoSFFloat marginStart
public final SoSFFloat marginEnd
public final SoSFEnum<PoAxis.Visibilities> titleVisibility
public final SoSFEnum<PoAxis.TitlePositions> titlePosition
public final SoSFEnum<PoAxis.TextPaths> titlePath
public final SoSFString titleFontName
public final SoSFFloat titleFontSize
PoBase
description). As a result, the size of text on the screen is the same regardless of text orientation. Default is 0.public final SoSFFloat titleDistAxis
PoBase
description). Default is 0.public final SoSFString titleString
public final SoSFEnum<PoAxis.Visibilities> gridVisibility
public final SoSFFloat gridLengthGradSide
public final SoSFFloat gridLengthGradOtherSide
public final SoSFEnum<PoAxis.Visibilities> arrowVisibility
public final SoSFFloat arrowHeight
PoBase
description). Default is 0.03.public final SoSFFloat arrowLength
PoBase
description). Default is 0.05.public final SoSFEnum<PoAxis.Visibilities> tickVisibility
public final SoSFEnum<PoAxis.TickPositions> tickPosition
public final SoSFFloat tickMainLength
PoBase
description). Default is 0.public final SoSFFloat tickSubLength
PoBase
description). Default is 0.public final SoSFEnum<PoAxis.TickSubDefs> tickSubDef
public final SoSFUShort tickNumOrPeriod
public final SoSFUShort tickFirstGrad
public final SoSFUShort tickLastGrad
public final SoSFEnum<PoAxis.AxisReverses> reverseFlag
public PoAxis.GridAttributes getGrid()
public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.public PoAxis.ArrowAttributes getArrow()
public PoAxis.TitleAttributes getTitle()
public PoAxis.AxisReverses getReverseFlag()
public PoAxis.TickAttributes getTick()
public PbMiscTextAttr getMiscTextAttr()
PbMiscTextAttr
object for miscellaneous text attributes.public void setMiscTextAttr(PbMiscTextAttr textAttr)
PbMiscTextAttr
object for miscellaneous text attributes.
If this method is not called (or called passing NULL as argument), this is the miscellaneous text attributes defined in the current inherited state (defined with the property node PoMiscTextAttr
) which are used.public PoAxis.MarginAttributes getMargin()
public PoAxis.GradAttributes getGrad()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com