API Documentation
Loading...
Searching...
No Matches
CADDimensionWriteModifier.h
Go to the documentation of this file.
1#pragma once
3#if NDEVR_VIEWPORT && NDEVR_MEASURE_MODELS
5namespace NDEVR
6{
7 class Model;
8 struct CADGeometryWriter;
9 class DXFTableWriteIterator;
10 class DXFBlockWriter;
11 /**--------------------------------------------------------------------------------------------------
12 \brief Handles writing Distance measurement models to the CAD environment.
13 **/
14 class CADDistanceWriteModifier : public CADWriteModifier
15 {
16 public:
17 static void WriteDistance(DXFBlockWriter& options, const Matrix<fltp08>& transform, const DistanceMeasureModel& dim, uint04 parent_handle);
18 bool canHandleBlock(const Model&) final override;
19 ModelIterator::ParseResult handleBlock(const Model& model, DXFTableWriteIterator& options) final override;
20 ModelIterator::ParseResult handleBlock(const Model& model, DXFBlockWriter& options) final override;
21 bool canHandleInsert(const Model& model) final override;
22 void handleInsert(const Matrix<fltp08>& parent_transform, const Model& model, uint04 parent_handle, DXFBlockWriter& options) final override;
23 void handleInsert(const Matrix<fltp08>&, const Model&, uint04, CADGeometryWriter&) final override;
24 };
25}
26#endif
Definition ACIColor.h:37