Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

NVMeshMender Class Reference

#include <NVMeshMender.h>

List of all members.

Public Types

typedef std::vector< VertexAttributeVAVector
enum  Option {
  FixTangents, DontFixTangents, FixCylindricalTexGen, DontFixCylindricalTexGen,
  WeightNormalsByFaceSize, DontWeightNormalsByFaceSize
}

Public Member Functions

void SetLastError (const std::string &rhs) const
std::string GetLastError () const
bool Munge (const NVMeshMender::VAVector &input, NVMeshMender::VAVector &output, const float bSmoothCreaseAngleRadians=3.141592654f/3.0f, const float *pTextureMatrix=0, const Option _FixTangents=FixTangents, const Option _FixCylindricalTexGen=FixCylindricalTexGen, const Option _WeightNormalsByFaceSize=WeightNormalsByFaceSize)
bool MungeD3DX (const NVMeshMender::VAVector &input, NVMeshMender::VAVector &output, const float bSmoothCreaseAngleRadians=3.141592654f/3.0f, const float *pTextureMatrix=0, const Option _FixTangents=FixTangents, const Option _FixCylindricalTexGen=FixCylindricalTexGen, const Option _WeightNormalsByFaceSize=WeightNormalsByFaceSize)

Private Attributes

std::vector< std::string > LastErrors_

Classes

struct  Edge
struct  VertexAttribute


Detailed Description

Definition at line 132 of file NVMeshMender.h.


Member Typedef Documentation

typedef std::vector< VertexAttribute > NVMeshMender::VAVector
 

Definition at line 224 of file NVMeshMender.h.


Member Enumeration Documentation

enum NVMeshMender::Option
 

Enumerator:
FixTangents 
DontFixTangents 
FixCylindricalTexGen 
DontFixCylindricalTexGen 
WeightNormalsByFaceSize 
DontWeightNormalsByFaceSize 

Definition at line 226 of file NVMeshMender.h.


Member Function Documentation

std::string NVMeshMender::GetLastError  )  const [inline]
 

Definition at line 175 of file NVMeshMender.h.

References LastErrors_.

bool NVMeshMender::Munge const NVMeshMender::VAVector input,
NVMeshMender::VAVector output,
const float  bSmoothCreaseAngleRadians = 3.141592654f/3.0f,
const float *  pTextureMatrix = 0,
const Option  _FixTangents = FixTangents,
const Option  _FixCylindricalTexGen = FixCylindricalTexGen,
const Option  _WeightNormalsByFaceSize = WeightNormalsByFaceSize
 

Definition at line 105 of file NVMeshMender.cpp.

References DontWeightNormalsByFaceSize, dot(), NVMeshMender::Edge::face, FixCylindricalTexGen, FixTangents, NVMeshMender::VertexAttribute::Name_, normalize(), vec3::normalize(), nv_eps, nv_max(), nv_min(), nv_zero, SetLastError(), NVMeshMender::Edge::v0, NVMeshMender::Edge::v1, vec3_null, vec3::x, vec3::y, and vec3::z.

Here is the call graph for this function:

bool NVMeshMender::MungeD3DX const NVMeshMender::VAVector input,
NVMeshMender::VAVector output,
const float  bSmoothCreaseAngleRadians = 3.141592654f/3.0f,
const float *  pTextureMatrix = 0,
const Option  _FixTangents = FixTangents,
const Option  _FixCylindricalTexGen = FixCylindricalTexGen,
const Option  _WeightNormalsByFaceSize = WeightNormalsByFaceSize
 

void NVMeshMender::SetLastError const std::string &  rhs  )  const [inline]
 

Definition at line 170 of file NVMeshMender.h.

References LastErrors_.

Referenced by Munge().


Member Data Documentation

std::vector< std::string > NVMeshMender::LastErrors_ [mutable, private]
 

Definition at line 136 of file NVMeshMender.h.

Referenced by GetLastError(), and SetLastError().


The documentation for this class was generated from the following files:
Generated on Thu Apr 6 15:39:32 2006 for rcssserver3d by  doxygen 1.4.4