1 #ifndef explplaneintersection_h 2 #define explplaneintersection_h 15 #include "geometrymod.h" 36 int planeID(
int idx)
const;
37 const Coord3& planeNormal(
int id)
const;
40 int addPlane(
const Coord3& normal,
42 bool setPlane(
int id,
const Coord3&,
44 void removePlane(
int id);
46 void setShape(
const IndexedShape&);
48 const IndexedShape* getShape()
const;
51 bool needsUpdate()
const;
69 friend class ExplPlaneIntersectionExtractor;
#define mExpClass(module)
Definition: commondefs.h:160
Definition: indexedshape.h:182
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
bool needsupdate_
Definition: explplaneintersection.h:73
bool operator==(const PlaneIntersection &n) const
Definition: explplaneintersection.h:60
TypeSet< Coord3 > knots_
Definition: explplaneintersection.h:62
TypeSet< int > conns_
Definition: explplaneintersection.h:63
TypeSet< PlaneIntersection > pis_
Definition: explplaneintersection.h:82
ObjectSet< TypeSet< Coord3 > > planepts_
Definition: explplaneintersection.h:78
Definition: indexedshape.h:126
TypeSet< Coord3 > planenormals_
Definition: explplaneintersection.h:79
A Plane3 is a plane in space, with the equation: Ax + By + Cz + D = 0.
Definition: trigonometry.h:484
Definition: explplaneintersection.h:28
Definition: explplaneintersection.h:58
void setZScale(float nz)
Definition: explplaneintersection.h:55
IndexedGeometry * intersection_
Definition: explplaneintersection.h:75
Set of pointers to objects.
Definition: commontypes.h:32
const IndexedShape * shape_
Definition: explplaneintersection.h:71
Class that can execute a task.
Definition: task.h:169
const TypeSet< PlaneIntersection > & getPlaneIntersections()
Definition: explplaneintersection.h:65
A cartesian coordinate in 3D space.
Definition: coord.h:72
float getZScale() const
Definition: explplaneintersection.h:56
int shapeversion_
Definition: explplaneintersection.h:72
TypeSet< int > planeids_
Definition: explplaneintersection.h:77
float zscale_
Definition: explplaneintersection.h:81
Definition: arraytesselator.h:21