10#ifndef MVE_PLY_FILE_HEADER
11#define MVE_PLY_FILE_HEADER
52 bool format_binary =
true;
53 bool write_vertex_colors =
true;
54 bool write_vertex_normals =
false;
55 bool write_vertex_confidences =
true;
56 bool write_vertex_values =
true;
57 bool write_face_colors =
true;
58 bool write_face_normals =
false;
59 unsigned int verts_per_simplex = 3;
99 std::string
const& depthmap, std::string
const& confidence,
100 std::string
const& color_image);
114save_xf_file (std::string
const& filename,
float const* ctw);
167ply_read_value (std::istream& input, PLYFormat format);
std::shared_ptr< Image< T > const > ConstPtr
std::shared_ptr< TriangleMesh const > ConstPtr
std::shared_ptr< View > Ptr
#define MVE_NAMESPACE_BEGIN
#define MVE_NAMESPACE_END
#define MVE_GEOM_NAMESPACE_END
#define MVE_GEOM_NAMESPACE_BEGIN
TriangleMesh::Ptr load_ply_mesh(std::string const &filename)
Loads a triangle mesh from a PLY model file.
void load_xf_file(std::string const &filename, float *ctw)
Load XF file, typically with camera to world transformation.
FloatImage::Ptr load_ply_depthmap(std::string const &filename)
Loads a depth map from a PLY file.
void save_ply_view(std::string const &filename, CameraInfo const &camera, FloatImage::ConstPtr depth_map, FloatImage::ConstPtr confidence_map, ByteImage::ConstPtr color_image)
Stores a scanalize-compatible PLY file from a depth map.
PLYFaceProperty
PLY face element properties.
void save_ply_mesh(TriangleMesh::ConstPtr mesh, std::string const &filename, SavePLYOptions const &options)
Stores a PLY file from a triangle mesh.
PLYFormat
PLY data encoding formats.
PLYVertexProperty
PLY vertex element properties.
void save_xf_file(std::string const &filename, CameraInfo const &camera)
Stores a scanalyze compatible XF file with camera transformation from camera to world coordinates.
Per-view camera information with various helper functions.
Options struct for saving PLY files.