Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Friends

KFbxNodeAttribute Class Reference

This reference page is linked to from the following overview topics: Your First FBX SDK Program, FBX SDK Object Model, Managing Memory with the FBX SDK Manager, Connections, Nodes and the Scene Graph, FBX Scenes, FBX Nodes, FBX Node Attributes, Instancing - Sharing a Mesh, List of Python FBX classes.


Search for all occurrences

Detailed Description

This class is the base class to all types of node attributes.

A node attribute is the content of a node. A NULL node attribute is set by calling function KFbxNode::SetNodeAttribute() with a NULL pointer.

Examples:

ImportScene/DisplayAnimation.cxx, MyOwnWriterReader/MyOwnReader.cxx, ViewScene/DrawScene.cxx, and ViewScene/InitScene.cxx.

Definition at line 57 of file kfbxnodeattribute.h.

#include <kfbxnodeattribute.h>

Inheritance diagram for KFbxNodeAttribute:
Inheritance graph
[legend]

List of all members.

Public Types

enum   EAttributeType {
  eUNIDENTIFIED, eNULL, eMARKER, eSKELETON,
  eMESH, eNURB, ePATCH, eCAMERA,
  eCAMERA_STEREO, eCAMERA_SWITCHER, eLIGHT, eOPTICAL_REFERENCE,
  eOPTICAL_MARKER, eNURBS_CURVE, eTRIM_NURBS_SURFACE, eBOUNDARY,
  eNURBS_SURFACE, eSHAPE, eLODGROUP, eSUBDIV,
  eCACHED_EFFECT, eLINE
}
 

Node attribute types.

More...

Public Member Functions

virtual EAttributeType  GetAttributeType () const
  Return the type of node attribute.
int  GetNodeCount () const
  Return the node count using this attribute.
KFbxNode *  GetNode (int pIndex=0) const
  Return the node this attribute is set to.

Public Attributes

KFbxTypedProperty< fbxDouble3 >  Color
  This property handles the color.

Static Public Attributes

static const char *  sColor
  Property Names.
static const fbxDouble3  sDefaultColor
  Property Default Values.

Protected Member Functions

  KFbxNodeAttribute (KFbxSdkManager &pManager, char const *pName)
virtual bool  ConstructProperties (bool pForceSet)

Friends

class  KFbxNode
class  KFbxScene

Member Enumeration Documentation

Node attribute types.

  • eUNIDENTIFIED
  • eNULL
  • eMARKER
  • eSKELETON
  • eMESH
  • eNURB
  • ePATCH
  • eCAMERA
  • eCAMERA_STEREO,
  • eCAMERA_SWITCHER
  • eLIGHT
  • eOPTICAL_REFERENCE
  • eOPTICAL_MARKER
  • eNURBS_CURVE
  • eTRIM_NURBS_SURFACE
  • eBOUNDARY
  • eNURBS_SURFACE
  • eSHAPE
  • eLODGROUP
  • eSUBDIV
  • eCACHED_EFFECT
  • eLINE
Enumerator:
eUNIDENTIFIED 
eNULL 
eMARKER 
eSKELETON 
eMESH 
eNURB 
ePATCH 
eCAMERA 
eCAMERA_STEREO 
eCAMERA_SWITCHER 
eLIGHT 
eOPTICAL_REFERENCE 
eOPTICAL_MARKER 
eNURBS_CURVE 
eTRIM_NURBS_SURFACE 
eBOUNDARY 
eNURBS_SURFACE 
eSHAPE 
eLODGROUP 
eSUBDIV 
eCACHED_EFFECT 
eLINE 

Definition at line 98 of file kfbxnodeattribute.h.


Constructor & Destructor Documentation

KFbxNodeAttribute ( KFbxSdkManager &  pManager,
char const *  pName 
) [protected]

Member Function Documentation

virtual EAttributeType GetAttributeType ( ) const [virtual]
int GetNodeCount ( ) const

Return the node count using this attribute.

Returns:
The count of nodes with this attribute set.
KFbxNode* GetNode ( int  pIndex = 0 ) const

Return the node this attribute is set to.

Parameters:
pIndex The index of the node to retrieve
Returns:
Pointer to the node, or NULL if the current attribute is not set to a node.
Examples:
ExportScene03/main.cxx, ImportScene/DisplayMaterial.cxx, ImportScene/DisplayMesh.cxx, ImportScene/DisplayTexture.cxx, SwitchBinding/main.cxx, UIExamples/CubeCreator/SDK_Utility.cxx, ViewScene/DrawScene.cxx, ViewScene/GlFunctions.cxx, and ViewScene/SetCamera.cxx.
virtual bool ConstructProperties ( bool  pForceSet ) [protected, virtual]

Friends And Related Function Documentation

friend class KFbxNode [friend]

Reimplemented in KFbxCamera, and KFbxCameraStereo.

Definition at line 153 of file kfbxnodeattribute.h.

friend class KFbxScene [friend]

Reimplemented from KFbxObject.

Reimplemented in KFbxGeometry, and KFbxLayerContainer.

Definition at line 154 of file kfbxnodeattribute.h.


Member Data Documentation

const char* sColor [static]

Property Names.

Reimplemented in KFbxLight.

Definition at line 63 of file kfbxnodeattribute.h.

const fbxDouble3 sDefaultColor [static]

Property Default Values.

Reimplemented in KFbxLight.

Definition at line 66 of file kfbxnodeattribute.h.

This property handles the color.

Default value is (0.8, 0.8, 0.8)

Reimplemented in KFbxLight.

Examples:
ImportScene/DisplayAnimation.cxx, and ImportScene/DisplayMarker.cxx.

Definition at line 72 of file kfbxnodeattribute.h.


The documentation for this class was generated from the following file:

KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute
KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute KFbxNodeAttribute