OpenMW
|
#include <node.hpp>
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 |
NiNode * | parent |
const Transformation * | boneTrafo |
const NiSkinData::BoneInfo * | boneInfo |
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 |
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.
|
inline |
|
inline |
|
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.
|
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.
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 |