|
Foxit PDF SDK
|
Public Types | |
| enum | PDF3DModelNodeType { e_TypeModelRoot = 0, e_TypeGroup = 1, e_TypeMesh = 2, e_TypeSprite = 3, e_TypeMarkup = 4, e_TypePunctualLight = 5, e_TypeAmbientLight = 6, e_TypeViewCamera = 7, e_TypeClippingPlane = 8, e_TypeProcedural = 9, e_TypeBone = 10, e_TypeDummy = 11 } |
| Enumeration for the 3D model node type. More... | |
Public Member Functions | |
| ModelNode () | |
| Constructor. | |
| ModelNode (const ModelNode &other) | |
| Constructor, with another model node object. More... | |
| ~ModelNode () | |
| Destructor. | |
| ModelNode | GetFirstChildNode () |
| Get the first child node of current node. More... | |
| WString | GetName () |
| Get the name of current node. More... | |
| ModelNode | GetNextSiblingNode () |
| Get the next sibling node of current node. More... | |
| PDF3DModelNodeType | GetNodeType () |
| Get the type of the node. More... | |
| ModelNode | GetParentNode () |
| Get the parent node of current node. More... | |
| bool | IsEmpty () const |
| Check whether current object is empty or not. More... | |
| bool | IsVisible () |
| Check whether current node is visible or not. More... | |
| bool | operator!= (const ModelNode &other) const |
| Not equal operator. More... | |
| ModelNode & | operator= (const ModelNode &other) |
| Assign operator. More... | |
| bool | operator== (const ModelNode &other) const |
| Equal operator. More... | |
| void | SetVisible (bool is_visible) |
| Set the visibility of current node. More... | |
Public Member Functions inherited from foxit::Base | |
| FS_HANDLE | Handle () const |
| Get the handle of current object. More... | |
This class represents a node in the 3D model tree structure.
Enumeration for the 3D model node type.
Values of this enumeration should be used alone.
| foxit::addon::pdf3d::ModelNode::ModelNode | ( | const ModelNode & | other | ) |
Constructor, with another model node object.
| [in] | other | Another model node object. |
| ModelNode foxit::addon::pdf3d::ModelNode::GetFirstChildNode | ( | ) |
Get the first child node of current node.
| WString foxit::addon::pdf3d::ModelNode::GetName | ( | ) |
Get the name of current node.
| ModelNode foxit::addon::pdf3d::ModelNode::GetNextSiblingNode | ( | ) |
Get the next sibling node of current node.
| PDF3DModelNodeType foxit::addon::pdf3d::ModelNode::GetNodeType | ( | ) |
Get the type of the node.
| ModelNode foxit::addon::pdf3d::ModelNode::GetParentNode | ( | ) |
Get the parent node of current node.
| bool foxit::addon::pdf3d::ModelNode::IsEmpty | ( | ) | const |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
| bool foxit::addon::pdf3d::ModelNode::IsVisible | ( | ) |
Check whether current node is visible or not.
| bool foxit::addon::pdf3d::ModelNode::operator!= | ( | const ModelNode & | other | ) | const |
Not equal operator.
| [in] | other | Another model node object. This function will check if current object is not equal to this one. |
Assign operator.
| [in] | other | Another model node object, whose value would be assigned to current object. |
| bool foxit::addon::pdf3d::ModelNode::operator== | ( | const ModelNode & | other | ) | const |
Equal operator.
| [in] | other | Another model node object. This function will check if current object is equal to this one. |
| void foxit::addon::pdf3d::ModelNode::SetVisible | ( | bool | is_visible | ) |
Set the visibility of current node.
| [in] | is_visible | A boolean value used to set the visibility of current node. true means visible, while false means invisible. |