CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
aec_inc
Draw_iface
AECDrawCache_iface.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2024, 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 Open Design Alliance software pursuant to a
16
// license agreement with Open Design Alliance.
17
// Open Design Alliance Copyright (C) 2002-2024 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
24
#ifndef __AECDRAWCACHE_IFACE_H__
25
#define __AECDRAWCACHE_IFACE_H__
26
27
#include "
Common/AECBuildSettings.h
"
28
#include <vector>
29
#include "
DbEntity/AECDbEntity.h
"
30
#include "
Modeler/FMMdlBody.h
"
31
32
namespace
DrawCacheTools
33
{
34
class
AECARCHBASE_API
AECDrawCache_Iface
35
{
36
public
:
37
AECDrawCache_Iface
(
AECDbEntityPtr
pEntity);
38
39
void
UpdateModelCache
();
40
void
UpdateFields
();
41
void
ClearCache
();
42
void
GetBodyByKey
(
const
OdUInt8
iKey, std::vector<FacetModeler::Body>& vBodies);
43
44
protected
:
45
AECDbEntityPtr
m_pEntity
;
46
};
47
48
AECARCHBASE_API
void
UpdateModelCache
(
AECDbEntityPtr
pEntity);
49
AECARCHBASE_API
void
UpdateFields
(
AECDbEntityPtr
pEntity);
50
AECARCHBASE_API
void
ClearCache
(
AECDbEntityPtr
pEntity);
51
}
52
53
#endif
// __AECDRAWCACHE_IFACE_H__
AECBuildSettings.h
AECDbEntity.h
AECDbEntityPtr
OdSmartPtr< AECDbEntity > AECDbEntityPtr
Definition
AECDbEntity.h:335
FMMdlBody.h
OdUInt8
unsigned char OdUInt8
Definition
OdPlatformSettings.h:744
DrawCacheTools::AECDrawCache_Iface::UpdateFields
void UpdateFields()
DrawCacheTools::AECDrawCache_Iface::ClearCache
void ClearCache()
DrawCacheTools::AECDrawCache_Iface::m_pEntity
AECDbEntityPtr m_pEntity
Definition
AECDrawCache_iface.h:45
DrawCacheTools::AECDrawCache_Iface::AECDrawCache_Iface
AECDrawCache_Iface(AECDbEntityPtr pEntity)
DrawCacheTools::AECDrawCache_Iface::GetBodyByKey
void GetBodyByKey(const OdUInt8 iKey, std::vector< FacetModeler::Body > &vBodies)
DrawCacheTools::AECDrawCache_Iface::UpdateModelCache
void UpdateModelCache()
DrawCacheTools
Definition
AECDrawCache_iface.h:33
DrawCacheTools::UpdateModelCache
AECARCHBASE_API void UpdateModelCache(AECDbEntityPtr pEntity)
DrawCacheTools::UpdateFields
AECARCHBASE_API void UpdateFields(AECDbEntityPtr pEntity)
DrawCacheTools::ClearCache
AECARCHBASE_API void ClearCache(AECDbEntityPtr pEntity)
Generated on Tue Apr 15 2025 11:28:07