CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbDgnLSPE.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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 _OD_DB_DGNLS_PE_
25#define _OD_DB_DGNLS_PE_
26
28
31
39{
40 public:
42
44 {
45 kDgnLSProcessed = 1
46 };
47
55 virtual bool hasDgnLSData(const OdDbLinetypeTableRecord *pLTR) const = 0;
56
66 virtual OdUInt32 setupDgnLSData(const OdDbLinetypeTableRecord *pLTR, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const = 0;
67
76 virtual OdUInt32 prepareDgnLSCache(const OdDbLinetypeTableRecord *pLTR, OdRxObjectPtr &pCache) const = 0;
77
87 virtual OdUInt32 setupDgnLSCache(const OdRxObject *pCache, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const = 0;
88};
89
94
102{
103 public:
105
113 virtual bool hasDgnLSModifiersXData(const OdDbEntity *pEntity) const = 0;
114
124 virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiDgLinetypeModifiers &pModifiers, double *pScale = NULL) const = 0;
125
134 virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiSubEntityTraits *pTraits) const = 0;
135
145 virtual bool writeDgnLSModifiersXData(OdDbEntity *pEntity, const OdGiDgLinetypeModifiers &pModifiers, const double *pScale = NULL) const = 0;
146
154 virtual bool removeDgnLSModifiersXData(OdDbEntity *pEntity) const = 0;
155};
156
161
162#endif //_OD_DB_DGNLS_PE_
OdSmartPtr< OdDbDgnLSPE > OdDbDgnLSPEPtr
Definition: DbDgnLSPE.h:93
OdSmartPtr< OdDbDgnLSModifiersPE > OdDbDgnLSModifiersPEPtr
Definition: DbDgnLSPE.h:160
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
unsigned int OdUInt32
virtual bool removeDgnLSModifiersXData(OdDbEntity *pEntity) const =0
virtual bool writeDgnLSModifiersXData(OdDbEntity *pEntity, const OdGiDgLinetypeModifiers &pModifiers, const double *pScale=NULL) const =0
ODRX_DECLARE_MEMBERS(OdDbDgnLSModifiersPE)
virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiSubEntityTraits *pTraits) const =0
virtual bool readDgnLSModifiersXData(const OdDbEntity *pEntity, OdGiDgLinetypeModifiers &pModifiers, double *pScale=NULL) const =0
virtual bool hasDgnLSModifiersXData(const OdDbEntity *pEntity) const =0
virtual OdUInt32 setupDgnLSCache(const OdRxObject *pCache, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const =0
virtual OdUInt32 setupDgnLSData(const OdDbLinetypeTableRecord *pLTR, OdUInt32 &nResFlags, OdGiDrawableTraits *pTraits) const =0
virtual OdUInt32 prepareDgnLSCache(const OdDbLinetypeTableRecord *pLTR, OdRxObjectPtr &pCache) const =0
virtual bool hasDgnLSData(const OdDbLinetypeTableRecord *pLTR) const =0
ODRX_DECLARE_MEMBERS(OdDbDgnLSPE)