DATAKIT SDK
V2026.2
Main Page
API Reference
dtk_cgrrReader.hpp
Go to the documentation of this file.
1
#ifndef _UTIL_GGR_READER_HPP_
2
#define _UTIL_GGR_READER_HPP_
3
4
#include "
util/dtk_reader.hpp
"
5
#include "
def/define.h
"
6
7
class
CgrReader
:
public
Dtk_Reader
8
{
9
public
:
10
virtual
~CgrReader
();
11
static
Dtk_bool
Enable
();
12
13
//! [Options]
14
//! \ingroup cgr_utils
15
//! \brief Initial tree 0
16
//! \brief Intermediate reduce tree ( component tree ) 1
17
//! \brief Flattened tree ( node tree ) 2
18
//! \param [in] inVal: 2 (default)
19
//!
20
//! \endcode
21
static
void
SetCfgCgrReduceTree
(
Dtk_Int32
inVal );
22
//! \ingroup cgr_utils
23
//! \brief Read the mesh data only.
24
//! \brief Avoid reading additional information such as curves, mesh face boundaries or the center/radius/axis/etc of cylinders and circles.
25
//! \param [in] inVal
26
//!
27
//! SetCfgCgrReadMeshOnly(Dtk_bool inVal);
28
//! \param [in] inVal: 0 (default)
29
//! \endcode
30
static
void
SetCfgCgrReadMeshOnly
(
Dtk_bool
inVal );
31
//!
32
//! SetCfgCgrFdtToPolyline(Dtk_bool inVal);
33
//! \param [in] inVal: 0 (default)
34
//! \endcode
35
static
void
SetCfgCgrFdtToPolyline
(
Dtk_bool
inVal );
36
//! [Options]
37
};
38
39
#endif
40
CgrReader::Enable
static Dtk_bool Enable()
CgrReader::SetCfgCgrReadMeshOnly
static void SetCfgCgrReadMeshOnly(Dtk_bool inVal)
Read the mesh data only.
Dtk_Reader
Definition:
dtk_reader.hpp:15
Dtk_bool
char Dtk_bool
Definition:
define.h:717
CgrReader::~CgrReader
virtual ~CgrReader()
Dtk_Int32
int32_t Dtk_Int32
Definition:
define.h:679
define.h
dtk_reader.hpp
CgrReader::SetCfgCgrReduceTree
static void SetCfgCgrReduceTree(Dtk_Int32 inVal)
Initial tree 0.
CgrReader
Definition:
dtk_cgrrReader.hpp:8
CgrReader::SetCfgCgrFdtToPolyline
static void SetCfgCgrFdtToPolyline(Dtk_bool inVal)
ClientSamples
CrossCadWareSDK
Lib_Include
dtk_readers
dtk_cgrrReader.hpp