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