Glyph Version 7.22.2 |
pw:: OversetNodeOGA Define Derives FromSummary
getTopLevel
This action gets the top-level node for the current overset assembler. The top-level node is created if it does not exist. ParametersNone ReturnsThis action returns the top-level pw::OversetNode object. getDefinitionFileName
This action returns true if an input definition file exists. ParametersNone. ReturnsThis action returns a string representing the name of the input definition file for the current overset assembler. getContainerNodeTypeNamesThis action returns the type names of the container elements for the current overset assembler. The container elements are used to build the hierarchical organization of component grids. ParametersNone. ReturnsThis action returns the type names <string list> of the container elements for the current overset assembler. getGridNodeTypeName
This action returns the type name of the grid element for the current overset assembler. The grid element associates a component grid with a container element. ParametersNone. ReturnsThis action returns the type name string of the grid element for the current overset assembler. getNodeByDisplayName
This action gets a node by its display name. Parameters
ReturnsThis action returns a pw::OversetNode node. ExampleCode pw::GlyphOversetNode getNodeByDisplayName ?-body? displayName getContainerNodes
This action returns a list of container nodes in the tree ParametersNone. ReturnsThis action returns a list of pw::OversetNode objects in the tree that are container nodes. getParent
This action gets the parent for this node. ParametersNone. ReturnsThis action returns a pw::OversetNode object. addChild
This action adds a child node to the node hierarchy. The argument may be a valid type name or an existing pw::OversetNode. Parameters
ReturnsThis action returns the added pw::OversetNode object. removeChild
This action removes the specified node from the parent which causes the specified node to be deleted. Parameters
ReturnsThis action returns the parent pw::OversetNode object. getChildCount
This action gets the number of children for this node. ParametersNone. ReturnsThis action returns the integer number of child nodes. getChild
This action gets the child at the given index or name. Parameters
ReturnsThis action returns a pw::OversetNode object. getChildren
This action gets the children for this node. ParametersNone. ReturnsThis action returns a list pw::OversetNode of child nodes. getAttributes
This action returns the list of required or optional attributes for a node in the hierarchy. Parameters
ReturnsThis action returns a string array of the requested attributes. getAttributeValue
This action gets the value of the given attribute. It may be empty. Parameters
ReturnsThis action returns the value (possibly empty). No indication is given if the attrribute is not an attribute of the element. That should be determined by using the pw::OversetNode getAttributes call setEntity
This action sets the grid entity linked to a node of the hierarchy. Parameters
ReturnsThis action returns true if successful. getEntity
This action gets the grid entity linked to a node of the hierarchy. Parameters
ReturnsIf no grid entity is associated with the node, an empty string value is returned. Otherwise, the action returns a pw::GridEntity object if the “-path” option is not specified, or a two element list consisting of the pw::Framework path and the pw::GridEntity object. getXML
This action returns the object as an XML string. ParametersNone. ReturnsThis action returns the object as a well-formed XML string. saveXML
This action saves the object to disk. Parameters
ReturnsThis action returns true if the file was saved. setFromXML
This action sets the contents of the node from an XML string or file. Parameters
ReturnsThis action returns true if the object was updated from the XML string or file. copy
This action returns a copy of the object. ParametersNone. ReturnsThis action returns a copy of the node including children as new pw::OversetNode object. The copied node does not have a parent node. canDelete
This action checks whether a node is required by its parent node. ParametersNone. ReturnsThis action returns a boolean indicating whether the node can be removed from its parent node. getAttributeValueIndex
This action returns index for a value in a list of values Parameters
ReturnsThis action returns the index of the given value in the list of values defined for this attribute getEntityNodes
This action returns a list of nodes that have entity references ParametersNone. ReturnsThis action returns a list of pw::OversetNode nodes. hasBodyMotionData
This action indicates if the node has body motion data assigned to it. ParametersNone. ReturnsThis action returns a boolean where true if the node has body motion data assigned to it, false if it doesn’t. ExampleCode $node hasBodyMotionData supportsBodyMotionDataThis action indicates if the node supports body motion data. ParametersNone. ReturnsThis action returns a boolean where true if the node supports body motion data, false if it doesn’t. ExampleCode $node supportsBodyMotionData setBodyInertialSystemOrigin
Set the initial location (XYZ) of the body inertial coordinate system wrt the parent inertial coordinate system Parameters
ReturnsThis action returns nothing. ExampleCode $node setBodySystemOrigin bodySysOrigin getBodyInertialSystemOrigin
Get the initial location (XYZ) of the body inertial coordinate system wrt the parent inertial coordinate system ParametersThere are no parameters. ReturnsThis action returns an xyz vector. ExampleCode $node getBodyInertialSystemOriginn setBodyInertialSystemRotation
Set the initial rotation of the body inertial coordinate system with respect to the parent inertial coordinate system Parameters
ReturnsThis action returns nothing. ExampleCode $node setBodyInertialSystemRotation bodySysRotation getBodyInertialSystemRotation
Get the initial rotation of the body inertial coordinate system with respect to the parent inertial coordinate system ParametersThere are no parameters. ReturnsThis action returns an xyz vector. ExampleCode $node getBodyInertialSystemRotation importBodyMotionData
This action imports the translation, rotation, and time body motion data from a csv file. Parameters
ReturnsThis action returns nothing. ExampleCode $node importBodyMotionData fileName clearBodyMotionData
This action clears the body motion data linked to a node of the hierarchy. ParametersThere are no parameters. ReturnsThis action returns a boolean where true if body motion was deleted and false otherwise. ExampleCode $node clearBodyMotionData getBodyMotionRotation
This action returns the local rotation specified for the body at the given time or position index. The value is obtained directly from the specified body motion data for the node via importBodyMotionData and does not include motion data from parent nodes. Parameters
ReturnsThis action returns a vector representing the rotation about the X-, Y-, and Z-axes. ExampleCode $node getBodyMotionRotation -scaleFactor -time 2.0 setBodyMotionScaleFactor
This action sets the translational or rotational scale factor for the body motion data Parameters
ReturnsThis action returns nothing. ExampleCode $node setBodyMotionScaleFactor < -translation | -rotation > scaleFactor getBodyMotionScaleFactor
This action gets the translational or rotational scale factor for the body motion data Parameters
ReturnsThis action returns the <real> scale factor. ExampleCode $node getBodyMotionScaleFactor < -translation | -rotation > getBodyMotionTransformMatrix
This action returns the total transformation matrix corresponding to the body motion linked to a node of the hierarchy. Parameters
ReturnsThis action returns a <xformmatrix>. ExampleCode $node getBodyMotionTransformMatrix -index 2 $ogaParent getBodyMotionTranslation
This action returns the local translation specified for the body at the given time or position index. The value is obtained directly from the specified body motion data for the node via importBodyMotionData and does not include motion data from parent nodes. Parameters
ReturnsThis action returns a vector representing the translation X-, Y-, and Z-components. ExampleCode $node getBodyMotionTranslation -scaleFactor -time 2.0 getBodyMotionData
This action returns the local translation and rotation specified for the body at the given time or position index. The value is obtained directly from the specified body motion data for the node via importBodyMotionData and does not include motion data from parent nodes. If the -all flag is specified, this function returns an array of arrays with the all the translation, rotation, and time body motion data. Parameters
ReturnsThis action returns a list consisting of three elements. The forst two elements are a list of xyz vectors indicating the specified body translation and rotation respectively, the third element is a list of <real> values indicating the specified motion times. ExampleCode $node getBodyMotionData -scaleFactor -time 2.0 getBodyMotionStepsCount
This action returns the number of predefined positions of the grid entities linked to a node of the hierarchy. ParametersThere are no parameters. ReturnsThis action returns an integer. ExampleCode $node getBodyMotionStepsCount getBodyMotionTimes
This action returns a list of the time stamps for each predefined position. ParametersThere are no parameters. ReturnsThis action returns a list of <real> values. ExampleCode set i 1 |
This action gets the top-level node for the current overset assembler.
pw::OversetNode getTopLevel
This action returns true if an input definition file exists.
pw::OversetNode getDefinitionFileName
This action returns the type name of the grid element for the current overset assembler.
pw::OversetNode getGridNodeTypeName
This action gets a node by its display name.
pw::OversetNode getNodeByDisplayName ?-body? displayName
This action returns a list of container nodes in the tree
pw::OversetNode getContainerNodes
This action gets the parent for this node.
$node getParent
This action adds a child node to the node hierarchy.
$node addChild node_or_type
This action removes the specified node from the parent which causes the specified node to be deleted.
$node removeChild child
This action gets the number of children for this node.
$node getChildCount
This action gets the child at the given index or name.
$node getChild ?< -index | -name >? value
This action gets the children for this node.
$node getChildren
This action returns the list of possible children.
$node getUnusedChildNames
This action ensures that all children that are container nodes have unique display names.
$node resetBodyNames
This action returns the list of required or optional attributes for a node in the hierarchy.
$node getAttributes ?< -required | -optional >?
This action returns the type of the attribute for a specified node.
$node getAttributeType name
This action gets the value of the given attribute.
$node getAttributeValue name
This action sets the given attribute with the specified value
$node setAttributeValue name value
This action sets the grid entity linked to a node of the hierarchy.
$node setEntity < entity | entity_instance >
This action gets the grid entity linked to a node of the hierarchy.
$node getEntity ?-path?
This action returns the object as an XML string.
$node getXML
This action saves the object to disk.
$node saveXML file_name
This action sets the contents of the node from an XML string or file.
$node setFromXML ?< -xml | -file >? xml_or_file
This action returns a copy of the object.
$node copy
This action checks whether a node is required by its parent node.
$node canDelete
This action deletes the node and all its children.
$node delete
This action deletes all children and resets all attributes of a node.
$node clear
This action returns the base name for the element
$node getBaseName
This action returns the ‘display’ name for the element
$node getDisplayName
This action returns the element ID
$node getElementId
This action returns the documentation for the element
$node getDocumentation
This action returns index for a value in a list of values
$node getAttributeValueIndex name value
This action returns a list of nodes that have entity references
$node getEntityNodes
This action indicates if the node has body motion data assigned to it.
$node hasBodyMotionData
Set the initial location (XYZ) of the body inertial coordinate system wrt the parent inertial coordinate system
$node setBodyInertialSystemOrigin bodySysOrigin
Get the initial location (XYZ) of the body inertial coordinate system wrt the parent inertial coordinate system
$node getBodyInertialSystemOrigin
Set the initial rotation of the body inertial coordinate system with respect to the parent inertial coordinate system
$node setBodyInertialSystemRotation bodySysRotation
Get the initial rotation of the body inertial coordinate system with respect to the parent inertial coordinate system
$node getBodyInertialSystemRotation
This action imports the translation, rotation, and time body motion data from a csv file.
$node importBodyMotionData fileName
This action clears the body motion data linked to a node of the hierarchy.
$node clearBodyMotionData
This action returns the local rotation specified for the body at the given time or position index.
$node getBodyMotionRotation ?-scaleFactor? < -index positionIndex | -time time >
This action sets the translational or rotational scale factor for the body motion data
$node setBodyMotionScaleFactor < -translation | -rotation > scaleFactor
This action gets the translational or rotational scale factor for the body motion data
$node getBodyMotionScaleFactor < -translation | -rotation >
This action returns the total transformation matrix corresponding to the body motion linked to a node of the hierarchy.
$node getBodyMotionTransformMatrix < -index positionIndex | -time time > ?topNode?
This action returns the local translation specified for the body at the given time or position index.
$node getBodyMotionTranslation ?-scaleFactor? < -index positionIndex | -time time >
This action returns the local translation and rotation specified for the body at the given time or position index.
$node getBodyMotionData ?-scaleFactor? < -index positionIndex | -time time | -all >
This action returns the number of predefined positions of the grid entities linked to a node of the hierarchy.
$node getBodyMotionStepsCount
This action returns a list of the time stamps for each predefined position.
$node getBodyMotionTimes