35#ifndef ANA_GRAPH_GRAPHOBJECT_H
36#define ANA_GRAPH_GRAPHOBJECT_H
114#define _TMP_ std::map<anatomist::AObject *, std::string>
virtual const Material & material() const
static ShowType showType()
Visu mode (default is TRIANG)
virtual int MType() const
Precise type of multi-object.
virtual void SetMaterial(const Material &mat)
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 GLComponent * glGeometry(const ViewState &)
virtual std::list< AObject * > renderedSubObjects(const ViewState &) const
lis of objects displayed in render() in a default implementation
virtual const AObjectPalette * palette() const
carto::rc_ptr< carto::GenericObject > _gobject
virtual Material & GetMaterial()
virtual AObjectPalette * palette()
Normally, getOrCreatePalette() should be used instead of this function in most cases.
virtual void internalUpdate()
Updates the state of the object.
AGraphObject(carto::GenericObject *go)
virtual void SetMaterialOrDefault(const AGraph *agr, const Material &mat)
virtual const carto::GenericObject * attributed() const
virtual carto::GenericObject * attributed()
static void setShowType(ShowType type)
Control the visualization mode.
virtual const GLComponent * glGeometry(const ViewState &) const
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.......
PythonAObject AttributedAObject
#define DECLARE_GENERIC_OBJECT_TYPE(T)
ViewState holds information about how a view wants to see an object.