CFx SDK Documentation  2020SP3
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_
OdGiLocalDrawableDesc::persistentDrawableId
OdDbStub * persistentDrawableId() const
Definition: GiLocalDrawableDesc.h:65
OdGiDrawableDesc
Definition: GsSelectionReactor.h:43
OdGiLocalDrawableDesc
Definition: GiLocalDrawableDesc.h:44
TD_PackPop.h
OdGiLocalDrawableDesc::parent
const OdGiPathNode * parent() const
Definition: GiLocalDrawableDesc.h:60
OdGsMarker
ptrdiff_t OdGsMarker
Definition: OdPlatformSettings.h:889
OdGiLocalDrawableDesc::OdGiLocalDrawableDesc
OdGiLocalDrawableDesc(OdGiDrawableDesc *&pParentDesc)
Definition: GiLocalDrawableDesc.h:47
OdGiLocalDrawableDesc::_pPlaceToRestore
OdGiDrawableDesc *& _pPlaceToRestore
Definition: GiLocalDrawableDesc.h:45
OdGiPathNode
Definition: GiPathNode.h:36
OdGiLocalDrawableDesc::_nSelectionMarker
OdGsMarker _nSelectionMarker
Definition: GiLocalDrawableDesc.h:46
OdGiDrawable
Definition: GiDrawable.h:49
OdGiLocalDrawableDesc::selectionMarker
OdGsMarker selectionMarker() const
Definition: GiLocalDrawableDesc.h:75
OdGiLocalDrawableDesc::transientDrawable
const OdGiDrawable * transientDrawable() const
Definition: GiLocalDrawableDesc.h:70
TD_PackPush.h
OdGiLocalDrawableDesc::~OdGiLocalDrawableDesc
~OdGiLocalDrawableDesc()
Definition: GiLocalDrawableDesc.h:54
OdGiDrawableDesc::pParent
OdGiDrawableDesc * pParent
Definition: GsSelectionReactor.h:52
OdGiDrawableDesc::persistId
OdDbStub * persistId
Definition: GsSelectionReactor.h:54
GiPathNode.h
OdGiDrawableDesc::pTransientDrawable
const OdGiDrawable * pTransientDrawable
Definition: GsSelectionReactor.h:56