DATAKIT SDK  V2026.2
dtk_DwgDtkReader.hpp
Go to the documentation of this file.
1 #pragma once
2 #ifndef _UTIL_DWG_DTK_READER_HPP_
3 #define _UTIL_DWG_DTK_READER_HPP_
4 
5 #include "util/dtk_reader.hpp"
6 #include "def/define.h"
7 
8 class DwgDtkReader: public Dtk_Reader
9 {
10 public:
11  virtual ~DwgDtkReader() = 0;
12 
13  static Dtk_bool Enable();
14 
15  //! [Options]
16  //! \brief Determine how to read the DWG/DXF Model Space.
17  //! \param DTK_FALSE to read the Model Space as a part with 3D entities (default);
18  //! DTK_TRUE to read the Model Space as a drawing with 2D entities.
19  //! \warning Call this option after the Dtk_API initialization and before the Dtk_API::OpenDocument call.
21 
22  //! \brief Determine how to read DWG/DXF 3DFACE entities.
23  //! \param DTK_FALSE to read 3DFACE entities as meshes;
24  //! DTK_TRUE to read 3DFACE entities as bodies (default).
25  //! \warning Call this option after the Dtk_API initialization and before the Dtk_API::OpenDocument call.
27  //! [Options]
28 };
29 
30 #endif
DwgDtkReader::~DwgDtkReader
virtual ~DwgDtkReader()=0
DwgDtkReader::Enable
static Dtk_bool Enable()
Dtk_Reader
Definition: dtk_reader.hpp:15
DwgDtkReader::SetRead3dFacesAsBody
static void SetRead3dFacesAsBody(Dtk_bool)
Determine how to read DWG/DXF 3DFACE entities.
Dtk_bool
char Dtk_bool
Definition: define.h:717
DwgDtkReader
Definition: dtk_DwgDtkReader.hpp:9
define.h
dtk_reader.hpp
DwgDtkReader::SetReadFileAsDrawing
static void SetReadFileAsDrawing(Dtk_bool)
Determine how to read the DWG/DXF Model Space.