26 #include <vsg/io/ReaderWriter.h>
27 #include <vsgXchange/Version.h>
35 class VSGXCHANGE_DECLSPEC
models :
public vsg::Inherit<vsg::CompositeReaderWriter, models>
42 class VSGXCHANGE_DECLSPEC
assimp :
public vsg::Inherit<vsg::ReaderWriter, assimp>
46 vsg::ref_ptr<vsg::Object> read(
const vsg::Path&, vsg::ref_ptr<const vsg::Options>)
const override;
47 vsg::ref_ptr<vsg::Object> read(std::istream&, vsg::ref_ptr<const vsg::Options>)
const override;
48 vsg::ref_ptr<vsg::Object> read(
const uint8_t* ptr,
size_t size, vsg::ref_ptr<const vsg::Options> options = {})
const override;
50 bool getFeatures(Features& features)
const override;
53 static constexpr
const char* generate_smooth_normals =
"generate_smooth_normals";
54 static constexpr
const char* generate_sharp_normals =
"generate_sharp_normals";
55 static constexpr
const char* crease_angle =
"crease_angle";
56 static constexpr
const char* two_sided =
"two_sided";
57 static constexpr
const char* discard_empty_nodes =
"discard_empty_nodes";
59 bool readOptions(vsg::Options& options, vsg::CommandLine& arguments)
const override;
65 Implementation* _implementation;
optional assimp ReaderWriter
Definition: models.h:43
bool readOptions(vsg::Options &options, vsg::CommandLine &arguments) const override
bool