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 setBone ()
 
- 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
 
bool isBone
 
- 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::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:

void Nif::Node::setBone ( )
inline

Member Data Documentation

osg::Vec3f Nif::Node::boundPos
Matrix3 Nif::Node::boundRot
osg::Vec3f Nif::Node::boundXYZ
int Nif::Node::flags
bool Nif::Node::hasBounds
bool Nif::Node::isBone
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: