12 virtual void init() = 0;
23 void setWiresU(
const std::vector<pConstShape>& in) { setWires(_uWires, in); }
24 void setWiresU(
const std::vector<pConstWire>& in) { _uWires = in; }
25 std::vector<pConstWire>
getWiresU()
const {
return _uWires; }
40 void setUniformUV(
const bool& uniform) { _arc_length = _arc_length_u = _merge_wirecoedges = uniform; }
43 bool getMerge()
const {
return _merge_wirecoedges; }
51 bool _allow_same_uv =
true;
53 bool _arc_length =
true;
54 bool _arc_length_u =
true;
55 bool _merge_wirecoedges =
true;
56 bool _self_int_test =
false;
65 std::vector<pConstWire> _uWires = {};
67 virtual void init()
override = 0;
84 void setWires(std::vector<pConstWire>& u_or_vWires,
const std::vector<pConstShape>& in);
112 double startAngle = 0.;
113 double startMagnitude = 0.;
114 double endAngle = 0.;
115 double endMagnitude = 0.;
129 void setWiresV(
const std::vector<pConstShape>& in) { setWires(_vWires, in); }
130 void setWiresV(std::vector<pConstWire> in) { _vWires = in; }
131 std::vector<pConstWire>
getWiresV()
const {
return _vWires; }
137 bool _virtualGuides =
false;
139 std::vector<pConstWire> _vWires = {};
205 void setSolid(
const bool& solid) { _solid = solid; }
208 void setSelfIntersect(
const bool& allowSelfIntersect) { _selfIntTest = !allowSelfIntersect; }
215 bool _selfIntTest =
false;
227 void init()
override = 0;
243 void setRigid(
const bool& rigid) { _rigid = rigid; }
258 double _finalTwistAngle = 0.;
std::shared_ptr< Topo::Wire const > pConstWire
Definition: Shape.h:97
void setWiresV(const std::vector< pConstShape > &in)
Definition: NurbsOptions.h:129
void init() override
Definition: NurbsOptions.h:188
std::vector< pConstWire > getWiresU() const
Definition: NurbsOptions.h:25
Definition: NurbsOptions.h:123
NormalsMode getNormalsMode() const
Definition: NurbsOptions.h:183
bool getAllowUV() const
Definition: NurbsOptions.h:46
void setPath(pConstWire in)
Definition: NurbsOptions.h:160
void setGapMode(GapMode mode)
Definition: NurbsOptions.h:109
bool getSimplify() const
Definition: NurbsOptions.h:48
void init() override
Definition: NurbsOptions.h:166
void setUniformUV(const bool &uniform)
Definition: NurbsOptions.h:40
bool getSelfIntersect() const
Definition: NurbsOptions.h:209
pConstShape getToShape() const
Definition: NurbsOptions.h:203
Definition: NurbsOptions.h:154
SweepingOptions()
Definition: NurbsOptions.h:194
void setNormalsMode(NormalsMode mode)
Definition: NurbsOptions.h:182
GapMode
Definition: NurbsOptions.h:103
std::shared_ptr< Topo::Face const > pConstFace
Definition: Shape.h:96
NormalsMode
Definition: NurbsOptions.h:175
ClosedMode
Definition: NurbsOptions.h:27
Definition: NurbsOptions.h:97
void setToShape(pConstShape shape)
Definition: NurbsOptions.h:202
void setFinalTwistAngle(const double &angleInDeg)
Definition: NurbsOptions.h:240
void setSolid(const bool &solid)
Definition: NurbsOptions.h:37
void setWiresU(const std::vector< pConstShape > &in)
Definition: NurbsOptions.h:23
GapMode getGapMode() const
Definition: NurbsOptions.h:110
bool getSolid() const
Definition: NurbsOptions.h:38
void setWiresV(std::vector< pConstWire > in)
Definition: NurbsOptions.h:130
void setVirtualGuides(const bool &virtualGuides)
Definition: NurbsOptions.h:133
bool getUseRail(Geom::Dir &railDir) const
Definition: NurbsOptions.h:251
pConstShape getShapeV() const
Definition: NurbsOptions.h:238
pConstShape getShapeU() const
Definition: NurbsOptions.h:200
Definition: NurbsOptions.h:230
bool getMerge() const
Definition: NurbsOptions.h:43
ClosedMode getClosedMode() const
Definition: NurbsOptions.h:35
pConstWire getPath() const
Definition: NurbsOptions.h:161
void setClosedMode(const ClosedMode &mode)
Definition: NurbsOptions.h:34
Definition: NurbsOptions.h:144
PathSkinningOptions(void)
Definition: NurbsOptions.h:157
Definition: NurbsOptions.h:7
bool getSimplify() const
Definition: NurbsOptions.h:212
std::vector< pConstWire > getWiresV() const
Definition: NurbsOptions.h:131
Definition: NurbsOptions.h:191
bool getVirtualGuides() const
Definition: NurbsOptions.h:134
void init() override
Definition: NurbsOptions.h:120
Definition: NurbsOptions.h:17
void init() override
Definition: NurbsOptions.h:151
double getFinalTwistAngle() const
Definition: NurbsOptions.h:241
bool getSolid() const
Definition: NurbsOptions.h:206
void setWiresU(const std::vector< pConstWire > &in)
Definition: NurbsOptions.h:24
Definition: NurbsOptions.h:87
void init() override
Definition: NurbsOptions.h:94
bool getArcLenU() const
Definition: NurbsOptions.h:42
LinearSkinningOptions(void)
Definition: NurbsOptions.h:147
PlanarSkinningOptions(void)
Definition: NurbsOptions.h:172
DraftSkinningOptions(void)
Definition: NurbsOptions.h:100
SkinningOptions(void)
Definition: NurbsOptions.h:20
std::shared_ptr< Topo::Shape const > pConstShape
Definition: Variant.h:77
void init() override
Definition: NurbsOptions.h:141
void init() override
Definition: NurbsOptions.h:265
BasicSkinningOptions(void)
Definition: NurbsOptions.h:90
PathSweepingOptions()
Definition: NurbsOptions.h:233
bool getRigid() const
Definition: NurbsOptions.h:244
void setSolid(const bool &solid)
Definition: NurbsOptions.h:205
void setSelfIntersect(const bool &allowSelfIntersect)
Definition: NurbsOptions.h:208
void setUseRail(const bool &rail, const Geom::Dir railDir=Geom::Dir(0., 0., 1.))
Definition: NurbsOptions.h:246
bool getArcLen() const
Definition: NurbsOptions.h:41
Definition: NurbsOptions.h:169
bool getSelfIntersect() const
Definition: NurbsOptions.h:47
void setRigid(const bool &rigid)
Definition: NurbsOptions.h:243
GuideSkinningOptions(void)
Definition: NurbsOptions.h:126