DATAKIT API
V2025.3
Main Page
API Reference
dtk_swrReader.hpp
Go to the documentation of this file.
1
#ifndef _UTIL_SWR_READER_HPP_
2
#define _UTIL_SWR_READER_HPP_
3
4
#include "
util/dtk_reader.hpp
"
5
#include "
def/define.h
"
6
7
class
SwReader
:
public
Dtk_Reader
8
{
9
protected
:
10
SwReader
();
11
12
virtual
~SwReader
();
13
14
public
:
15
static
Dtk_bool
Enable
();
16
20
static
void
SetComputeBoundariesFromMesh
(
Dtk_bool
inComputeBoundary );
21
24
static
Dtk_bool
GetComputeBoundariesFromMesh
(
void
);
25
29
static
void
SetConfigCreate2dCurvesOf3dGeometryForDrawings
(
Dtk_bool
inCreateCurves );
30
33
static
Dtk_bool
GetConfigCreate2dCurvesOf3dGeometryForDrawings
(
void
);
34
37
static
void
SetConfigReadDrawingsWithGraphicRepresentation
(
const
Dtk_bool
readWithGraphicRepresentation );
38
41
static
Dtk_bool
GetConfigReadDrawingsWithGraphicRepresentation
();
42
43
void
*
GetSearchEngine
();
44
};
45
46
#endif
SwReader::Enable
static Dtk_bool Enable()
SwReader
Definition:
dtk_swrReader.hpp:8
Dtk_Reader
Definition:
dtk_reader.hpp:15
SwReader::SetComputeBoundariesFromMesh
static void SetComputeBoundariesFromMesh(Dtk_bool inComputeBoundary)
Use to force to compute boundaries from mesh with solidworks 2d/3d read.
Dtk_bool
char Dtk_bool
Definition:
define.h:725
SwReader::GetComputeBoundariesFromMesh
static Dtk_bool GetComputeBoundariesFromMesh(void)
SwReader::GetConfigCreate2dCurvesOf3dGeometryForDrawings
static Dtk_bool GetConfigCreate2dCurvesOf3dGeometryForDrawings(void)
SwReader::GetSearchEngine
void * GetSearchEngine()
SwReader::SwReader
SwReader()
SwReader::GetConfigReadDrawingsWithGraphicRepresentation
static Dtk_bool GetConfigReadDrawingsWithGraphicRepresentation()
define.h
SwReader::~SwReader
virtual ~SwReader()
SwReader::SetConfigReadDrawingsWithGraphicRepresentation
static void SetConfigReadDrawingsWithGraphicRepresentation(const Dtk_bool readWithGraphicRepresentation)
When set to true, we read the graphic representation in .SLDDRW files. If false, we use the semantic ...
dtk_reader.hpp
SwReader::SetConfigCreate2dCurvesOf3dGeometryForDrawings
static void SetConfigCreate2dCurvesOf3dGeometryForDrawings(Dtk_bool inCreateCurves)
Choose if when reading a .SLDDRW file, curves in 2D plane are created from 3D geometry (mesh / body)....
ClientsCMake
Lib_Include
dtk_readers
dtk_swrReader.hpp