34#include <NDEVR/IOFactory.h>
35#include <NDEVR/FileFormat.h>
36#include <NDEVR/BaseValues.h>
37#include <NDEVR/Buffer.h>
The equivelent of std::vector but with a bit more control.
Provides a constant, unmodifiable pointer that has shared ownership of a dynamically allocated object...
A core class where all Design Objects including models, materials, and geometries are stored.
Allows IOFactories to report what features they support to make the import/export dialogs easier to s...
User-defined options that define preferences for importing and exporting using IOFactory objects.
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
IOFactory(const StringView &factory_name)
Constructs an IOFactory with the given factory name.
A light-weight base class for Log that allows processes to update, without the need for additional in...
A core class that represents a node on model hierarchy.
FactoryFeatures factoryFeatures(const FactoryParameters &file, bool is_read) const override
Returns the factory feature set for the given parameters.
virtual void getSupportedFormats(Buffer< FileFormat > &formats, bool is_read) override
Populates the buffer with supported file formats.
virtual FactoryOptions defaultWriteOptions(const FactoryParameters &file) const override
Returns the default write options for the given file.
SHPFactory()
Constructs an SHPFactory.
virtual bool readFile(FactoryParameters &file) override
Reads a Shapefile into the design model.
void readShapeFile(const File &file, Model &root, const ConstPointer< Unit > &unit)
Reads a single Shapefile and populates the root model.
virtual bool writeFile(FactoryParameters &file) override
Writes the design model to a Shapefile.
fltp08 m_horizontal_offset
Horizontal coordinate offset applied during import.
virtual FactoryOptions defaultReadOptions(const FactoryParameters &file) const override
Returns the default read options for the given file.
Buffer< UUID > filterModelsToExport(Buffer< UUID > models_to_check, const DesignObjectLookup *lookup, const FileFormat &export_format) const override
Filters the given models to only those exportable in the specified format.
The core String class for the NDEVR API.
The primary namespace for the NDEVR SDK.
double fltp08
Defines an alias representing an 8 byte floating-point number.
@ file
The source file path associated with this object.
A container of input information that is to be filled with output information by an IOFactory.