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