35 #ifndef ANATOMIST_SURFMATCHER_SURFMATCHER_H 36 #define ANATOMIST_SURFMATCHER_SURFMATCHER_H 46 template<
int D>
class ASurface;
50 struct ASurfMatcher_processData;
52 struct ASurfMatcher_ctrlPts;
113 static int registerClass();
115 static int _classType;
bool processFinished() const
void prepareNeighbourhood(ATriangulated *s, unsigned time)
Base Anatomist object (abstract)
virtual Tree * optionTree() const
Menu tree for new options, see object/optionMatcher.h.
bool ascending() const
true if direction is matching ascending (object 1 -> object 2)
ATriangulated * orgSurface() const
virtual void setAscending(bool asc)
static Tree * _optionTree
virtual void setParameters(const Tree &par)
void setOrgControlPoints(const std::vector< unsigned > &pts)
sets control points on the source surface (given in vertex indices)
void deleteOrgCtrlPointsSurf()
ATriangulated * destSurface() const
void setDestControlPoints(const std::vector< Point3df > &pts)
sets control points on the destination surface (given in 3D coords)
virtual void resetProcess()
resets the moving surface and associated cached data
ASurface< 3 > ATriangulated
virtual carto::SyntaxSet paramSyntax() const
void moveOrgCtrlPoints(unsigned oldtime, unsigned time)
virtual bool CanRemove(AObject *obj)
virtual Tree parameters()
std::map< std::string, Syntax > SyntaxSet
ATriangulated * movingSurface() const
it's a list, in fact...
virtual void processStep()
ASurfMatcher_ctrlPts * _ctrlPts
Fusion object to match 2 surfaces.
void computeLength(ATriangulated *s, unsigned time)
void deleteDstCtrlPointsSurf()
const std::vector< Point3df > & destControlPoints() const
virtual void setRecord(bool r)
ASurfMatcher(AObject *o1, AObject *o2)
ASurfMatcher_processData * _mdata
static void surfMatchControl(const std::set< AObject *> &)
Opens the surfmatcher control window.
const std::vector< unsigned > & orgControlPoints() const
virtual int MType() const
Precise type of multi-object.
int type() const
Object type identifier.