CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbAbstractPlotDataForDbPlotSettings.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#ifndef OD_DBABSTRACTPLOTDATAFORDBPLOTSETTINGS_H
25#define OD_DBABSTRACTPLOTDATAFORDBPLOTSETTINGS_H
26
27#include "DbAbstractPlotData.h"
28
29#include "TD_PackPush.h"
30
39{
40 public:
42
43 // Scale properties
44
49 bool useStandardScale(const OdRxObject* pPlotObj) const;
50
55 double customScale(const OdRxObject* pPlotObj) const;
56
62 void setCustomScale(OdRxObject* pPlotObj, double customScale) const;
63
69
75 void setStandardScale(OdRxObject* pPlotObj, const OdDbPlotSettings::StdScaleType standardScale) const;
76
77 // Plot style sheet
78
83 OdString styleSheet(const OdRxObject* pPlotObj) const;
84
90 void setStyleSheet(OdRxObject* pPlotObj, const OdString& styleSheetName) const;
91
92 // Plot shade
93
99
105 void setShadePlot(OdRxObject* pPlotObj, OdDbPlotSettings::ShadePlotType shadePlotSet) const;
106
111 OdDbObjectId shadePlotId(const OdRxObject* pPlotObj) const;
112
120
121 // Shade modes
122
127 bool plotHiddenLines(const OdRxObject* pPlotObj) const;
128
134 void setPlotHiddenLines(OdRxObject* pPlotObj, bool plotHidden) const;
135
140 bool plotWireframe(const OdRxObject* pPlotObj) const;
141
146 bool plotAsRaster(const OdRxObject* pPlotObj) const;
147
148 // Plotting transparency
149
153 bool plotTransparency(const OdRxObject* pPlotObj) const;
154
160 void setPlotTransparency(OdRxObject* pPlotObj, bool bEnable) const;
161
162 // Helpers
163
168 bool modelType(const OdRxObject* pPlotObj) const;
169
175 void setModelType(OdRxObject* pPlotObj, bool modelTypeSet);
176};
177
178#include "TD_PackPop.h"
179
180#endif //#ifndef OD_DBABSTRACTPLOTDATAFORDBPLOTSETTINGS_H
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
void setCustomScale(OdRxObject *pPlotObj, double customScale) const
void setShadePlot(OdRxObject *pPlotObj, OdDbPlotSettings::ShadePlotType type, OdDbObjectId shadePlotId) const
void setStandardScale(OdRxObject *pPlotObj, const OdDbPlotSettings::StdScaleType standardScale) const
bool modelType(const OdRxObject *pPlotObj) const
ODRX_DECLARE_MEMBERS(OdDbAbstractPlotDataForDbPlotSettings)
bool useStandardScale(const OdRxObject *pPlotObj) const
bool plotTransparency(const OdRxObject *pPlotObj) const
bool plotWireframe(const OdRxObject *pPlotObj) const
OdString styleSheet(const OdRxObject *pPlotObj) const
void setModelType(OdRxObject *pPlotObj, bool modelTypeSet)
void setPlotHiddenLines(OdRxObject *pPlotObj, bool plotHidden) const
void setShadePlot(OdRxObject *pPlotObj, OdDbPlotSettings::ShadePlotType shadePlotSet) const
OdDbPlotSettings::ShadePlotType shadePlot(const OdRxObject *pPlotObj) const
OdDbObjectId shadePlotId(const OdRxObject *pPlotObj) const
OdDbPlotSettings::StdScaleType standardScale(const OdRxObject *pPlotObj) const
bool plotAsRaster(const OdRxObject *pPlotObj) const
double customScale(const OdRxObject *pPlotObj) const
void setStyleSheet(OdRxObject *pPlotObj, const OdString &styleSheetName) const
bool plotHiddenLines(const OdRxObject *pPlotObj) const
void setPlotTransparency(OdRxObject *pPlotObj, bool bEnable) const
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274