35 #ifndef ANA_SURFACE_CUTMESH_H 36 #define ANA_SURFACE_CUTMESH_H 55 CutMesh(
const std::vector<AObject *> & obj );
69 virtual bool boundingBox( std::vector<float> & bmin,
70 std::vector<float> & bmax )
const;
103 static int registerClass();
ViewState holds information about how a view wants to see an object.
virtual Tree * optionTree() const
Menu tree for new options, see object/optionMatcher.h.
Base Anatomist object (abstract)
std::list< carto::rc_ptr< GLItem > > PrimList
const AObject * planarMesh() const
virtual void SetMaterial(const Material &)
virtual void sliceChanged()
called when the slice definition has changed
virtual int MType() const
Precise type of multi-object.
Self sliceable objects contain a plane (slice) information: slice position and orientation only depen...
virtual bool render(PrimList &, const ViewState &)
rendering (generally 2D or 3D using OpenGL).
This class can be subclassed to represent an object that the programmer wants to have observed...
virtual std::list< AObject * > generativeChildren() const
Children objects which have been used to build the current MObject.
virtual void update(const Observable *observable, void *arg)
This class is an Observer of each of the AObject it groups.
const AObject * mesh() const
virtual bool boundingBox(std::vector< float > &bmin, std::vector< float > &bmax) const
Fills bmin and bmax with the N-D bounding box extrema in the object's referential coordinates...
virtual void clearHasChangedFlags() const
Reset has-changed flags Must be called after a call to notifyObservers function to reset cha...
CutMesh(const std::vector< AObject *> &obj)
const AObject * planarFusion() const
virtual bool Is2DObject()
Can be display in 2D windows.
This class has to be rewritten, it's really really a shame.......
virtual bool Is3DObject()
Can be display in 3D windows.
virtual bool CanRemove(AObject *obj)
it's a list, in fact...
virtual AObject * fallbackReferentialInheritance() const
object to take referential from when no ref is assigned
virtual Material & GetMaterial()
virtual carto::Object makeHeaderOptions() const
get object properties into a generic object, such as material, palette etc before saving the object ...
const AObject * cutMesh() const
const AObject * volume() const
int type() const
Object type identifier.
const AObject * borderPolygon() const
virtual void setProperties(carto::Object options)
Same as setHeaderOptions() and used by it, allows passing a dictionary.