CFx SDK Documentation
2022 SP0
SDK
CFx
dd_inc
ModelerTools.h
Go to the documentation of this file.
1
// Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3
// All rights reserved.
4
//
5
// This software and its documentation and related materials are owned by
6
// the Alliance. The software may only be incorporated into application
7
// programs owned by members of the Alliance, subject to a signed
8
// Membership Agreement and Supplemental Software License Agreement with the
9
// Alliance. The structure and organization of this software are the valuable
10
// trade secrets of the Alliance and its suppliers. The software is also
11
// protected by copyright law and international treaty provisions. Application
12
// programs incorporating this software must include the following statement
13
// with their copyright notices:
14
//
15
// This application incorporates Teigha(R) software pursuant to a license
16
// agreement with Open Design Alliance.
17
// Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18
// All rights reserved.
19
//
20
// By use of this software, its documentation or related materials, you
21
// acknowledge and accept the above terms.
23
// ModelerTools.h : auxilary functionality of geometry modeler
24
25
// Copyright © Menhirs NV. All rights reserved.
26
27
//HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
28
29
#ifndef _OD_MODELERTOOLS_INCLUDED_
30
#define _OD_MODELERTOOLS_INCLUDED_
31
32
//#include "BricsysChanges.h"
33
#include "
ModelerGeometry.h
"
34
35
#include "
TD_PackPush.h
"
36
37
typedef
void
(*
MainHistStreamFunc
)(
void
*);
38
39
47
class
TOOLKIT_EXPORT
OdModelerTools
:
public
OdRxObject
48
{
49
protected
:
50
OdModelerTools
() {}
51
public
:
52
ODRX_DECLARE_MEMBERS
(
OdModelerTools
);
53
57
virtual
OdResult
deleteModelerBulletins
() = 0;
58
64
virtual
void
beginThreadSafetyMode
(
unsigned
nThreads,
const
unsigned
* aThreads) = 0;
65
70
virtual
void
endThreadSafetyMode
(
unsigned
nThreads,
const
unsigned
* aThreads) = 0;
71
76
virtual
bool
startThread
() = 0;
77
82
virtual
bool
stopThread
() = 0;
83
87
virtual
bool
isThreadStarted
()
const
= 0;
88
93
virtual
OdResult
check3dSolid
(
const
OdDb3dSolidPtr
&,
OdString
& report) = 0;
94
98
virtual
void
executeInMainHistoryStream
(
MainHistStreamFunc
func
,
void
*
data
) = 0;
99
};
100
101
109
typedef
OdSmartPtr<OdModelerTools>
OdModelerToolsPtr
;
110
111
#include "
TD_PackPop.h
"
112
113
#endif
//_OD_MODELERTOOLS_INCLUDED_
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition:
DbExport.h:40
ModelerGeometry.h
MainHistStreamFunc
void(* MainHistStreamFunc)(void *)
Definition:
ModelerTools.h:37
OdModelerToolsPtr
OdSmartPtr< OdModelerTools > OdModelerToolsPtr
Definition:
ModelerTools.h:109
OdResult
OdResult
Definition:
OdResult.h:29
TD_PackPop.h
TD_PackPush.h
OdModelerTools
Definition:
ModelerTools.h:48
OdModelerTools::deleteModelerBulletins
virtual OdResult deleteModelerBulletins()=0
OdModelerTools::startThread
virtual bool startThread()=0
OdModelerTools::check3dSolid
virtual OdResult check3dSolid(const OdDb3dSolidPtr &, OdString &report)=0
OdModelerTools::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdModelerTools)
OdModelerTools::executeInMainHistoryStream
virtual void executeInMainHistoryStream(MainHistStreamFunc func, void *data)=0
OdModelerTools::beginThreadSafetyMode
virtual void beginThreadSafetyMode(unsigned nThreads, const unsigned *aThreads)=0
OdModelerTools::endThreadSafetyMode
virtual void endThreadSafetyMode(unsigned nThreads, const unsigned *aThreads)=0
OdModelerTools::isThreadStarted
virtual bool isThreadStarted() const =0
OdModelerTools::stopThread
virtual bool stopThread()=0
OdModelerTools::OdModelerTools
OdModelerTools()
Definition:
ModelerTools.h:50
OdRxObject
Definition:
RxObject.h:564
OdSmartPtr
Definition:
SmartPtr.h:58
OdString
Definition:
OdString.h:95
func
GLenum func
Definition:
gles2_ext.h:262
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
data
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
Definition:
gles2_ext.h:110
Generated on Fri Jan 22 2021 18:01:48