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-2008, 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://secondlifegrid.net/programs/open_source/licensing/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://secondlifegrid.net/programs/open_source/licensing/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 StringToOrder().

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

Here is the call graph for this function:

Here is the caller graph for this function:

const char* find_next_whitespace ( const char *  p  ) 

Definition at line 97 of file llbvhloader.cpp.

Referenced by LLBVHLoader::loadBVHFile().

Here is the caller graph for this function:


Variable Documentation

char gInFile[1024]

Definition at line 56 of file llbvhloader.cpp.

char gOutFile[1024]

Definition at line 57 of file llbvhloader.cpp.

Definition at line 50 of file llbvhloader.cpp.

Referenced by LLBVHLoader::optimize().

Definition at line 53 of file llbvhloader.cpp.

Referenced by LLBVHLoader::optimize().

Definition at line 51 of file llbvhloader.cpp.

Referenced by LLBVHLoader::optimize().

Definition at line 54 of file llbvhloader.cpp.

Referenced by LLBVHLoader::optimize().


Generated on Fri May 16 08:34:33 2008 for SecondLife by  doxygen 1.5.5