llbvhloader.cpp File Reference

Translates a BVH files to LindenLabAnimation format. More...

#include "linden_common.h"
#include "llbvhloader.h"
#include <boost/tokenizer.hpp>
#include "lldatapacker.h"
#include "lldir.h"
#include "llkeyframemotion.h"
#include "llquantize.h"
#include "llstl.h"
#include "llapr.h"

Include dependency graph for llbvhloader.cpp:

Go to the source code of this file.

Defines

#define INCHES_TO_METERS   0.02540005f

Functions

const char * find_next_whitespace (const char *p)
LLQuaternion::Order bvhStringToOrder (char *str)

Variables

const F32 POSITION_KEYFRAME_THRESHOLD = 0.03f
const F32 ROTATION_KEYFRAME_THRESHOLD = 0.01f
const F32 POSITION_MOTION_THRESHOLD = 0.001f
const F32 ROTATION_MOTION_THRESHOLD = 0.001f
char gInFile [1024]
char gOutFile [1024]


Detailed Description

Translates a BVH files to LindenLabAnimation format.

LicenseInfo
firstyear=2004&license=viewergpl

Copyright (c) 2004-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llbvhloader.cpp.


Define Documentation

#define INCHES_TO_METERS   0.02540005f

Definition at line 48 of file llbvhloader.cpp.

Referenced by LLBVHLoader::serialize().


Function Documentation

LLQuaternion::Order bvhStringToOrder ( char *  str  ) 

Definition at line 112 of file llbvhloader.cpp.

References order, and StringToOrder().

Referenced by LLBVHLoader::optimize(), and LLBVHLoader::serialize().

const char* find_next_whitespace ( const char *  p  ) 

Definition at line 97 of file llbvhloader.cpp.

Referenced by LLBVHLoader::loadBVHFile().


Variable Documentation

char gInFile[1024]

Definition at line 56 of file llbvhloader.cpp.

char gOutFile[1024]

Definition at line 57 of file llbvhloader.cpp.

const F32 POSITION_KEYFRAME_THRESHOLD = 0.03f

Definition at line 50 of file llbvhloader.cpp.

Referenced by LLBVHLoader::optimize().

const F32 POSITION_MOTION_THRESHOLD = 0.001f

Definition at line 53 of file llbvhloader.cpp.

Referenced by LLBVHLoader::optimize().

const F32 ROTATION_KEYFRAME_THRESHOLD = 0.01f

Definition at line 51 of file llbvhloader.cpp.

Referenced by LLBVHLoader::optimize().

const F32 ROTATION_MOTION_THRESHOLD = 0.001f

Definition at line 54 of file llbvhloader.cpp.

Referenced by LLBVHLoader::optimize().


Generated on Thu Jul 1 06:10:06 2010 for Second Life Viewer by  doxygen 1.4.7