NDEVR
API Documentation
CADTextWriteModifier.h
1#pragma once
2#include "../Headers/DXFBlockWriter.h"
3#if NDEVR_TEXT_MODEL
4#include "../Headers/CADWriteModifier.h"
5#include <NDEVR/Text.h>
6namespace NDEVR
7{
8 class Model;
11 class DXFBlockWriter;
15 class CADTextWriteModifier : public CADWriteModifier
16 {
17 public:
21 bool canHandleBlock(const Model& model) final override;
26 ModelIterator::ParseResult handleBlock(const Model& model, DXFTableWriteIterator& options) final override;
31 ModelIterator::ParseResult handleBlock(const Model&, DXFBlockWriter&) final override;
35 bool canHandleInsert(const Model& model) final override;
41 void handleInsert(const Matrix<fltp08>& parent_transform, const Model& model, uint04 parent_handle, DXFBlockWriter& options) final override;
47 void handleInsert(const Matrix<fltp08>&, const Model&, uint04, CADGeometryWriter&) final override;
48 public:
55 static void WriteText(DXFWriter& writer, const Matrix<fltp08>& tr, const Text& text, uint04 handle, uint04 parent_handle);
56 };
57}
58#endif
Streams NDEVR Geometry entities as CAD objects.
An interface that can handle writing certain entities in a special way to the CAD environment.
A ModelIterator that iterates over each object in the model hierarchy turning them into nested BlockD...
Converts objects into entities that can be placed within a DXF Entity Table.
A core class that represents a node on model hierarchy.
Definition Model.h:292
The primary namespace for the NDEVR SDK.