3#if NDEVR_MEASURE_MODELS
4#include <NDEVR/IOFactory.h>
5#include <NDEVR/FileFormat.h>
6#include <NDEVR/Buffer.h>
7#include <NDEVR/Pointer.h>
8#include <NDEVR/StringEnum.h>
37 Vertex<3, fltp08> location;
47 NDEVRFilePointMode mode = NDEVRFilePointMode::e_point;
48 Buffer<CRDPoint> points;
49 ConstPointer<Unit> unit;
53 bool record_angle =
false;
68 Buffer<UUID> filterModelsToExport(Buffer<UUID> models_to_check,
const DesignObjectLookup* lookup,
const FileFormat& format)
const override;
75 virtual void getSupportedFormats(Buffer<FileFormat>& formats,
bool is_read)
override;
82 virtual String getIcon(
const File& file)
override;
89 virtual bool readFile(FactoryParameters& file)
override;
96 virtual bool writeFile(FactoryParameters& file)
override;
102 static CRDFactory& DefaultFactory();
109 FactoryOptions defaultReadOptions(
const FactoryParameters& file)
const override;
116 FactoryOptions defaultWriteOptions(
const FactoryParameters& file)
const override;
125 static bool ReadCRD(CRDInfo& info, File file, ProgressInfo& progress);
134 static bool WriteCRD(CRDInfo& info, File file, ProgressInfo& progress);
144 static bool CreateCRDModel(uint04 index,
const CRDInfo& info, Model& model, ProgressInfo& progress);
152 FactoryFeatures factoryFeatures(
const FactoryParameters& file,
bool is_import)
const override;
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...
A service that provides Import/Export functionality for a model hierarchy.
A core class that represents a node on model hierarchy.
Used with InfoPipe to signal that the system will be using progress.
The primary namespace for the NDEVR SDK.
@ BitFlag
Per-vertex bit flags (selected, hidden, etc.).
@ name
The display name of the object.