public class PoBase extends SoBaseKit
PoDomain).
 Be careful, do not use the method rebuild() if you use MeshViz property nodes (PoDomain, PoMeshProperty,...), because a representation (axis, legend, 2D and 3D mesh representation,..) depends on the current inherited state. If you need to do an extra work after a representation has been built, do it in a post-rebuild callback (cf PoBase.addPostRebuildCallback).
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
PoBase.NodeWriteFormats
Type of write format. 
 | 
static class  | 
PoBase.TextTypes
Type of Text. 
 | 
static class  | 
PoBase.UpdateMethodTypes
Type of update method. 
 | 
Inventor.ConstructorCommand| Modifier and Type | Field and Description | 
|---|---|
static int | 
FOLD_NODE_WRITE_FORMAT
Deprecated. 
 
Use  
PoBase.NodeWriteFormats.FOLD_NODE_WRITE_FORMAT instead. | 
static int | 
SO_ANNO_TEXT3
Deprecated. 
 
Use  
PoBase.TextTypes.SO_ANNO_TEXT3 instead. | 
static int | 
SO_TEXT3
Deprecated. 
 
Use  
PoBase.TextTypes.SO_TEXT3 instead. | 
static int | 
UNFOLD_NODE_WRITE_FORMAT
Deprecated. 
 
Use  
PoBase.NodeWriteFormats.UNFOLD_NODE_WRITE_FORMAT instead. | 
static int | 
UPDATE_METHOD_IMMEDIATE
Deprecated. 
 
Use  
PoBase.UpdateMethodTypes.UPDATE_METHOD_IMMEDIATE instead. | 
static int | 
UPDATE_METHOD_ON_ACTION
Deprecated. 
 
Use  
PoBase.UpdateMethodTypes.UPDATE_METHOD_ON_ACTION instead. | 
boundingBoxIgnoringVERBOSE_LEVEL, ZeroHandle| Modifier and Type | Method and Description | 
|---|---|
void | 
addPostRebuildCallback(PoRebuildCB cb,
                      java.lang.Object data)
Add a callback function to call when the node kit is rebuilt. 
 | 
void | 
addPreRebuildCallback(PoRebuildCB cb,
                     java.lang.Object data)
Add a callback function to call when the node kit is rebuilt. 
 | 
static SoNodekitCatalog | 
getClassNodekitCatalog()
Returns the  
SoNodekitCatalog for this class. | 
PbDomain | 
getDomain()
Gets a reference to a  
PbDomain object used to define the data limits of the graphics to be generated. | 
static PoBase.NodeWriteFormats | 
getNodeWriteFormat()
Gets the node write format. 
 | 
static PoBase.TextTypes | 
getTextType()
Gets the type of text used. 
 | 
PoBase.UpdateMethodTypes | 
getUpdateMethod()
Gets update method. 
 | 
boolean | 
isBuilt()
Indicates if the node kit has been built at least once. 
 | 
boolean | 
isModified()
Return true, if the kit has been modified, else otherwise. 
 | 
static boolean | 
isVRML2Mode()
Gets the VRML2 mode (true = VRML2 mode, false Inventor mode) 
 | 
void | 
rebuild()
Forces the node kit to be rebuilt immediately. 
 | 
void | 
setDomain(PbDomain dom)
Sets a reference to a  
PbDomain object used to define the data limits of the graphics to be generated. | 
static void | 
setNodeWriteFormat(PoBase.NodeWriteFormats format)
Sets the node write format. 
 | 
static void | 
setTextType(PoBase.TextTypes type)
Sets the type of text used. 
 | 
void | 
setUpdateMethod(PoBase.UpdateMethodTypes type)
Sets scene graph update method. 
 | 
static void | 
setVRML2Mode(boolean flag)
Set the VRML2 mode. 
 | 
void | 
touchKit()
Indicates the node kit is modified. 
 | 
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenaffectsState, 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, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int UPDATE_METHOD_IMMEDIATE
PoBase.UpdateMethodTypes.UPDATE_METHOD_IMMEDIATE instead.@Deprecated public static final int UPDATE_METHOD_ON_ACTION
PoBase.UpdateMethodTypes.UPDATE_METHOD_ON_ACTION instead.@Deprecated public static final int FOLD_NODE_WRITE_FORMAT
PoBase.NodeWriteFormats.FOLD_NODE_WRITE_FORMAT instead.@Deprecated public static final int UNFOLD_NODE_WRITE_FORMAT
PoBase.NodeWriteFormats.UNFOLD_NODE_WRITE_FORMAT instead.@Deprecated public static final int SO_TEXT3
PoBase.TextTypes.SO_TEXT3 instead.@Deprecated public static final int SO_ANNO_TEXT3
PoBase.TextTypes.SO_ANNO_TEXT3 instead.public void addPreRebuildCallback(PoRebuildCB cb, java.lang.Object data)
public void addPostRebuildCallback(PoRebuildCB cb, java.lang.Object data)
public static void setTextType(PoBase.TextTypes type)
SO_TEXT3 : All texts used for representations are SoText3 nodes.
 SO_ANNO_TEXT3 : All text used for representations are SoAnnoText3 (this type of text has more attributes than SoText3 which can be specified with the property node SoAnnoText3Property).
 type = SO_ANNO_TEXT3 by default.
public static PoBase.TextTypes getTextType()
public static void setVRML2Mode(boolean flag)
setTextType(), all texts used are SoAsciiText in order to minimize VRML2 file size (other text types are tessellated during a VRML2 conversion which increases VRML2 file size).
 SoLightModel.BASE_COLOR (There is no equivalence in VRML2), the emissive component is set at the same value as the diffuse components (By this way, we simulate SoLightModel.BASE_COLOR light model).
 SoAnnotation node solves their problems, but there is no equivalence in VRML2).
 This mode is inactive by default.
public static PoBase.NodeWriteFormats getNodeWriteFormat()
public boolean isBuilt()
public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog for this class.public static void setNodeWriteFormat(PoBase.NodeWriteFormats format)
FOLD_NODE_WRITE_FORMAT indicates that all nodes will not be unfolded when they are written with a SoWriteAction. UNFOLD_NODE_WRITE_FORMAT indicates on the contrary, that all nodes will be unfolded when they are written with a SoWriteAction. This format may be useful if you want to convert the generated file into a VRML format. Be careful, when using the format FOLD_NODE_WRITE_FORMAT, the basic objects (Pb objects) are not written in .iv file. In this case (and if you need to save this information), use the corresponding property node (for instance, replace the PbDomain object with the PoDomain property node).
 (FOLD_NODE_WRITE_FORMAT by default).
public static boolean isVRML2Mode()
public void setDomain(PbDomain dom)
public PbDomain getDomain()
PbDomain object used to define the data limits of the graphics to be generated.public void touchKit()
public PoBase.UpdateMethodTypes getUpdateMethod()
public boolean isModified()
public void rebuild()
rebuild() if you use MeshViz property nodes (PoDomain, PoMeshProperty,...), because a representation (axis, legend, 2D and 3D mesh representation,..) depends on the current inherited state. If you need to do an extra work after a representation has been built, do it in a post-rebuild callback (cf PoBase.addPostRebuildCallback).public void setUpdateMethod(PoBase.UpdateMethodTypes type)
UPDATE_METHOD_IMMEDIATE indicates that each time a Graph Master or 3D Data Master object is modified, the scene graph must be updated. UPDATE_METHOD_ON_ACTION indicates that the scene graph does not have to be modified when a Graph Master or 3D Data Master object changes; the scene graph being modified when it is necessary (before a rendering action for instance). The faster method is UPDATE_METHOD_ON_ACTION and is particularly useful for representations where more than one field has to be set to obtain the definitive representation, because with the other method, each time a field is changed, the representation is rebuilt. (UPDATE_METHOD_ON_ACTION by default).Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com