6 #ifndef COGS_IMPORTER_H 7 #define COGS_IMPORTER_H 19 struct SkeletonAction;
50 explicit Importer(
const std::string &filename);
58 bool LoadFile(
const std::string &filename);
63 [[nodiscard]]
size_t GetPointCloudCount()
const;
73 [[nodiscard]]
size_t GetScanCount()
const;
80 bool GetScan(
cogs::Scan &out_scan,
size_t id = 0)
const;
83 [[nodiscard]]
size_t GetMeshCount()
const;
90 bool GetMesh(
cogs::Mesh &out_meshmodel,
size_t id = 0)
const;
92 std::vector<cogs::Mesh> GetAllMeshes()
const;
95 [[nodiscard]] std::vector<std::string> GetMeshNames()
const;
102 bool GetMeshByName(
const std::string &name,
cogs::Mesh &out_meshmodel)
const;
105 [[nodiscard]] uint32_t GetSkeletonCount()
const;
112 bool GetSkeleton(
cogs::Skeleton &out_skeleton,
size_t id = 0)
const;
115 [[nodiscard]] std::vector<std::string> GetSkeletonNames()
const;
122 bool GetSkeletonByName(
const std::string &name,
cogs::Skeleton &out_skeleton)
const;
130 bool GetArmature(cogs::Armature &out_armature)
const;
137 bool GetAllSkeletonActions(std::vector<cogs::SkeletonAction> &out_actions)
const;
144 bool GetAllSkeletonActions(
const std::string &skeleton_name, std::vector<cogs::SkeletonAction> &out_actions)
const;
152 bool GetSkeletonActionByName(
const std::string &skeleton_name,
const std::string &action_name, cogs::SkeletonAction &out_action)
const;
A Mesh is structure containing a point-cloud a triangulation and a material. Not all of these are req...
Definition: Mesh.h:21
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition: AabbHierarchy.h:8
Management class for a set of data points in a 3D space.
Definition: PointCloud.h:32
3D Graph structure, usually representing topology of a 3D model.
Definition: Skeleton.h:22
Universal file importer for COGS structures.
Definition: Importer.h:45
Set of 3D data points which are additionally organized over 2D grid.
Definition: Scan.h:22