35 #ifndef ANATOMIST_INTERPOLER_INTERPOLER_H 36 #define ANATOMIST_INTERPOLER_INTERPOLER_H 45 template<
int D>
class ASurface;
78 unsigned tex = 0 )
const;
80 unsigned tex = 0 )
const;
101 static int registerClass();
103 static int _classType;
ViewState holds information about how a view wants to see an object.
static Tree * _optionTree
virtual void computeNeighbours(const ViewState &state)
Base Anatomist object (abstract)
AInterpoler(AObject *texsurf, AObject *surf)
void setNeighboursChanged()
virtual bool Is2DObject()
Can be display in 2D windows.
This class can be subclassed to represent an object that the programmer wants to have observed...
ASurface< 3 > ATriangulated
virtual GLComponent * orgGeom()
virtual GLComponent * texSurf()
bool hasNeighboursChanged() const
virtual bool Is3DObject()
Can be display in 3D windows.
virtual GLComponent * glTexture()
virtual Tree * optionTree() const
Menu tree for new options, see object/optionMatcher.h.
virtual void update(const Observable *observable, void *arg)
This class is an Observer of each of the AObject it groups.
virtual GLComponent * glGeometry()
void refreshTexCoordArray(const ViewState &state)
Base class for all OpenGL objects in Anatomist (with OpenGL display lists)
Interpoler object: associates a ATexSurface and a Triangulated to map the TexSurface's texture onto t...
virtual unsigned glTexCoordSize(const ViewState &, unsigned tex=0) const
texture array size (must be >= numVertex to work), defalut=0
virtual const GLfloat * glTexCoordArray(const ViewState &s, unsigned tex=0) const
void clearNeighboursChanged()
virtual bool CanRemove(AObject *)