Assimp
v4.1. (December 2018)
|
Namespaces | |
Structure | |
Classes | |
struct | Base |
class | BlenderModifier |
Dummy base class for all blender modifiers. More... | |
class | BlenderModifier_Mirror |
Mirror modifier. More... | |
class | BlenderModifier_Subdivision |
Subdivision modifier. More... | |
class | BlenderModifierShowcase |
Manage all known modifiers and instance and apply them if necessary. More... | |
struct | Camera |
struct | ConversionData |
ConversionData acts as intermediate storage location for the various ConvertXXX routines in BlenderImporter. More... | |
struct | CustomData |
struct | CustomDataLayer |
struct | CustomDataTypeDescription |
describes the size of data and the read function to be used for single CustomerData.type More... | |
class | DNA |
Represents the full data structure information for a single BLEND file. More... | |
class | DNAParser |
Factory to extract a #DNA from the DNA1 file block in a BLEND file. More... | |
struct | ElemBase |
The only purpose of this structure is to feed a virtual dtor into its descendents. More... | |
struct | Error |
Exception class used by the blender loader to selectively catch exceptions thrown in its own code (DeadlyImportErrors thrown in general utility functions are untouched then). More... | |
struct | Field |
Represents a single member of a data structure in a BLEND file. More... | |
struct | FileBlockHead |
Describes a master file block header. More... | |
class | FileDatabase |
Memory representation of a full BLEND file and all its dependencies. More... | |
struct | FileOffset |
Represents a generic offset within a BLEND file. More... | |
struct | Group |
struct | GroupObject |
struct | ID |
struct | Image |
struct | Lamp |
struct | Library |
struct | ListBase |
struct | Material |
struct | MCol |
struct | MDeformVert |
struct | MDeformWeight |
struct | MEdge |
struct | Mesh |
struct | MFace |
struct | MirrorModifierData |
struct | MLoop |
struct | MLoopCol |
struct | MLoopUV |
struct | ModifierData |
struct | MPoly |
struct | MTex |
struct | MTexPoly |
struct | MTFace |
struct | MVert |
struct | Object |
class | ObjectCache |
The object cache - all objects addressed by pointers are added here. More... | |
class | ObjectCache< Blender::vector > |
struct | ObjectCompare |
struct | PackedFile |
struct | PlaneP2T |
struct | Pointer |
Represents a generic pointer to a memory location, which can be either 32 or 64 bits. More... | |
struct | PointP2T |
struct | Scene |
class | SectionParser |
Utility to read all master file blocks in turn. More... | |
struct | signless |
struct | signless< char > |
struct | signless< int > |
struct | signless< short > |
struct | signless< unsigned char > |
struct | static_cast_silent |
struct | static_cast_silent< double > |
struct | static_cast_silent< float > |
class | Statistics |
Import statistics, i.e. More... | |
class | Structure |
Represents a data structure in a BLEND file. More... | |
struct | SubsurfModifierData |
struct | TempArray |
Mini smart-array to avoid pulling in even more boost stuff. More... | |
struct | Tex |
struct | TFace |
class | vector |
Dummy derivate of std::vector to be able to use it in templates simultaenously with std::shared_ptr, which takes only one template argument while std::vector takes three. More... | |
struct | World |
Typedefs | |
typedef std::set< const Object *, ObjectCompare > | ObjectSet |
typedef ElemBase *(* | PCreate) (const size_t cnt) |
typedef void(* | PDestroy) (ElemBase *) |
typedef bool(* | PRead) (ElemBase *pOut, const size_t cnt, const FileDatabase &db) |
pointer to function read memory for n CustomData types More... | |
Functions | |
template<typename T > | |
void | ConvertDispatcher (T &out, const Structure &in, const FileDatabase &db) |
std::shared_ptr< CustomDataLayer > | getCustomDataLayer (const CustomData &customdata, CustomDataType cdtype, const std::string &name) |
returns CustomDataLayer ptr for given cdtype and name More... | |
const ElemBase * | getCustomDataLayerData (const CustomData &customdata, CustomDataType cdtype, const std::string &name) |
returns CustomDataLayer data ptr for given cdtype and name More... | |
const char * | GetTextureTypeDisplayString (Tex::Type t) |
bool | isValidCustomDataType (const int cdtype) |
check if given cdtype is valid (ie >= 0 and < CD_NUMTYPES) More... | |
bool | operator< (const Pointer &a, const Pointer &b) |
template<typename T > | |
bool | read (const Structure &s, T *p, const size_t cnt, const FileDatabase &db) |
read/convert of Structure array to memory More... | |
bool | readCustomData (std::shared_ptr< ElemBase > &out, int cdtype, size_t cnt, const FileDatabase &db) |
read CustomData's data to ptr to mem More... | |
template<> | |
bool | Structure ::ResolvePointer< std::shared_ptr, ElemBase > (std::shared_ptr< ElemBase > &out, const Pointer &ptrval, const FileDatabase &db, const Field &f, bool) const |
Variables | |
std::array< CustomDataTypeDescription, CD_NUMTYPES > | customDataTypeDescriptions |
descriptors for data pointed to from CustomDataLayer.data More... | |
static const size_t | MaxNameLen = 1024 |
typedef std::set<const Object*, ObjectCompare> Assimp::Blender::ObjectSet |
typedef ElemBase*(* Assimp::Blender::PCreate) (const size_t cnt) |
typedef void(* Assimp::Blender::PDestroy) (ElemBase *) |
typedef bool(* Assimp::Blender::PRead) (ElemBase *pOut, const size_t cnt, const FileDatabase &db) |
pointer to function read memory for n CustomData types
Range of possible behaviours for fields absend in the input file.
Some are mission critical so we need them, while others can silently be default initialized and no animations are harmed.
|
inline |
std::shared_ptr< CustomDataLayer > Assimp::Blender::getCustomDataLayer | ( | const CustomData & | customdata, |
CustomDataType | cdtype, | ||
const std::string & | name | ||
) |
returns CustomDataLayer ptr for given cdtype and name
[in] | customdata | CustomData to search for wanted layer |
[in] | cdtype | to search for |
[in] | name | to search for |
const ElemBase * Assimp::Blender::getCustomDataLayerData | ( | const CustomData & | customdata, |
CustomDataType | cdtype, | ||
const std::string & | name | ||
) |
returns CustomDataLayer data ptr for given cdtype and name
[in] | customdata | CustomData to search for wanted layer |
[in] | cdtype | to search for |
[in] | name | to search for |
|
inline |
bool Assimp::Blender::isValidCustomDataType | ( | const int | cdtype | ) |
check if given cdtype is valid (ie >= 0 and < CD_NUMTYPES)
[in] | cdtype | to check |
bool Assimp::Blender::read | ( | const Structure & | s, |
T * | p, | ||
const size_t | cnt, | ||
const FileDatabase & | db | ||
) |
read/convert of Structure array to memory
bool Assimp::Blender::readCustomData | ( | std::shared_ptr< ElemBase > & | out, |
int | cdtype, | ||
size_t | cnt, | ||
const FileDatabase & | db | ||
) |
read CustomData's data to ptr to mem
[out] | out | memory ptr to set |
[in] | cdtype | to read |
[in] | cnt | cnt of elements to read |
[in] | db | to read elements from |
|
inline |
std::array<CustomDataTypeDescription, CD_NUMTYPES> Assimp::Blender::customDataTypeDescriptions |
descriptors for data pointed to from CustomDataLayer.data
|
static |