32 #ifndef DaeHelpers_INCLUDE_ONCE 33 #define DaeHelpers_INCLUDE_ONCE 102 template<
class T_color_or_texture>
114 std::map< daeElementRef, ref<Dae::Effect> >
mEffects;
115 std::map< daeElementRef, ref<Dae::Mesh> >
mMeshes;
117 std::map< daeElementRef, ref<Dae::Source> >
mSources;
118 std::map< daeElementRef, ref<Image> >
mImages;
static Dae::EInputSemantic getSemantic(const char *semantic)
ResourceDatabase * resources()
An abstract class representing a file.
void bindMaterials(Dae::Node *dae_node, Dae::Mesh *dae_mesh, domBind_materialRef bind_material)
void parseImages(daeElement *library)
The String class implements an advanced UTF16 (Unicode BMP) string manipulation engine.
void loadImages(const domImage_Array &images)
ref< Light > parseLight(domLight *, Transform *)
Dae::Source * getSource(daeElement *source_el)
std::map< daeElementRef, ref< Dae::NewParam > > mDaeNewParams
void parseEffects(daeElement *library)
std::map< daeElementRef, ref< Dae::Mesh > > mMeshes
const LoadWriterDae::LoadOptions * mLoadOptions
const LoadWriterDae::LoadOptions * loadOptions() const
ref< ResourceDatabase > mResources
void setLoadOptions(const LoadWriterDae::LoadOptions *options)
Visualization Library main namespace.
static std::string percentDecode(const char *uri)
std::map< daeElementRef, ref< Dae::Source > > mSources
COLLADA color or texture input.
void generateGeometry(Dae::Primitive *primitive, const char *name)
void parseAsset(domElement *root)
std::map< daeElementRef, ref< Dae::Material > > mMaterials
void parseInputs(Dae::Primitive *dae_primitive, const domInputLocalOffset_Array &input_arr, const std::vector< ref< Dae::Input > > &vertex_inputs)
ref< Dae::Mesh > parseGeometry(daeElement *geometry)
void prepareTexture2D(Dae::Sampler2D *sampler2D)
static const char * getSemanticString(Dae::EInputSemantic semantic)
const ResourceDatabase * resources() const
void parseMaterials(daeElement *library)
Loading options used by LoadWriterDae and DaeLoader.
std::vector< ref< Light > > mLights
bool load(VirtualFile *file)
std::map< daeElementRef, ref< Image > > mImages
The ref<> class is used to reference-count an Object.
ref< Effect > setup_vl_Effect(Dae::Material *mat)
void parseNode(daeElement *el, Dae::Node *parent)
static ETexParamWrap translateWrapMode(domFx_sampler_wrap_common wrap)
std::vector< ref< Dae::Node > > mNodes
std::map< daeElementRef, ref< Dae::Effect > > mEffects
The ResourceDatabase class contains and manipulates a set of resources.
static ETexParamFilter translateSampleFilter(domFx_sampler_filter_common filter)
void parseColor(const domProfile_COMMON *common, const T_color_or_texture &color_or_texture, Dae::ColorOrTexture *out_col)