overrides
This commit is contained in:
@@ -88,14 +88,14 @@ public:
|
||||
/// Destructor
|
||||
virtual ~_OBJWriter_() {};
|
||||
|
||||
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 write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
size_t binary_size(BaseExporter&, Options) const { return 0; }
|
||||
size_t binary_size(BaseExporter&, Options) const override { return 0; }
|
||||
|
||||
private:
|
||||
|
||||
|
||||
@@ -97,14 +97,14 @@ public:
|
||||
|
||||
virtual ~_OFFWriter_() {};
|
||||
|
||||
std::string get_description() const { return "no description"; }
|
||||
std::string get_extensions() const { return "off"; }
|
||||
std::string get_description() const override { return "no description"; }
|
||||
std::string get_extensions() const override { return "off"; }
|
||||
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
size_t binary_size(BaseExporter& _be, Options _opt) const;
|
||||
size_t binary_size(BaseExporter& _be, Options _opt) const override;
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
@@ -98,15 +98,15 @@ public:
|
||||
/// Destructor
|
||||
virtual ~_OMWriter_() {};
|
||||
|
||||
std::string get_description() const
|
||||
std::string get_description() const override
|
||||
{ return "OpenMesh Format"; }
|
||||
|
||||
std::string get_extensions() const
|
||||
std::string get_extensions() const override
|
||||
{ return "om"; }
|
||||
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
size_t binary_size(BaseExporter& _be, Options _opt) const;
|
||||
size_t binary_size(BaseExporter& _be, Options _opt) const override;
|
||||
|
||||
static OMFormat::uint8 get_version() { return version_; }
|
||||
|
||||
@@ -116,7 +116,7 @@ protected:
|
||||
static const OMFormat::uchar magic_[3];
|
||||
static const OMFormat::uint8 version_;
|
||||
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
bool write_binary(std::ostream&, BaseExporter&, Options) const;
|
||||
|
||||
|
||||
@@ -95,14 +95,14 @@ public:
|
||||
/// Destructor
|
||||
virtual ~_PLYWriter_() {};
|
||||
|
||||
std::string get_description() const { return "PLY polygon file format"; }
|
||||
std::string get_extensions() const { return "ply"; }
|
||||
std::string get_description() const override { return "PLY polygon file format"; }
|
||||
std::string get_extensions() const override { return "ply"; }
|
||||
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
size_t binary_size(BaseExporter& _be, Options _opt) const;
|
||||
size_t binary_size(BaseExporter& _be, Options _opt) const override;
|
||||
|
||||
enum ValueType {
|
||||
Unsupported = 0,
|
||||
|
||||
@@ -88,14 +88,14 @@ public:
|
||||
/// Destructor
|
||||
virtual ~_STLWriter_() {};
|
||||
|
||||
std::string get_description() const { return "Stereolithography Format"; }
|
||||
std::string get_extensions() const { return "stl stla stlb"; }
|
||||
std::string get_description() const override { return "Stereolithography Format"; }
|
||||
std::string get_extensions() const override { return "stl stla stlb"; }
|
||||
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
size_t binary_size(BaseExporter&, Options) const;
|
||||
size_t binary_size(BaseExporter&, Options) const override;
|
||||
|
||||
private:
|
||||
bool write_stla(const std::string&, BaseExporter&, Options) const;
|
||||
|
||||
@@ -29,13 +29,13 @@ class OPENMESHDLLEXPORT _VTKWriter_ : public BaseWriter
|
||||
public:
|
||||
_VTKWriter_();
|
||||
|
||||
std::string get_description() const { return "VTK"; }
|
||||
std::string get_extensions() const { return "vtk"; }
|
||||
std::string get_description() const override { return "VTK"; }
|
||||
std::string get_extensions() const override { return "vtk"; }
|
||||
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const;
|
||||
bool write(const std::string&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
bool write(std::ostream&, BaseExporter&, Options, std::streamsize _precision = 6) const override;
|
||||
|
||||
size_t binary_size(BaseExporter&, Options) const { return 0; }
|
||||
size_t binary_size(BaseExporter&, Options) const override { return 0; }
|
||||
};
|
||||
|
||||
//== TYPE DEFINITION ==========================================================
|
||||
|
||||
Reference in New Issue
Block a user