1 #ifndef faultstickset_h 2 #define faultstickset_h 20 #include "geometrymod.h" 32 bool isEmpty()
const {
return !sticks_.size(); }
35 virtual bool insertStick(
const Coord3& firstpos,
36 const Coord3& editnormal,
int stick=0,
38 bool removeStick(
int sticknr);
41 bool removeKnot(
const RowCol&);
44 int nrKnots(
int sticknr)
const;
54 bool isKnotDefined(
const RowCol&)
const;
56 const Coord3& getEditPlaneNormal(
int sticknr)
const;
61 void addUdfRow(
int stickidx,
int firstknotnr,
int nrknots);
62 void addEditPlaneNormal(
const Coord3&);
67 double zscale,
bool orderall=
true)
const;
69 bool isTwisted(
int sticknr1,
int sticknr2,
75 void selectStick(
int sticknr,
bool yn);
76 bool isStickSelected(
int sticknr)
const;
77 void preferStick(
int sticknr);
78 int preferredStickNr()
const;
79 void hideStick(
int sticknr,
bool yn,
int sceneidx=-1);
80 bool isStickHidden(
int sticknr,
int sceneidx=-1)
const;
81 void hideKnot(
const RowCol&,
bool yn,
int sceneidx=-1);
82 bool isKnotHidden(
const RowCol&,
int sceneidx=-1)
const;
85 double interStickDist(
int sticknr1,
int sticknr2,
#define mExpClass(module)
Definition: commondefs.h:160
ObjectSet< TypeSet< unsigned int > > knotstatus_
Definition: faultstickset.h:96
int firstrow_
Definition: faultstickset.h:88
TypeSet< int > firstcols_
Definition: faultstickset.h:91
ChangeTag
Definition: faultstickset.h:57
StickStatus
Definition: faultstickset.h:72
virtual StepInterval< int > colRange() const
ObjectSet< TypeSet< Coord3 > > sticks_
Definition: faultstickset.h:90
bool isEmpty() const
Definition: faultstickset.h:32
Set of pointers to objects.
Definition: commontypes.h:32
#define __mUndefIntVal
Almost MAXINT so unlikely, but not MAXINT to avoid that.
Definition: undefval.h:25
Definition: rowcolsurface.h:26
TypeSet< Coord3 > editplanenormals_
Definition: faultstickset.h:93
virtual StepInterval< int > colRange() const
Definition: faultstickset.h:48
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: geomelement.h:37
IdxPair used for its row() and col().
Definition: rowcol.h:25
Definition: faultstickset.h:57
Definition: faultstickset.h:58
Definition: faultstickset.h:27
TypeSet< unsigned int > stickstatus_
Definition: faultstickset.h:94
Definition: arraytesselator.h:21