35 #ifndef ANA_VOLUME_SLICE_H 36 #define ANA_VOLUME_SLICE_H 48 Slice(
const std::vector<AObject *> & );
78 static int registerClass();
virtual void SetMaterial(const Material &mat)
ViewState holds information about how a view wants to see an object.
virtual bool Is3DObject()
Can be display in 3D windows.
virtual void setProperties(carto::Object options)
Same as setHeaderOptions() and used by it, allows passing a dictionary.
Base Anatomist object (abstract)
virtual Tree * optionTree() const
Menu tree for new options, see object/optionMatcher.h.
std::list< carto::rc_ptr< GLItem > > PrimList
Self sliceable objects contain a plane (slice) information: slice position and orientation only depen...
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 AObject * volume() const
This class has to be rewritten, it's really really a shame.......
virtual int MType() const
Precise type of multi-object.
it's a list, in fact...
virtual bool CanRemove(AObject *obj)
virtual bool render(PrimList &, const ViewState &)
rendering (generally 2D or 3D using OpenGL).
virtual void setPalette(const AObjectPalette &palette)
virtual bool Is2DObject()
Can be display in 2D windows.
virtual const AObjectPalette * palette() const
virtual void sliceChanged()
called when the slice definition has changed
Slice(const std::vector< AObject *> &)
virtual Material & GetMaterial()
int type() const
Object type identifier.
virtual carto::Object makeHeaderOptions() const
get object properties into a generic object, such as material, palette etc before saving the object ...