CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
Bcf_2_1Bitmap.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 license
16// 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 _BCF_2_1_BITMAP_H
25#define _BCF_2_1_BITMAP_H
26
27#include "BcfCommon.h"
28#include "OdGUID.h"
29
30#include "BcfElement.h"
31
35namespace OdBcf_2_1 {
36
37 class OdBcfPoint;
39
40 class OdBcfDirection;
42
43 class OdBcfSession;
44
66
71 {
72 public:
73
74 //DOM-IGNORE-BEGIN
76 //DOM-IGNORE-END
77
82
88 virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE;
89
95 virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE;
96
103 const OdString& getBitmap() const;
104
109 bool isBitmapUnset() const;
110
117 const OdString& getReference() const;
118
123 bool isReferenceUnset() const;
124
132
137 bool isLocationUnset() const;
138
146
151 bool isNormalUnset() const;
152
159 const OdBcfDirectionPtr& getUp() const;
160
165 bool isUpUnset() const;
166
173 const double& getHeight() const;
174
179 bool isHeightUnset() const;
180
187 const OdGUID& getGuid() const;
188
193 bool isGuidUnset() const;
194
195
196 //DOM-IGNORE-BEGIN
197 protected:
202 void setGuid(const OdGUID &guidValue);
203
209 OdBcfBitmap& operator = (const OdBcfBitmapData& val);
210
215 virtual bool validateData() const ODRX_OVERRIDE;
216
218 //DOM-IGNORE-END
219 };
220
225
226} //namespace OdBcf_2_1
227
228#endif // _BCF_2_1_BITMAP_H
#define BCF_2_1_EXPORT
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
OdBcfDirectionPtr m_pUp
OdBcfDirectionPtr m_pNormal
ODRX_DECLARE_MEMBERS(OdBcfBitmap)
const OdBcfDirectionPtr & getUp() const
const OdString & getBitmap() const
const OdGUID & getGuid() const
virtual bool validateData() const ODRX_OVERRIDE
bool isHeightUnset() const
bool isReferenceUnset() const
virtual OdResult inFields(TiXmlElement *pParent) ODRX_OVERRIDE
virtual OdResult outFields(TiXmlElement *pParent) const ODRX_OVERRIDE
bool isGuidUnset() const
const OdBcfDirectionPtr & getNormal() const
const OdBcfPointPtr & getLocation() const
bool isUpUnset() const
const OdString & getReference() const
bool isNormalUnset() const
bool isLocationUnset() const
bool isBitmapUnset() const
const double & getHeight() const
void setGuid(const OdGUID &guidValue)
OdSmartPtr< OdBcfPoint > OdBcfPointPtr
OdSmartPtr< OdBcfDirection > OdBcfDirectionPtr
OdSmartPtr< OdBcfBitmap > OdBcfBitmapPtr