Assimp
v4.1. (December 2018)
|
Functions | |
static bool | BoneCompare (Bone *a, Bone *b) |
static AI_FORCE_INLINE bool | EndsWith (const std::string &s, const std::string &suffix, bool caseSensitive=true) |
Returns if s ends with suffix . If caseSensitive is false, both strings will be lower cased before matching. More... | |
static AI_FORCE_INLINE std::string | NextAfterNewLine (std::stringstream &ss, std::string &nextElement) |
Skips a line and reads next element from ss to nextElement . More... | |
template<> | |
std::string | OgreXmlSerializer::ReadAttribute< std::string > (const char *name) const |
static AI_FORCE_INLINE std::string | SkipLine (std::stringstream &ss) |
Skips a line from current @ss position until a newline. Returns the skipped part. More... | |
AI_WONT_RETURN void | ThrowAttibuteError (const XmlReader *reader, const std::string &name, const std::string &error="") AI_WONT_RETURN_SUFFIX |
static AI_FORCE_INLINE std::string | ToLower (std::string s) |
Returns a lower cased copy of @s. More... | |
static AI_FORCE_INLINE std::string & | Trim (std::string &s, bool newlines=true) |
Trim from both ends. More... | |
static AI_FORCE_INLINE std::string & | TrimLeft (std::string &s, bool newlines=true) |
Trim from start. More... | |
static AI_FORCE_INLINE std::string & | TrimRight (std::string &s, bool newlines=true) |
Trim from end. More... | |
Variables | |
static const char * | anX = "x" |
static const char * | anY = "y" |
static const char * | anZ = "z" |
const unsigned short | HEADER_CHUNK_ID = 0x1000 |
const std::string | MESH_VERSION_1_8 = "[MeshSerializer_v1.8]" |
const long | MSTREAM_BONE_SIZE_WITHOUT_SCALE = MSTREAM_OVERHEAD_SIZE + sizeof(unsigned short) + (sizeof(float) * 7) |
const long | MSTREAM_KEYFRAME_SIZE_WITHOUT_SCALE = MSTREAM_OVERHEAD_SIZE + (sizeof(float) * 8) |
const long | MSTREAM_OVERHEAD_SIZE = sizeof(uint16_t) + sizeof(uint32_t) |
static const char * | nnAnimation = "animation" |
static const char * | nnAnimationLinks = "animationlinks" |
static const char * | nnAnimations = "animations" |
static const char * | nnAxis = "axis" |
static const char * | nnBinormal = "binormal" |
static const char * | nnBone = "bone" |
static const char * | nnBoneAssignments = "boneassignments" |
static const char * | nnBoneHierarchy = "bonehierarchy" |
static const char * | nnBoneParent = "boneparent" |
static const char * | nnBones = "bones" |
static const char * | nnColorDiffuse = "colour_diffuse" |
static const char * | nnColorSpecular = "colour_specular" |
static const char * | nnExtremes = "extremes" |
static const char * | nnFace = "face" |
static const char * | nnFaces = "faces" |
static const char * | nnGeometry = "geometry" |
static const char * | nnKeyFrame = "keyframe" |
static const char * | nnKeyFrames = "keyframes" |
static const char * | nnLOD = "levelofdetail" |
static const char * | nnMesh = "mesh" |
static const char * | nnNormal = "normal" |
static const char * | nnPoses = "poses" |
static const char * | nnPosition = "position" |
static const char * | nnRotate = "rotate" |
static const char * | nnRotation = "rotation" |
static const char * | nnScale = "scale" |
static const char * | nnSharedGeometry = "sharedgeometry" |
static const char * | nnSkeleton = "skeleton" |
static const char * | nnSkeletonLink = "skeletonlink" |
static const char * | nnSubMesh = "submesh" |
static const char * | nnSubMeshes = "submeshes" |
static const char * | nnSubMeshNames = "submeshnames" |
static const char * | nnTangent = "tangent" |
static const char * | nnTexCoord = "texcoord" |
static const char * | nnTextures = "textures" |
static const char * | nnTrack = "track" |
static const char * | nnTracks = "tracks" |
static const char * | nnTranslate = "translate" |
static const char * | nnVertex = "vertex" |
static const char * | nnVertexBoneAssignment = "vertexboneassignment" |
static const char * | nnVertexBuffer = "vertexbuffer" |
static const string | partBlockEnd = "}" |
static const string | partBlockStart = "{" |
static const string | partComment = "//" |
const std::string | SKELETON_VERSION_1_1 = "[Serializer_v1.10]" |
const std::string | SKELETON_VERSION_1_8 = "[Serializer_v1.80]" |
typedef std::vector<Animation*> Assimp::Ogre::AnimationList |
typedef std::map<uint16_t, std::vector<aiVertexWeight> > Assimp::Ogre::AssimpVertexBoneWeightList |
typedef std::vector<Bone*> Assimp::Ogre::BoneList |
typedef std::shared_ptr<MemoryStream> Assimp::Ogre::MemoryStreamPtr |
typedef std::shared_ptr<MemoryStreamReader> Assimp::Ogre::MemoryStreamReaderPtr |
typedef std::vector<MorphKeyFrame> Assimp::Ogre::MorphKeyFrameList |
typedef std::vector<PoseKeyFrame> Assimp::Ogre::PoseKeyFrameList |
typedef std::vector<Pose*> Assimp::Ogre::PoseList |
typedef std::vector<PoseRef> Assimp::Ogre::PoseRefList |
typedef std::vector<SubMesh*> Assimp::Ogre::SubMeshList |
typedef std::vector<SubMeshXml*> Assimp::Ogre::SubMeshXmlList |
typedef std::vector<TransformKeyFrame> Assimp::Ogre::TransformKeyFrameList |
typedef std::vector<VertexAnimationTrack> Assimp::Ogre::VertexAnimationTrackList |
typedef std::vector<VertexBoneAssignment> Assimp::Ogre::VertexBoneAssignmentList |
typedef std::map<uint32_t, VertexBoneAssignmentList > Assimp::Ogre::VertexBoneAssignmentsMap |
typedef std::map<uint16_t, MemoryStreamPtr> Assimp::Ogre::VertexBufferBindings |
typedef std::vector<VertexElement> Assimp::Ogre::VertexElementList |
typedef std::shared_ptr<XmlReader> Assimp::Ogre::XmlReaderPtr |
|
static |
Returns if s
ends with suffix
. If caseSensitive
is false, both strings will be lower cased before matching.
|
static |
Skips a line and reads next element from ss
to nextElement
.
std::string Assimp::Ogre::OgreXmlSerializer::ReadAttribute< std::string > | ( | const char * | name | ) | const |
|
static |
Skips a line from current @ss position until a newline. Returns the skipped part.
AI_WONT_RETURN void Assimp::Ogre::ThrowAttibuteError | ( | const XmlReader * | reader, |
const std::string & | name, | ||
const std::string & | error = "" |
||
) |
|
static |
Returns a lower cased copy of @s.
|
static |
Trim from both ends.
|
static |
Trim from start.
|
static |
Trim from end.
|
static |
|
static |
|
static |
const unsigned short Assimp::Ogre::HEADER_CHUNK_ID = 0x1000 |
const std::string Assimp::Ogre::MESH_VERSION_1_8 = "[MeshSerializer_v1.8]" |
const long Assimp::Ogre::MSTREAM_BONE_SIZE_WITHOUT_SCALE = MSTREAM_OVERHEAD_SIZE + sizeof(unsigned short) + (sizeof(float) * 7) |
const long Assimp::Ogre::MSTREAM_KEYFRAME_SIZE_WITHOUT_SCALE = MSTREAM_OVERHEAD_SIZE + (sizeof(float) * 8) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const std::string Assimp::Ogre::SKELETON_VERSION_1_1 = "[Serializer_v1.10]" |
const std::string Assimp::Ogre::SKELETON_VERSION_1_8 = "[Serializer_v1.80]" |