CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GiLocalDrawableDesc.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
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{
47 OdGeMatrix3d _xModelToWorld; // Model transform this drawable is being drawn with
50 : _pPlaceToRestore(pParentDesc)
51 , _nSelectionMarker(0) /* kNullSubentIndex */
52 , _pxModelToWorld(0) // NULL means identity
53 {
54 pParent = pParentDesc;
55 _pPlaceToRestore = this;
56 }
58 {
60 }
61
62 // OdGsPathNode interface
63 const OdGiPathNode* parent() const
64 {
65 return static_cast<const OdGiLocalDrawableDesc*>(pParent);
66 }
67
68 OdDbStub* persistentDrawableId() const
69 {
70 return persistId;
71 }
72
74 {
75 return pTransientDrawable;
76 }
77
79 {
80 return _nSelectionMarker;
81 }
82
83 const OdGeMatrix3d* modelToWorld() const {
84 return _pxModelToWorld;
85 }
86
90 }
91};
92
93
94#include "TD_PackPop.h"
95
96#endif // #ifndef _ODGILOCALDRAWABLEDESC_INCLUDED_
ptrdiff_t OdGsMarker
GLfloat x
Definition: gles2_ext.h:314
OdGiDrawableDesc * pParent
const OdGiDrawable * pTransientDrawable
OdGiDrawableDesc *& _pPlaceToRestore
OdDbStub * persistentDrawableId() const
const OdGiDrawable * transientDrawable() const
OdGiLocalDrawableDesc(OdGiDrawableDesc *&pParentDesc)
void setModelToWorld(const OdGeMatrix3d &x)
const OdGiPathNode * parent() const
OdGeMatrix3d * _pxModelToWorld
const OdGeMatrix3d * modelToWorld() const
OdGsMarker selectionMarker() const