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