|
#define | MR_FORMAT_REGISTRY_EXTERNAL_DECL(API_ATTR, ProcName) |
|
#define | MR_FORMAT_REGISTRY_DECL(ProcName) MR_FORMAT_REGISTRY_EXTERNAL_DECL( MRMESH_API, ProcName ) |
|
#define | MR_FORMAT_REGISTRY_IMPL(ProcName) |
|
#define | MR_ADD_MESH_LOADER(filter, loader) MR_ON_INIT { using namespace MR::MeshLoad; setMeshLoader( filter, { static_cast<MeshFileLoader>( loader ), static_cast<MeshStreamLoader>( loader ) } ); }; |
| Register filter with loader function.
|
|
#define | MR_ADD_MESH_LOADER_WITH_PRIORITY(filter, loader, priority) MR_ON_INIT { using namespace MR::MeshLoad; setMeshLoader( filter, { static_cast<MeshFileLoader>( loader ), static_cast<MeshStreamLoader>( loader ) }, priority ); }; |
|
#define | MR_ADD_MESH_SAVER(filter, saver) MR_ON_INIT { using namespace MR::MeshSave; setMeshSaver( filter, { static_cast<MeshFileSaver>( saver ), static_cast<MeshStreamSaver>( saver ) } ); }; |
|
#define | MR_ADD_MESH_SAVER_WITH_PRIORITY(filter, saver, priority) MR_ON_INIT { using namespace MR::MeshSave; setMeshSaver( filter, { static_cast<MeshFileSaver>( saver ), static_cast<MeshStreamSaver>( saver ) }, priority ); }; |
|
#define | MR_ADD_LINES_LOADER(filter, loader) MR_ON_INIT { using namespace MR::LinesLoad; setLinesLoader( filter, { static_cast<LinesFileLoader>( loader ), static_cast<LinesStreamLoader>( loader ) } ); }; |
|
#define | MR_ADD_LINES_LOADER_WITH_PRIORITY(filter, loader, priority) MR_ON_INIT { using namespace MR::LinesLoad; setLinesLoader( filter, { static_cast<LinesFileLoader>( loader ), static_cast<LinesStreamLoader>( loader ) }, priority ); }; |
|
#define | MR_ADD_LINES_SAVER(filter, saver) MR_ON_INIT { using namespace MR::LinesSave; setLinesSaver( filter, { static_cast<LinesFileSaver>( saver ), static_cast<LinesStreamSaver>( saver ) } ); }; |
|
#define | MR_ADD_LINES_SAVER_WITH_PRIORITY(filter, saver, priority) MR_ON_INIT { using namespace MR::LinesSave; setLinesSaver( filter, { static_cast<LinesFileSaver>( saver ), static_cast<LinesStreamSaver>( saver ) }, priority ); }; |
|
#define | MR_ADD_POINTS_LOADER(filter, loader) MR_ON_INIT { using namespace MR::PointsLoad; setPointsLoader( filter, { static_cast<PointsFileLoader>( loader ), static_cast<PointsStreamLoader>( loader ) } ); }; |
|
#define | MR_ADD_POINTS_SAVER(filter, saver) MR_ON_INIT { using namespace MR::PointsSave; setPointsSaver( filter, { static_cast<PointsFileSaver>( saver ), static_cast<PointsStreamSaver>( saver ) } ); }; |
|
#define | MR_ADD_IMAGE_LOADER(filter, loader) MR_ON_INIT { using namespace MR::ImageLoad; setImageLoader( filter, loader ); }; |
|
#define | MR_ADD_IMAGE_LOADER_WITH_PRIORITY(filter, loader, priority) MR_ON_INIT { using namespace MR::ImageLoad; setImageLoader( filter, loader, priority ); }; |
|
#define | MR_ADD_IMAGE_SAVER(filter, saver) MR_ON_INIT { using namespace MR::ImageSave; setImageSaver( filter, saver ); }; |
|
#define | MR_ADD_IMAGE_SAVER_WITH_PRIORITY(filter, saver, priority) MR_ON_INIT { using namespace MR::ImageSave; setImageSaver( filter, saver, priority ); }; |
|
#define | MR_ADD_OBJECT_LOADER(filter, loader) MR_ON_INIT { using namespace MR::ObjectLoad; setObjectLoader( filter, loader ); }; |
|
#define | MR_ADD_OBJECT_SAVER(filter, saver) MR_ON_INIT { using namespace MR::ObjectSave; setObjectSaver( filter, saver ); }; |
|
#define | MR_ADD_SCENE_LOADER(filter, loader) MR_ON_INIT { using namespace MR::SceneLoad; setSceneLoader( filter, loader ); }; |
|
#define | MR_ADD_SCENE_LOADER_WITH_PRIORITY(filter, loader, priority) MR_ON_INIT { using namespace MR::SceneLoad; setSceneLoader( filter, loader, priority ); }; |
|
#define | MR_ADD_SCENE_SAVER(filter, saver) MR_ON_INIT { using namespace MR::SceneSave; setSceneSaver( filter, saver ); }; |
|
#define | MR_ADD_SCENE_SAVER_WITH_PRIORITY(filter, saver, priority) MR_ON_INIT { using namespace MR::SceneSave; setSceneSaver( filter, saver, priority ); }; |
|
|
using | MR::MeshLoad::MeshFileLoader = Expected<MR::Mesh>( * )( const std::filesystem::path&, const MeshLoadSettings& ) |
|
using | MR::MeshLoad::MeshStreamLoader = Expected<MR::Mesh>( * )( std::istream&, const MeshLoadSettings& ) |
|
using | MR::MeshSave::MeshFileSaver = Expected<void>( * )( const Mesh&, const std::filesystem::path&, const SaveSettings& ) |
|
using | MR::MeshSave::MeshStreamSaver = Expected<void>( * )( const Mesh&, std::ostream&, const SaveSettings& ) |
|
using | MR::LinesLoad::LinesFileLoader = Expected<Polyline3>( * )( const std::filesystem::path&, ProgressCallback ) |
|
using | MR::LinesLoad::LinesStreamLoader = Expected<Polyline3>( * )( std::istream&, ProgressCallback ) |
|
using | MR::LinesSave::LinesFileSaver = Expected<void>( * )( const Polyline3&, const std::filesystem::path&, const SaveSettings& ) |
|
using | MR::LinesSave::LinesStreamSaver = Expected<void>( * )( const Polyline3&, std::ostream&, const SaveSettings& ) |
|
using | MR::PointsLoad::PointsFileLoader = Expected<PointCloud>( * )( const std::filesystem::path&, const PointsLoadSettings& ) |
|
using | MR::PointsLoad::PointsStreamLoader = Expected<PointCloud>( * )( std::istream&, const PointsLoadSettings& ) |
|
using | MR::PointsSave::PointsFileSaver = Expected<void>( * )( const PointCloud&, const std::filesystem::path&, const SaveSettings& ) |
|
using | MR::PointsSave::PointsStreamSaver = Expected<void>( * )( const PointCloud&, std::ostream&, const SaveSettings& ) |
|
using | MR::ImageLoad::ImageLoader = Expected<Image>( * )( const std::filesystem::path& ) |
|
using | MR::ImageSave::ImageSaver = Expected<void>( * )( const Image&, const std::filesystem::path& ) |
|
using | MR::ObjectPtr = std::shared_ptr<Object> |
|
using | MR::ObjectLoad::ObjectLoader = Expected<std::vector<ObjectPtr>>( * )( const std::filesystem::path&, std::string*, ProgressCallback ) |
|
using | MR::ObjectSave::ObjectSaver = Expected<void>( * )( const Object&, const std::filesystem::path&, const ProgressCallback& ) |
|
using | MR::AsyncObjectLoad::PostLoadCallback = std::function<void ( Expected<std::vector<ObjectPtr>> )> |
|
using | MR::AsyncObjectLoad::ObjectLoader = void( * )( const std::filesystem::path&, std::string*, PostLoadCallback, ProgressCallback ) |
|
using | MR::SceneLoad::SceneLoader = Expected<ObjectPtr>( * )( const std::filesystem::path&, std::string*, ProgressCallback ) |
|
using | MR::SceneSave::SceneSaver = Expected<void>( * )( const Object&, const std::filesystem::path&, ProgressCallback ) |
|