15#ifdef RUBBERBANDENGINECORE_EXPORTS
16#pragma warning(disable: 4251)
21#include <rapidjson/document.h>
31 class ConnectionConfigurationData;
32 class cfgLineConnection;
33 class cfgHistoryConnection;
34 class cfgCircleConnection;
46 void setToDefaultCuboid(
void);
48 void setToDefaultCylinder(
void);
50 void setToDefaultSphere(
void);
52 void setToDefaultTorus(
void);
54 void setToDefaultCone(
void);
56 void setToDefaultPyramid(
void);
62 const std::list<cfgStep>
steps(
void)
const {
return m_steps; }
64 void addToJsonObject(rapidjson::Document& _doc, rapidjson::Value& _object)
const;
74 std::string toJson(
void)
const;
77 std::list<cfgStep> m_steps;
108 const std::list<cfgCircleConnection>&
circles(
void)
const {
return m_circles; }
109 const std::list<cfgLineConnection>&
lines(
void)
const {
return m_lines; }
110 const std::list<cfgHistoryConnection>&
history(
void)
const {
return m_history; }
112 void addToJsonArray(rapidjson::Document& _doc, rapidjson::Value& _array)
const;
116 std::list<cfgCircleConnection> m_circles;
117 std::list<cfgLineConnection> m_lines;
118 std::list<cfgHistoryConnection> m_history;
136 cfgStep(Projection _projection = UV,
bool _mayEndWithoutThisStep =
false);
145 const std::list<cfgPoint>&
points(
void)
const {
return m_points; }
150 void addToJsonObject(rapidjson::Document& _doc, rapidjson::Value& _object,
int _id)
const;
163 Projection m_projection;
164 bool m_mayEndWithoutThisStep;
165 std::list<cfgPoint> m_points;
166 std::list<cfgLimit> m_limits;
188 void addToJsonObject(rapidjson::Document& _doc, rapidjson::Value& _object)
const;
193 std::string m_formula;
206 cfgPoint(
int _id,
const std::string& _formulaU,
const std::string& _formulaV,
const std::string& _formulaW);
207 cfgPoint(
int _id,
DefaultPoint _formulaU,
const std::string& _formulaV,
const std::string& _formulaW);
208 cfgPoint(
int _id,
const std::string& _formulaU,
DefaultPoint _formulaV,
const std::string& _formulaW);
210 cfgPoint(
int _id,
const std::string& _formulaU,
const std::string& _formulaV,
DefaultPoint _formulaW);
222 int id(
void)
const {
return m_id; }
223 const std::string&
u(
void)
const {
return m_formulaU; }
224 const std::string&
v(
void)
const {
return m_formulaV; }
225 const std::string&
w(
void)
const {
return m_formulaW; }
227 void addToJsonObject(rapidjson::Document& _doc, rapidjson::Value& _object)
const;
233 std::string m_formulaU;
234 std::string m_formulaV;
235 std::string m_formulaW;
246 cfgLineConnection(
int _pointFromId,
int _pointToId,
bool _ignoreInHistory =
false);
258 const std::string&
idFrom(
void)
const {
return m_from; }
259 const std::string&
idTo(
void)
const {
return m_to; }
261 void addToJsonObject(rapidjson::Document& _doc, rapidjson::Value& _object)
const;
267 bool m_ignoreInHistory;
290 int stepId(
void)
const {
return m_stepId; }
292 void addToJsonObject(rapidjson::Document& _doc, rapidjson::Value& _object)
const;
296 bool m_ignoreInHistory;
318 const std::string&
centerPoint(
void)
const {
return m_centerPoint; }
322 void addToJsonObject(rapidjson::Document& _doc, rapidjson::Value& _object)
const;
325 std::string m_centerPoint;
326 std::string m_radius;
328 bool m_ignoreInHistory;
Definition RubberbandConfiguration.h:89
const std::list< cfgHistoryConnection > & history(void) const
Definition RubberbandConfiguration.h:110
const std::list< cfgLineConnection > & lines(void) const
Definition RubberbandConfiguration.h:109
const std::list< cfgCircleConnection > & circles(void) const
Definition RubberbandConfiguration.h:108
Definition RubberbandConfiguration.h:36
const std::list< cfgStep > steps(void) const
Definition RubberbandConfiguration.h:62
Definition RubberbandConfiguration.h:307
CircleOrientation orientation(void) const
Definition RubberbandConfiguration.h:320
const std::string & centerPoint(void) const
Definition RubberbandConfiguration.h:318
const std::string & radiusFormula(void) const
Definition RubberbandConfiguration.h:319
Definition RubberbandConfiguration.h:278
int stepId(void) const
Definition RubberbandConfiguration.h:290
Definition RubberbandConfiguration.h:176
Definition RubberbandConfiguration.h:244
const std::string & idTo(void) const
Definition RubberbandConfiguration.h:259
const std::string & idFrom(void) const
Definition RubberbandConfiguration.h:258
Definition RubberbandConfiguration.h:204
const std::string & u(void) const
Definition RubberbandConfiguration.h:223
const std::string & v(void) const
Definition RubberbandConfiguration.h:224
const std::string & w(void) const
Definition RubberbandConfiguration.h:225
int id(void) const
Definition RubberbandConfiguration.h:222
Definition RubberbandConfiguration.h:127
Projection projection(void) const
Definition RubberbandConfiguration.h:146
Projection
Definition RubberbandConfiguration.h:129
@ UV
Definition RubberbandConfiguration.h:130
const ConnectionConfigurationData & connectionData(void) const
Definition RubberbandConfiguration.h:147
const std::list< cfgPoint > & points(void) const
Definition RubberbandConfiguration.h:145
bool mayEndWithout(void) const
Definition RubberbandConfiguration.h:148
#define RBE_API_EXPORT
Definition dataTypes.h:18
Definition ParserAPI.h:21
AxisLimit
Definition dataTypes.h:61
CircleOrientation
Definition dataTypes.h:55
DefaultPoint
Definition dataTypes.h:50
eAxis
Definition dataTypes.h:31
@ W
Definition dataTypes.h:34