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