CFx SDK Documentation  2022 SP0
GiLocalDrawableDesc.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 
24 
25 
26 
27 // GiBaseVectorizer.h: interface for the OdGiBaseVectorizer class.
28 //
30 
31 #ifndef _ODGILOCALDRAWABLEDESC_INCLUDED_
32 #define _ODGILOCALDRAWABLEDESC_INCLUDED_
33 
34 
35 #include "TD_PackPush.h"
36 
37 #include "Gi/GiPathNode.h"
38 
44 {
48  : _pPlaceToRestore(pParentDesc)
49  , _nSelectionMarker(0) /* kNullSubentIndex */
50  {
51  pParent = pParentDesc;
52  _pPlaceToRestore = this;
53  }
55  {
57  }
58 
59  // OdGsPathNode interface
60  const OdGiPathNode* parent() const
61  {
62  return static_cast<const OdGiLocalDrawableDesc*>(pParent);
63  }
64 
65  OdDbStub* persistentDrawableId() const
66  {
67  return persistId;
68  }
69 
71  {
72  return pTransientDrawable;
73  }
74 
76  {
77  return _nSelectionMarker;
78  }
79 };
80 
81 
82 #include "TD_PackPop.h"
83 
84 #endif // #ifndef _ODGILOCALDRAWABLEDESC_INCLUDED_
ptrdiff_t OdGsMarker
OdGiDrawableDesc * pParent
const OdGiDrawable * pTransientDrawable
OdGiDrawableDesc *& _pPlaceToRestore
const OdGiDrawable * transientDrawable() const
OdGiLocalDrawableDesc(OdGiDrawableDesc *&pParentDesc)
const OdGiPathNode * parent() const
OdGsMarker selectionMarker() const
OdDbStub * persistentDrawableId() const