CGAL 5.5.2 - 3D Point Set
CGAL::IO Namespace Reference

Classes

class  Color
 
struct  PLY_property
 

Functions

std::tuple< PointMap, typename Kernel_traits< typename PointMap::value_type >::Kernel::Construct_point_3, LAS_property::X, LAS_property::Y, LAS_property::Z > make_las_point_reader (PointMap point_map)
 
bool read_LAS_with_properties (std::istream &is, PointOutputIterator output, PropertyHandler &&... properties)
 
bool read_LAS (std::istream &is, PointOutputIterator output, const NamedParameters &np=parameters::default_values())
 
bool read_LAS (const std::string &filename, PointOutputIterator output, const NamedParameters &np=parameters::default_values())
 
bool read_OFF (std::istream &is, PointOutputIterator output, const NamedParameters &np=parameters::default_values())
 
bool read_OFF (const std::string &fname, PointOutputIterator output, const NamedParameters &np=parameters::default_values())
 
std::tuple< PointMap, typename Kernel_traits< typename PointMap::value_type >::Kernel::Construct_point_3, PLY_property< FT >, PLY_property< FT >, PLY_property< FT > > make_ply_point_reader (PointMap point_map)
 
std::tuple< VectorMap, typename Kernel_traits< typename VectorMap::value_type >::Kernel::Construct_vector_3, PLY_property< FT >, PLY_property< FT >, PLY_property< FT > > make_ply_normal_reader (VectorMap normal_map)
 
bool read_PLY_with_properties (std::istream &is, PointOutputIterator output, PropertyHandler &&... properties)
 
bool read_PLY (std::istream &is, PointOutputIterator output, const NamedParameters &np=parameters::default_values())
 
bool read_PLY (const std::string &fname, PointOutputIterator output, const NamedParameters &np=parameters::default_values())
 
bool read_points (const std::string &fname, PointOutputIterator output, const NamedParameters &np=parameters::default_values())
 
std::tuple< PointMap, LAS_property::X, LAS_property::Y, LAS_property::Z > make_las_point_writer (PointMap point_map)
 
bool write_LAS_with_properties (std::ostream &os, const PointRange &points, std::tuple< PointMap, LAS_property::X, LAS_property::Y, LAS_property::Z > point_property, PropertyHandler &&... properties)
 
bool write_LAS (std::ostream &os, const PointRange &points, const NamedParameters &np=parameters::default_values())
 
bool write_LAS (const std::string &filename, const PointRange &points, const NamedParameters &np=parameters::default_values())
 
bool write_OFF (std::ostream &os, const PointRange &points, const NamedParameters &np=parameters::default_values())
 
bool write_OFF (const std::string &filename, const PointRange &points, const NamedParameters &np=parameters::default_values())
 
std::tuple< PointMap, PLY_property< FT >, PLY_property< FT >, PLY_property< FT > > make_ply_point_writer (PointMap point_map)
 
std::tuple< VectorMap, PLY_property< FT >, PLY_property< FT >, PLY_property< FT > > make_ply_normal_writer (VectorMap normal_map)
 
bool write_PLY_with_properties (std::ostream &os, const PointRange &points, PropertyHandler &&... properties)
 
bool write_PLY (std::ostream &os, const PointRange &points, const NamedParameters &np=parameters::default_values())
 
bool write_PLY (const std::string &filename, const PointRange &points, const NamedParameters &np=parameters::default_values())
 
bool write_points (const std::string &fname, const PointRange &points, const NamedParameters &np=parameters::default_values(),)
 
bool write_XYZ (std::ostream &os, const PointRange &points, const NamedParameters &np=parameters::default_values())
 
bool write_XYZ (const std::string &filename, const PointRange &points, const NamedParameters &np=parameters::default_values())
 
bool read_3MF (const std::string &filename, std::vector< CGAL::Surface_mesh< Point > > &output)
 
bool read_OFF (std::istream &is, Surface_mesh< Point > &sm, const NamedParameters &np=parameters::default_values())
 
bool read_OFF (const std::string &fname, Surface_mesh< Point > &sm, const NamedParameters &np=parameters::default_values())
 
bool write_OFF (std::ostream &os, const Surface_mesh< Point > &sm, const NamedParameters &np=parameters::default_values())
 
bool read_PLY (std::istream &is, Surface_mesh< P > &sm, std::string &comments, bool verbose=true)
 
bool write_PLY (std::ostream &os, const Surface_mesh< P > &sm, const std::string &comments, const NamedParameters &np=parameters::default_values())
 
template<typename Point , typename Vector , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool read_point_set (const std::string &fname, CGAL::Point_set_3< Point, Vector > &ps, const NamedParameters &np=parameters::default_values())
 reads the point set from an input file. More...
 
template<typename Point , typename Vector , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool write_point_set (const std::string &fname, CGAL::Point_set_3< Point, Vector > &ps, const NamedParameters &np=parameters::default_values())
 writes the point set in an output file. More...
 
template<typename Point , typename Vector >
bool read_LAS (std::istream &is, CGAL::Point_set_3< Point, Vector > &point_set)
 reads the content of an intput stream in the LAS (Lidar) File Format into a point set. More...
 
template<typename Point , typename Vector >
bool read_LAS (const std::string &fname, CGAL::Point_set_3< Point, Vector > &point_set)
 reads the content of an intput file in the LAS (Lidar) File Format into a point set. More...
 
template<typename Point , typename Vector >
bool write_LAS (std::ostream &os, CGAL::Point_set_3< Point, Vector > &point_set)
 writes the content of a point set into an output stream in the LAS (Lidar) File Format. More...
 
template<typename Point , typename Vector >
bool write_LAS (const std::string &fname, CGAL::Point_set_3< Point, Vector > &point_set)
 writes the content of a point set into an output file in the LAS (Lidar) File Format. More...
 
template<typename Point , typename Vector >
bool read_OFF (std::istream &is, CGAL::Point_set_3< Point, Vector > &point_set)
 reads the content of an intput stream in the Object File Format (OFF) into a point set. More...
 
template<typename Point , typename Vector >
bool read_OFF (const std::string &fname, CGAL::Point_set_3< Point, Vector > &point_set)
 reads the content of an input file in the Object File Format (OFF) into a point set. More...
 
template<typename Point , typename Vector , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool write_OFF (std::ostream &os, const CGAL::Point_set_3< Point, Vector > &point_set, const NamedParameters &np=parameters::default_values())
 writes the content of a point set into an output stream in the Object File Format (OFF). More...
 
template<typename Point , typename Vector , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool write_OFF (const std::string &fname, const CGAL::Point_set_3< Point, Vector > &point_set, const NamedParameters &np=parameters::default_values())
 writes the content of a point set into an output file in the Object File Format (OFF). More...
 
template<typename Point , typename Vector >
bool read_PLY (std::istream &is, CGAL::Point_set_3< Point, Vector > &point_set, std::string &comments)
 reads a point set with properties from an input stream in ASCII or binary Polygon File Format (PLY). More...
 
template<typename Point , typename Vector , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool read_PLY (const std::string &fname, CGAL::Point_set_3< Point, Vector > &point_set, std::string &comments, const NamedParameters &np=parameters::default_values())
 reads a point set with properties from an input stream in ASCII or binary Polygon File Format (PLY). More...
 
template<typename Point , typename Vector , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool write_PLY (std::ostream &os, const CGAL::Point_set_3< Point, Vector > &point_set, const std::string &comments, const NamedParameters &np=parameters::default_values())
 writes a point set with properties in an output stream in the Polygon File Format (PLY). More...
 
template<typename Point , typename Vector , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool write_PLY (const std::string &fname, const CGAL::Point_set_3< Point, Vector > &point_set, const std::string &comments, const NamedParameters &np)
 writes a point set with properties in an output stream in the Polygon File Format (PLY). More...
 
template<typename Point , typename Vector >
bool read_XYZ (std::istream &is, CGAL::Point_set_3< Point, Vector > &point_set)
 reads the content of an intput stream in the XYZ File Format into a point set. More...
 
template<typename Point , typename Vector >
bool read_XYZ (const std::string &fname, CGAL::Point_set_3< Point, Vector > &point_set)
 reads the content of an input file in the XYZ File Format into a point set. More...
 
template<typename Point , typename Vector , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool write_XYZ (std::ostream &os, const CGAL::Point_set_3< Point, Vector > &point_set, const NamedParameters &np=parameters::default_values())
 writes the content of a point set into an output stream in the XYZ File Format. More...
 
template<typename Point , typename Vector , typename NamedParameters = CGAL::parameters::Default_named_parameters>
bool write_XYZ (const std::string &fname, const CGAL::Point_set_3< Point, Vector > &point_set, const NamedParameters &np=parameters::default_values())
 writes the content of a point set into an output file in the XYZ File Format. More...