OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
Nif::Node Class Reference

#include <node.hpp>

Inheritance diagram for Nif::Node:
Collaboration diagram for Nif::Node:

Public Member Functions

void read (NIFStream *nif)
 Parses the record from file. More...
 
void post (NIFFile *nif)
 Does post-processing, after the entire tree is loaded. More...
 
void makeRootBone (const Transformation *tr)
 
void makeBone (short ind, const NiSkinData::BoneInfo &bi)
 
- Public Member Functions inherited from Nif::Record
 Record ()
 
virtual ~Record ()
 

Public Attributes

int flags
 
Transformation trafo
 
osg::Vec3f velocity
 
PropertyList props
 
bool hasBounds
 
osg::Vec3f boundPos
 
Matrix3 boundRot
 
osg::Vec3f boundXYZ
 
NiNodeparent
 
const TransformationboneTrafo
 
const NiSkinData::BoneInfoboneInfo
 
short boneIndex
 
- Public Attributes inherited from Nif::Named
std::string name
 
- Public Attributes inherited from Nif::Controlled
ControllerPtr controller
 
- Public Attributes inherited from Nif::Extra
ExtraPtr extra
 
- Public Attributes inherited from Nif::Record
int recType
 
std::string recName
 
size_t recIndex
 

Detailed Description

A Node is an object that's part of the main NIF tree. It has parent node (unless it's the root), and transformation (location and rotation) relative to it's parent.

Member Function Documentation

void Nif::Node::makeBone ( short  ind,
const NiSkinData::BoneInfo bi 
)
inline
void Nif::Node::makeRootBone ( const Transformation tr)
inline

Here is the caller graph for this function:

void Nif::Node::post ( NIFFile nif)
inlinevirtual

Does post-processing, after the entire tree is loaded.

Reimplemented from Nif::Controlled.

Reimplemented in Nif::NiRotatingParticles, Nif::NiAutoNormalParticles, Nif::NiTriShape, and Nif::NiNode.

Here is the call graph for this function:

Here is the caller graph for this function:

void Nif::Node::read ( NIFStream nif)
inlinevirtual

Parses the record from file.

Reimplemented from Nif::Named.

Reimplemented in Nif::NiLODNode, Nif::NiSwitchNode, Nif::NiRotatingParticles, Nif::NiAutoNormalParticles, Nif::NiCamera, Nif::NiTriShape, and Nif::NiNode.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

short Nif::Node::boneIndex
const NiSkinData::BoneInfo* Nif::Node::boneInfo
const Transformation* Nif::Node::boneTrafo
osg::Vec3f Nif::Node::boundPos
Matrix3 Nif::Node::boundRot
osg::Vec3f Nif::Node::boundXYZ
int Nif::Node::flags
bool Nif::Node::hasBounds
NiNode* Nif::Node::parent
PropertyList Nif::Node::props
Transformation Nif::Node::trafo
osg::Vec3f Nif::Node::velocity

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