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