This class represents a node in the 3D model tree structure.
- See also
- PDF3DAnnotInstance
◆ ModelNode()
| com.foxit.sdk.addon.pdf3d.ModelNode.ModelNode |
( |
ModelNode |
other | ) |
|
Constructor, with another model node object.
- Parameters
-
| [in] | other | Another model node object. |
◆ delete()
| synchronized void com.foxit.sdk.addon.pdf3d.ModelNode.delete |
( |
| ) |
|
Clean up related C++ resources immediately.
- Returns
- None.
- Note
- Once this function is called, current object cannot be used anymore.
◆ getFirstChildNode()
| ModelNode com.foxit.sdk.addon.pdf3d.ModelNode.getFirstChildNode |
( |
| ) |
|
Get the first child node of current node.
- Returns
- The first child node of current node. If there is no child node, an empty object will be returned.
◆ getName()
| String com.foxit.sdk.addon.pdf3d.ModelNode.getName |
( |
| ) |
|
Get the name of current node.
- Returns
- The name of current node.
◆ getNextSiblingNode()
| ModelNode com.foxit.sdk.addon.pdf3d.ModelNode.getNextSiblingNode |
( |
| ) |
|
Get the next sibling node of current node.
- Returns
- The next sibling node of current node. If there is no next sibling node, an empty object will be returned.
◆ getNodeType()
| int com.foxit.sdk.addon.pdf3d.ModelNode.getNodeType |
( |
| ) |
|
◆ getParentNode()
| ModelNode com.foxit.sdk.addon.pdf3d.ModelNode.getParentNode |
( |
| ) |
|
Get the parent node of current node.
- Returns
- The parent node of current node. If there is no parent node, an empty object will be returned.
◆ isEmpty()
| boolean com.foxit.sdk.addon.pdf3d.ModelNode.isEmpty |
( |
| ) |
|
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
- Returns
- true means current object is empty, while false means not.
◆ isVisible()
| boolean com.foxit.sdk.addon.pdf3d.ModelNode.isVisible |
( |
| ) |
|
Check whether current node is visible or not.
- Returns
- true means current node is visible, while false means invisible.
◆ setVisible()
| void com.foxit.sdk.addon.pdf3d.ModelNode.setVisible |
( |
boolean |
is_visible | ) |
|
Set the visibility of current node.
- Parameters
-
| [in] | is_visible | A boolean value used to set the visibility of current node.
true means visible, while false means invisible. |
- Returns
- None.