CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
PdfPublishArtwork.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// PdfPublishArtwork.h
28//
30
31#ifndef _PDF_PUBLISH_ARTWORK_INCLUDED_
32#define _PDF_PUBLISH_ARTWORK_INCLUDED_
33
35#include "PdfPublishView.h"
36#include "PdfPublishAnimation.h"
37
42namespace OdPdfPublish{
43
49{
50 //DOM-IGNORE-BEGIN
51protected:
53 //DOM-IGNORE-END
54public:
55 //DOM-IGNORE-BEGIN
58 //DOM-IGNORE-END
59
63 virtual ~OdArtwork();
64
74
81 void setJavaScript(const OdString& source, const Source::Type source_type = Source::kCode);
82
90 void setPMICrossHighlighting(bool state);
91
99 void setPMISemanticInformation(bool state);
100
113
126
135 void addView(const OdViewPtr& view);
136
143 void setPMIColor(ODCOLORREF pmi_color);
144
150 void addAnimation(const OdAnimationPtr& animation);
151
162
173 void getJavaScript(OdString& source, Source::Type& source_type) const;
174
185 void getPMICrossHighlighting(bool& state) const;
186
197 void getPMISemanticInformation(bool& state) const;
198
212
226
236 void getViews(OdViewPtrArray& views) const;
237
245 void getPMIColor(ODCOLORREF& pmi_color) const;
246
253 void getAnimations(OdAnimationPtrArray& animations) const;
254
255};
256
261
262}
263#endif // _PDF_PUBLISH_ARTWORK_INCLUDED_
264
#define SMARTPTR(classname)
Definition: IfcCommon.h:33
#define ODCOLORREF
Definition: OdPlatform.h:933
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void addAnimation(const OdAnimationPtr &animation)
void getAnimationStyle(Artwork::AnimationStyle &style) const
void getPMICrossHighlighting(bool &state) const
void setPMISemanticInformation(bool state)
void setDisplayPreference(Artwork::DisplayPreference preference)
void getJavaScript(OdString &source, Source::Type &source_type) const
void getAnimations(OdAnimationPtrArray &animations) const
void setJavaScript(const OdString &source, const Source::Type source_type=Source::kCode)
void addView(const OdViewPtr &view)
void getDisplayPreference(Artwork::DisplayPreference &preference) const
void setPMIColor(ODCOLORREF pmi_color)
void getDefaultViewPreference(Artwork::ViewPreference &preference) const
ODRX_DECLARE_MEMBERS(OdArtwork)
void setDefaultViewPreference(Artwork::ViewPreference preference)
void getPMISemanticInformation(bool &state) const
void setAnimationStyle(Artwork::AnimationStyle style)
void getViews(OdViewPtrArray &views) const
void getPMIColor(ODCOLORREF &pmi_color) const
void setPMICrossHighlighting(bool state)
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282