My Project: Bone Class Reference

My Project

Public Member Functions | Public Attributes | List of all members
Bone Class Reference

`#include <bone.h>`

Inheritance diagram for Bone:

## Public Member Functions

| Bone ()
Bone * | CopyEntity (Entity *parent_ent=NULL)
void | FreeEntity (void)
Public Member Functions inherited from Entity
| Entity ()
void | EntityParent (Entity *parent_ent, int glob=true)
Entity * | GetParent ()
int | CountChildren ()
Entity * | GetChild (int child_no)
Entity * | FindChild (string child_name)
int | CountAllChildren (int no_children=0)
Entity * | GetChildFromAll (int child_no, int &no_children, Entity *ent=NULL)
void | UpdateAllEntities (void(Update)(Entity *ent, Entity *ent2), Entity *ent2=NULL)
void | PositionEntity (float x, float y, float z, int glob=false)
void | MoveEntity (float mx, float my, float mz)
void | TranslateEntity (float tx, float ty, float tz, int glob=false)
void | ScaleEntity (float x, float y, float z, int glob=false)
void | RotateEntity (float x, float y, float z, int glob=false)
void | TurnEntity (float x, float y, float z, int glob=false)
void | PointEntity (Entity *target_ent, float roll=0.0)
float | EntityX (int global=false)
float | EntityY (int global=false)
float | EntityZ (int global=false)
float | EntityYaw (int global=false)
float | EntityPitch (int global=false)
float | EntityRoll (int global=false)
float | EntityScaleX (int glob=false)
float | EntityScaleY (int glob=false)
float | EntityScaleZ (int glob=false)
void | EntityColor (float r, float g, float b, float a, int recursive=false)
void | EntityColor (float r, float g, float b, int recursive=false)
void | EntityRed (float r, int recursive=false)
void | EntityGreen (float g, int recursive=false)
void | EntityBlue (float b, int recursive=false)
void | EntityAlpha (float a, int recursive=false)
void | EntityShininess (float s, int recursive=false)
void | EntityBlend (int blend_no, int recursive=false)
void | EntityFX (int fx_no, int recursive=false)
void | EntityTexture (Texture *texture, int frame=0, int index=0, int recursive=false)
void | PaintEntity (Brush &bru, int recursive=false)
Brush * | GetEntityBrush ()
void | EntityOrder (int order_no, int recursive=false)
void | ShowEntity ()
void | HideEntity ()
int | Hidden ()
void | NameEntity (string e_name)
string | EntityName ()
string | EntityClass ()
void | Animate (int mode=1, float speed=1.0, int seq=0, int trans=0)
void | SetAnimTime (float time, int seq=0)
int | AnimLength ()
float | AnimTime ()
int | ExtractAnimSeq (int first_frame, int last_frame, int seq=0)
int | LoadAnimSeq (string filename)
void | SetAnimKey (float frame, int pos_key=true, int rot_key=true, int scale_key=true)
int | AddAnimSeq (int length)
void | EntityType (int type_no, int recursive=false)
int | GetEntityType ()
void | EntityRadius (float rx, float ry=0.0)
void | EntityBox (float x, float y, float z, float w, float h, float d)
void | ResetEntity ()
Entity * | EntityCollided (int type_no)
int | CountCollisions ()
float | CollisionX (int index)
float | CollisionY (int index)
float | CollisionZ (int index)
float | CollisionNX (int index)
float | CollisionNY (int index)
float | CollisionNZ (int index)
float | CollisionTime (int index)
Entity * | CollisionEntity (int index)
Surface * | CollisionSurface (int index)
int | CollisionTriangle (int index)
void | EntityPickMode (int no, int obscure=true)
float | EntityDistance (Entity *ent2)
float | DeltaYaw (Entity *ent2)
float | DeltaPitch (Entity *ent2)
void | AlignToVector (float x, float y, float z, int axis, float rate)
void | UpdateMat (bool load_identity=false)
void | AddParent (Entity &parent_ent)
float | EntityDistanceSquared (Entity *ent2)
void | MQ_Update ()
void | MQ_GetInvMatrix (Matrix &mat0)
void | MQ_GetMatrix (Matrix &mat3)
void | MQ_SetMatrix (Matrix &inputMatrix)
void | MQ_GetScaleXYZ (float &width, float &height, float &depth)
void | MQ_Turn (float ang, float vx, float vy, float vz, int glob=false)
virtual void | Update ()
virtual void | Render ()

## Public Attributes

float | n_px
float | n_py
float | n_pz
float | n_sx
float | n_sy
float | n_sz
float | n_rx
float | n_ry
float | n_rz
float | n_qw
float | n_qx
float | n_qy
float | n_qz
AnimationKeys * | keys
Matrix | mat2
Matrix | inv_mat
Matrix | tform_mat
float | kx
float | ky
float | kz
float | kqw
float | kqx
float | kqy
float | kqz
Public Attributes inherited from Entity
list< Entity * > | child_list
Entity * | parent
Matrix | mat
Matrix | rotmat
float | px
float | py
float | pz
float | sx
float | sy
float | sz
float | rx
float | ry
float | rz
float | qw
float | qx
float | qy
float | qz
Brush | brush
int | order
float | alpha_order
int | hide
float | cull_radius
string | name
string | class_name
int | anim
int | anim_render
int | anim_mode
float | anim_time
float | anim_speed
int | anim_seq
int | anim_trans
int | anim_dir
vector< int > | anim_seqs_first
vector< int > | anim_seqs_last
int | no_seqs
int | anim_update
int | anim_list
int | collision_type
float | radius_x
float | radius_y
float | box_x
float | box_y
float | box_z
float | box_w
float | box_h
float | box_d
int | no_collisions
vector< CollisionImpact * > | collision
float | old_x
float | old_y
float | old_z
float | old_pitch
float | old_yaw
float | old_roll
float | new_x
float | new_y
float | new_z
int | new_no
Matrix | old_mat
int | dynamic
float | dynamic_x
float | dynamic_y
float | dynamic_z
float | dynamic_yaw
float | dynamic_pitch
float | dynamic_roll
int | pick_mode
int | obscurer

## Additional Inherited Members

Static Public Member Functions inherited from Entity
static void | TFormPoint (float x, float y, float z, Entity *src_ent, Entity *dest_ent)
static void | TFormVector (float x, float y, float z, Entity *src_ent, Entity *dest_ent)
static void | TFormNormal (float x, float y, float z, Entity *src_ent, Entity *dest_ent)
static float | TFormedX ()
static float | TFormedY ()
static float | TFormedZ ()
static void | UpdateChildren (Entity *ent_p)
Static Public Attributes inherited from Entity
static list< Entity * > | entity_list
static list< Entity * > | animate_list
static float | tformed_x =0.0
static float | tformed_y =0.0
static float | tformed_z =0.0

## Constructor & Destructor Documentation

## § Bone()

Bone::Bone | ( |  | ) |

inline

## Member Function Documentation

## § CopyEntity()

Bone * Bone::CopyEntity | ( | Entity * | parent_ent = `NULL` | ) |

virtual

Implements Entity.

## § FreeEntity()

void Bone::FreeEntity | ( | void |  | ) |

virtual

Reimplemented from Entity.

## Member Data Documentation

## § inv_mat

Matrix Bone::inv_mat

## § keys

AnimationKeys* Bone::keys

## § kqw

float Bone::kqw

## § kqx

float Bone::kqx

## § kqy

float Bone::kqy

## § kqz

float Bone::kqz

## § kx

float Bone::kx

## § ky

float Bone::ky

## § kz

float Bone::kz

## § mat2

Matrix Bone::mat2

## § n_px

float Bone::n_px

## § n_py

float Bone::n_py

## § n_pz

float Bone::n_pz

## § n_qw

float Bone::n_qw

## § n_qx

float Bone::n_qx

## § n_qy

float Bone::n_qy

## § n_qz

float Bone::n_qz

## § n_rx

float Bone::n_rx

## § n_ry

float Bone::n_ry

## § n_rz

float Bone::n_rz

## § n_sx

float Bone::n_sx

## § n_sy

float Bone::n_sy

## § n_sz

float Bone::n_sz

## § tform_mat

Matrix Bone::tform_mat

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

- openb3dlib.mod/openb3d/src/bone.h
- openb3dlib.mod/openb3d/src/bone.cpp