API Documentation
Loading...
Searching...
No Matches
CADWriteModifier.h
Go to the documentation of this file.
1#pragma once
4namespace NDEVR
5{
6 class Model;
7 struct CADGeometryWriter;
8 class DXFTableWriteIterator;
9 class DXFBlockWriter;
10 /**--------------------------------------------------------------------------------------------------
11 \brief An interface that can handle writing certain entities in a special way to the CAD environment.
12 **/
14 {
15 public:
16 virtual bool canHandleBlock(const Model& model) = 0;
18 virtual ModelIterator::ParseResult handleBlock(const Model& model, DXFBlockWriter& options) = 0;
19 virtual bool canHandleInsert(const Model& model) = 0;
20 virtual void handleInsert(const Matrix<fltp08>& parent_transform, const Model& model, uint04 parent_handle, DXFBlockWriter& options) = 0;
21 virtual void handleInsert(const Matrix<fltp08>& parent_transform, const Model& model, uint04 parent_handle, CADGeometryWriter& options) = 0;
22 };
23}
Streams NDEVR Geometry entities as CAD objects.
Definition CADGeometryWriter.h:26
An interface that can handle writing certain entities in a special way to the CAD environment.
Definition CADWriteModifier.h:14
virtual ModelIterator::ParseResult handleBlock(const Model &model, DXFTableWriteIterator &options)=0
virtual bool canHandleBlock(const Model &model)=0
virtual bool canHandleInsert(const Model &model)=0
virtual void handleInsert(const Matrix< fltp08 > &parent_transform, const Model &model, uint04 parent_handle, DXFBlockWriter &options)=0
virtual void handleInsert(const Matrix< fltp08 > &parent_transform, const Model &model, uint04 parent_handle, CADGeometryWriter &options)=0
virtual ModelIterator::ParseResult handleBlock(const Model &model, DXFBlockWriter &options)=0
A ModelIterator that iterates over each object in the model heirarchy turning them into nested BlockD...
Definition DXFBlockWriter.h:65
Converts objects into entities that can be placed within a DXF Entity Table. If flatten_model is fals...
Definition DXFBlockWriter.h:33
Definition Matrix.hpp:176
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
ParseResult
Definition ModelIterator.h:46
Definition ACIColor.h:37
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96