35 #ifndef ANA_SURFACE_MTEXTURE_H
36 #define ANA_SURFACE_MTEXTURE_H
69 unsigned tex = 0 )
const;
71 unsigned tex = 0 )
const;
79 unsigned tex = 0 )
const;
90 unsigned tex = 0 )
const;
100 unsigned n = 0 )
const;
105 static int registerClass();
virtual const float * glAutoTexParams(unsigned coord=0, unsigned tex=0) const
virtual void glSetTexRate(float rate, unsigned tex=0)
virtual glTextureMode glTexMode(unsigned tex=0) const
virtual GLPrimitives glTexNameGLL(const ViewState &, unsigned tex=0) const
virtual GLComponent * glAPI()
virtual void glSetTexFiltering(glTextureFiltering x, unsigned tex=0)
virtual void glGarbageCollector(int nkept=-1)
Frees unused display lists.
virtual const GLComponent * glAPI() const
virtual void glSetTexMode(glTextureMode mode, unsigned tex=0)
virtual std::string viewStateID(glPart part, const ViewState &) const
Makes a unique ID from a viewstate.
virtual glTextureFiltering glTexFiltering(unsigned tex=0) const
virtual void glSetAutoTexMode(glAutoTexturingMode mode, unsigned tex=0)
virtual const GLComponent * glTexture(const ViewState &vs, unsigned n=0) const
AMTexture(const std::vector< AObject * > &obj)
virtual glAutoTexturingMode glAutoTexMode(unsigned tex=0) const
virtual GLComponent * glTexture(const ViewState &vs, unsigned n=0)
virtual bool Is3DObject()
Can be display in 3D windows.
virtual void glSetTexRGBInterpolation(bool x, unsigned tex=0)
virtual TexInfo & glTexInfo(unsigned tex=0) const
virtual void update(const Observable *, void *)
This class is an Observer of each of the AObject it groups.
virtual unsigned glDimTex(const ViewState &, unsigned tex=0) const
texture dimension (1, 2 [or 3])
virtual bool CanRemove(AObject *obj)
virtual unsigned glNumTextures() const
virtual bool glTexRGBInterpolation(unsigned tex=0) const
virtual Tree * optionTree() const
Menu tree for new options, see object/optionMatcher.h.
virtual bool Is2DObject()
Can be display in 2D windows.
virtual int MType() const
Precise type of multi-object.
virtual float glTexRate(unsigned tex=0) const
virtual unsigned glNumTextures(const ViewState &) const
virtual unsigned glTexCoordSize(const ViewState &, unsigned tex=0) const
texture array size (must be >= numVertex to work), defalut=0
virtual const float * glTexCoordArray(const ViewState &, unsigned tex=0) const
virtual const AObjectPalette * glPalette(unsigned tex=0) const
virtual void glSetAutoTexParams(const float *params, unsigned coord=0, unsigned tex=0)
Base Anatomist object (abstract)
int type() const
Object type identifier.
Base class for all OpenGL objects in Anatomist (with OpenGL display lists)
glPart
GL object parts, each driving a GL list.
This class can be subclassed to represent an object that the programmer wants to have observed.
std::list< RefGLItem > GLPrimitives
ViewState holds information about how a view wants to see an object.