overrides
This commit is contained in:
@@ -87,16 +87,16 @@ public:
|
||||
|
||||
virtual ~_OBJReader_() { }
|
||||
|
||||
std::string get_description() const { return "Alias/Wavefront"; }
|
||||
std::string get_extensions() const { return "obj"; }
|
||||
std::string get_description() const override { return "Alias/Wavefront"; }
|
||||
std::string get_extensions() const override { return "obj"; }
|
||||
|
||||
bool read(const std::string& _filename,
|
||||
BaseImporter& _bi,
|
||||
Options& _opt);
|
||||
Options& _opt) override;
|
||||
|
||||
bool read(std::istream& _in,
|
||||
BaseImporter& _bi,
|
||||
Options& _opt);
|
||||
Options& _opt) override;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
@@ -118,17 +118,17 @@ public:
|
||||
/// Destructor
|
||||
virtual ~_OFFReader_() {};
|
||||
|
||||
std::string get_description() const { return "Object File Format"; }
|
||||
std::string get_extensions() const { return "off"; }
|
||||
std::string get_magic() const { return "OFF"; }
|
||||
std::string get_description() const override { return "Object File Format"; }
|
||||
std::string get_extensions() const override { return "off"; }
|
||||
std::string get_magic() const override { return "OFF"; }
|
||||
|
||||
bool read(const std::string& _filename,
|
||||
BaseImporter& _bi,
|
||||
Options& _opt);
|
||||
Options& _opt) override;
|
||||
|
||||
bool can_u_read(const std::string& _filename) const;
|
||||
bool can_u_read(const std::string& _filename) const override;
|
||||
|
||||
bool read(std::istream& _in, BaseImporter& _bi, Options& _opt );
|
||||
bool read(std::istream& _in, BaseImporter& _bi, Options& _opt ) override;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
@@ -89,20 +89,20 @@ public:
|
||||
_OMReader_();
|
||||
virtual ~_OMReader_() { }
|
||||
|
||||
std::string get_description() const { return "OpenMesh File Format"; }
|
||||
std::string get_extensions() const { return "om"; }
|
||||
std::string get_magic() const { return "OM"; }
|
||||
std::string get_description() const override { return "OpenMesh File Format"; }
|
||||
std::string get_extensions() const override { return "om"; }
|
||||
std::string get_magic() const override { return "OM"; }
|
||||
|
||||
bool read(const std::string& _filename,
|
||||
BaseImporter& _bi,
|
||||
Options& _opt );
|
||||
Options& _opt ) override;
|
||||
|
||||
//! Stream Reader for std::istream input in binary format
|
||||
bool read(std::istream& _is,
|
||||
BaseImporter& _bi,
|
||||
Options& _opt );
|
||||
Options& _opt ) override;
|
||||
|
||||
virtual bool can_u_read(const std::string& _filename) const;
|
||||
virtual bool can_u_read(const std::string& _filename) const override;
|
||||
virtual bool can_u_read(std::istream& _is) const;
|
||||
|
||||
|
||||
|
||||
@@ -97,19 +97,19 @@ public:
|
||||
|
||||
_PLYReader_();
|
||||
|
||||
std::string get_description() const { return "PLY polygon file format"; }
|
||||
std::string get_extensions() const { return "ply"; }
|
||||
std::string get_magic() const { return "PLY"; }
|
||||
std::string get_description() const override { return "PLY polygon file format"; }
|
||||
std::string get_extensions() const override { return "ply"; }
|
||||
std::string get_magic() const override { return "PLY"; }
|
||||
|
||||
bool read(const std::string& _filename,
|
||||
BaseImporter& _bi,
|
||||
Options& _opt);
|
||||
Options& _opt) override;
|
||||
|
||||
bool read(std::istream& _is,
|
||||
BaseImporter& _bi,
|
||||
Options& _opt);
|
||||
Options& _opt) override;
|
||||
|
||||
bool can_u_read(const std::string& _filename) const;
|
||||
bool can_u_read(const std::string& _filename) const override;
|
||||
|
||||
enum ValueType {
|
||||
Unsupported,
|
||||
|
||||
@@ -92,17 +92,17 @@ public:
|
||||
virtual ~_STLReader_() {};
|
||||
|
||||
|
||||
std::string get_description() const
|
||||
std::string get_description() const override
|
||||
{ return "Stereolithography Interface Format"; }
|
||||
std::string get_extensions() const { return "stl stla stlb"; }
|
||||
std::string get_extensions() const override { return "stl stla stlb"; }
|
||||
|
||||
bool read(const std::string& _filename,
|
||||
BaseImporter& _bi,
|
||||
Options& _opt);
|
||||
Options& _opt) override;
|
||||
|
||||
bool read(std::istream& _in,
|
||||
BaseImporter& _bi,
|
||||
Options& _opt);
|
||||
Options& _opt) override;
|
||||
|
||||
/** Set the threshold to be used for considering two point to be equal.
|
||||
Can be used to merge small gaps */
|
||||
|
||||
Reference in New Issue
Block a user