CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublishCADReference.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
26//
27// PdfPublishCADReference.h
28//
30
31#ifndef _PDF_PUBLISH_CADREFERENCE_INCLUDED_
32#define _PDF_PUBLISH_CADREFERENCE_INCLUDED_
33
34#include "PdfPublishCommon.h"
37
38
43namespace OdPdfPublish{
44
57{
58 //DOM-IGNORE-BEGIN
59protected:
61 //DOM-IGNORE-END
62public:
63 //DOM-IGNORE-BEGIN
66 //DOM-IGNORE-END
67
71 virtual ~OdCADReference();
72
77 void setCADDefinition(OdCADDefinitionPtr cad_definition);
85 void setBorder(bool state);
86
92
98
104 void setRotation(double rotation);
105
111 void setClipBoundary(const Page::PaperUnits units, const OdGePoint2dArray& clipBoundary);
112
119 void setClipBoundaryBorder(bool state);
120
126
133
140 void setTransform(const OdGeMatrix2d& xfm);
141
148 void setScale(double scale);
149
156 void setTranslation(const OdGeVector2d& vec);
157
162 void getCADDefinition(OdCADDefinitionPtr& cad_definition) const;
163
171 void getBorder(bool& state) const;
172
177 void getBorderColor(ODCOLORREF& color) const;
178
184
189 void getRotation(double& rotation) const;
190
196 void getClipBoundary(Page::PaperUnits& units, OdGePoint2dArray& clipBoundary) const;
197
204 void getClipBoundaryBorder(bool& state) const;
205
211
217
222 void getTransform(OdGeMatrix2d& xfm) const;
223
228 void getScale(double& scale) const;
229
234 void getTranslation(OdGeVector2d& vec) const;
235
236};
237
242
243}
244#endif // _PDF_PUBLISH_CADREFERENCE_INCLUDED_
245
scale
Definition: DimVarDefs.h:1684
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
#define ODCOLORREF
Definition: OdPlatform.h:933
unsigned short OdUInt16
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void setClipBoundaryBorderColor(ODCOLORREF color)
void setTransform(const OdGeMatrix2d &xfm)
void getClipBoundaryBorderWidth(OdUInt16 &width) const
void setClipBoundaryBorder(bool state)
void getRotation(double &rotation) const
void getTranslation(OdGeVector2d &vec) const
void setClipBoundary(const Page::PaperUnits units, const OdGePoint2dArray &clipBoundary)
void setScale(double scale)
void setBorderColor(ODCOLORREF color)
void getClipBoundaryBorderColor(ODCOLORREF &color) const
void getCADDefinition(OdCADDefinitionPtr &cad_definition) const
void setBorderWidth(const OdUInt16 width)
void getClipBoundaryBorder(bool &state) const
void setClipBoundaryBorderWidth(const OdUInt16 width)
ODRX_DECLARE_MEMBERS(OdCADReference)
void setTranslation(const OdGeVector2d &vec)
void getBorder(bool &state) const
void setRotation(double rotation)
void getClipBoundary(Page::PaperUnits &units, OdGePoint2dArray &clipBoundary) const
void getBorderWidth(OdUInt16 &width) const
void setCADDefinition(OdCADDefinitionPtr cad_definition)
void getScale(double &scale) const
void getTransform(OdGeMatrix2d &xfm) const
void setBorder(bool state)
void getBorderColor(ODCOLORREF &color) const
GLint GLenum GLsizei width
Definition: gles2_ext.h:110