34 #ifndef ANATOMIST_SURFACE_SHOWNORMALS_H 35 #define ANATOMIST_SURFACE_SHOWNORMALS_H 58 float length()
const {
return _length; }
68 std::vector<ASurface<3> *> _ameshes;
71 static float _default_length;
81 virtual std::string
ID()
const {
return "NormalsFusionMethod"; }
82 virtual int canFusion(
const std::set<AObject *> & objects );
83 virtual AObject* fusion(
const std::vector<AObject *> & objects );
84 virtual std::string generatedObjectType()
const;
ViewState holds information about how a view wants to see an object.
Base Anatomist object (abstract)
static void editNormalsProperties(const std::set< AObject *> &)
std::list< carto::rc_ptr< GLItem > > PrimList
virtual void update(const Observable *observable, void *arg)
This class is an Observer of each of the AObject it groups.
This class can be subclassed to represent an object that the programmer wants to have observed...
const ASurface< 2 > * normalMesh() const
ASurface< 2 > * normalMesh()
virtual ObjectMenu * optionMenu() const
it's a list, in fact...
virtual Tree * optionTree() const
Menu tree for new options, see object/optionMatcher.h.
void setLength(float length)
A mesh displaying normals for other meshes.
virtual std::string ID() const
identifier for the method
virtual bool render(PrimList &plist, const ViewState &vs)
rendering (generally 2D or 3D using OpenGL).
ANormalsMesh(const std::vector< AObject *> &ameshes)