35 #ifndef ANA_GRAPH_GRAPHOBJECT_H
36 #define ANA_GRAPH_GRAPHOBJECT_H
114 #define _TMP_ std::map<anatomist::AObject *, std::string>
Anatomist graph object: a list that manages destruction of its sub-elements.
virtual std::list< AObject * > renderedSubObjects(const ViewState &) const
lis of objects displayed in render() in a default implementation
static ShowType showType()
Visu mode (default is TRIANG)
virtual int MType() const
Precise type of multi-object.
virtual void SetMaterial(const Material &mat)
virtual const AObjectPalette * palette() const
virtual AObjectPalette * palette()
Normally, getOrCreatePalette() should be used instead of this function in most cases.
ShowType
Modes d'affichage des sous-objets.
@ FIRST
Affiche seulement le 1er objet 3D de la liste.
@ TRIANG
Affiche les triangulations seulement.
@ BUCKET
Affiche les buckets seulement.
@ ALL
Affiche tous les objets 3D.
virtual const Material & material() const
virtual const carto::GenericObject * attributed() const
virtual carto::GenericObject * attributed()
virtual const GLComponent * glGeometry(const ViewState &) const
carto::rc_ptr< carto::GenericObject > _gobject
virtual void internalUpdate()
Updates the state of the object.
AGraphObject(carto::GenericObject *go)
virtual void SetMaterialOrDefault(const AGraph *agr, const Material &mat)
virtual Material & GetMaterial()
virtual GLComponent * glGeometry(const ViewState &)
static void setShowType(ShowType type)
Control the visualization mode.
int type() const
Object type identifier.
Base class for all OpenGL objects in Anatomist (with OpenGL display lists)
This class has to be rewritten, it's really really a shame.......
Multi-object : AObject containing children objects.
Attributed objects wrapper.
#define DECLARE_GENERIC_OBJECT_TYPE(T)
ViewState holds information about how a view wants to see an object.