![]() |
anatomist
5.1.2
3D neuroimaging data viewer
|
A Multi-object with OpenGL rendering capabilities. More...
#include <anatomist/mobject/glmobject.h>
Public Member Functions | |
GLMObject () | |
virtual | ~GLMObject () |
virtual const GLComponent * | glAPI () const |
virtual GLComponent * | glAPI () |
virtual const Material * | glMaterial () const |
virtual Material & | GetMaterial () |
virtual const Material & | material () const |
virtual const AObjectPalette * | glPalette (unsigned tex=0) const |
virtual void | update (const Observable *, void *) |
This class is an Observer of each of the AObject it groups. More... | |
virtual bool | render (PrimList &, const ViewState &vs) |
rendering (generally 2D or 3D using OpenGL). More... | |
virtual void | glSetChanged (glPart, bool x=true) const |
virtual void | glClearHasChangedFlags () const |
virtual unsigned | glNumVertex (const ViewState &) const |
virtual const GLfloat * | glVertexArray (const ViewState &) const |
virtual const GLfloat * | glNormalArray (const ViewState &) const |
normals array (optional), default=0 (no normals, flat shaded faces) More... | |
virtual unsigned | glPolygonSize (const ViewState &) const |
number of vertices per polygon (default = 3: triangles) More... | |
virtual unsigned | glNumPolygon (const ViewState &) const |
virtual const GLuint * | glPolygonArray (const ViewState &) const |
number of vertices per polygon (default = 3: triangles) More... | |
virtual void | glSetTexImageChanged (bool x=true, unsigned tex=0) const |
virtual void | glSetTexEnvChanged (bool x=true, unsigned tex=0) const |
virtual TexInfo & | glTexInfo (unsigned tex=0) const |
virtual const TexExtrema & | glTexExtrema (unsigned tex=0) const |
virtual TexExtrema & | glTexExtrema (unsigned tex=0) |
virtual unsigned | glNumTextures () const |
virtual unsigned | glNumTextures (const ViewState &) const |
virtual glTextureMode | glTexMode (unsigned tex=0) const |
virtual void | glSetTexMode (glTextureMode mode, unsigned tex=0) |
virtual float | glTexRate (unsigned tex=0) const |
virtual void | glSetTexRate (float rate, unsigned tex=0) |
virtual glTextureFiltering | glTexFiltering (unsigned tex=0) const |
virtual void | glSetTexFiltering (glTextureFiltering x, unsigned tex=0) |
virtual void | glSetTexRGBInterpolation (bool x, unsigned tex=0) |
virtual bool | glTexRGBInterpolation (unsigned tex=0) const |
virtual glAutoTexturingMode | glAutoTexMode (unsigned tex=0) const |
virtual void | glSetAutoTexMode (glAutoTexturingMode mode, unsigned tex=0) |
virtual const float * | glAutoTexParams (unsigned coord=0, unsigned tex=0) const |
virtual void | glSetAutoTexParams (const float *params, unsigned coord=0, unsigned tex=0) |
virtual bool | glTexImageChanged (unsigned tex=0) const |
virtual bool | glTexEnvChanged (unsigned tex=0) const |
virtual unsigned | glDimTex (const ViewState &, unsigned tex=0) const |
texture dimension (1, 2 [or 3]) More... | |
virtual unsigned | glTexCoordSize (const ViewState &, unsigned tex=0) const |
texture array size (must be >= numVertex to work), defalut=0 More... | |
virtual const GLfloat * | glTexCoordArray (const ViewState &, unsigned tex=0) const |
virtual bool | glMakeTexImage (const ViewState &state, const GLTexture &gltex, unsigned tex) const |
If you make non-standard textures (ie not from a palette), overload this function to fill gltex . More... | |
virtual bool | glMakeTexEnvGLL (const ViewState &state, const GLList &gllist, unsigned tex) const |
virtual void | glSetMaterialGLL (const std::string &state, RefGLItem x) |
virtual void | glSetTexNameGLL (const std::string &state, RefGLItem x, unsigned tex=0) |
virtual GLPrimitives | glMaterialGLL (const ViewState &state) const |
virtual GLPrimitives | glTexNameGLL (const ViewState &, unsigned tex=0) const |
virtual GLPrimitives | glTexEnvGLL (const ViewState &, unsigned tex=0) const |
virtual void | glGarbageCollector (int nkept=-1) |
Frees unused display lists. More... | |
virtual AObjectPalette * | palette () |
Normally, getOrCreatePalette() should be used instead of this function in most cases. More... | |
virtual const AObjectPalette * | palette () const |
virtual GLComponent * | glGeometry (const ViewState &) |
virtual GLComponent * | glTexture (const ViewState &, unsigned n=0) |
virtual const GLComponent * | glGeometry (const ViewState &) const |
virtual const GLComponent * | glTexture (const ViewState &, unsigned n=0) const |
virtual std::string | viewStateID (glPart part, const ViewState &) const |
Makes a unique ID from a viewstate. More... | |
virtual void | setShaderParameters (const Shader &shader, const ViewState &state) const |
![]() | |
MObject () | |
virtual | ~MObject () |
virtual const MObject * | mObjectAPI () const |
virtual MObject * | mObjectAPI () |
int | isMultiObject () const |
maybe not necessary ?: we can use dynamic_cast instead More... | |
virtual int | MType () const =0 |
Precise type of multi-object. More... | |
virtual void | setReferential (Referential *ref) |
virtual void | setReferentialInheritance (AObject *) |
virtual size_t | size () const =0 |
virtual iterator | begin ()=0 |
virtual const_iterator | begin () const =0 |
virtual iterator | end ()=0 |
virtual const_iterator | end () const =0 |
virtual void | insert (AObject *)=0 |
virtual const_iterator | find (const AObject *) const =0 |
virtual void | erase (iterator &)=0 |
void | eraseObject (AObject *obj) |
virtual float | MinT () const |
Obsolete, deprecated. More... | |
virtual float | MaxT () const |
Obsolete, deprecated. More... | |
virtual bool | boundingBox2D (std::vector< float > &bmin, std::vector< float > &bmax) const |
Bounding box in 2D views mode. More... | |
virtual std::vector< float > | voxelSize () const |
Returns at least 4 sizes. For 3D objects, returns (1, 1, 1, 1) More... | |
virtual bool | boundingBox (std::vector< float > &bmin, std::vector< float > &bmax) const |
Fills bmin and bmax with the N-D bounding box extrema in the object's referential coordinates. More... | |
virtual AObject * | objectAt (const std::vector< float > &pos, float tol=0) |
Find the object (sub-object) at given postion with a tolerence. More... | |
virtual std::list< AObject * > | renderedSubObjects (const ViewState &) const |
lis of objects displayed in render() in a default implementation More... | |
virtual bool | renderingIsObserverDependent () const |
true only if the rendering (openGL) of the object changes with the observer position/orientation of the view (which is rare, but typically needed for Volume Rendering) More... | |
virtual bool | Is2DObject () |
Can be display in 2D windows. More... | |
virtual bool | Is3DObject () |
Can be display in 3D windows. More... | |
virtual bool | isTransparent () const |
virtual bool | CanRemove (AObject *obj) |
virtual void | setContentChanged () const |
bool | hasContentChanged () const |
virtual void | clearHasChangedFlags () const |
virtual void | SetMaterial (const Material &mat) |
virtual void | setPalette (const AObjectPalette &pal) |
virtual bool | shouldRemoveChildrenWithMe () const |
tells whether children objects should be removed from views when this MObject is removed from a view. More... | |
virtual std::list< AObject * > | generativeChildren () const |
Children objects which have been used to build the current MObject. More... | |
![]() | |
AObject (const std::string &filename="") | |
virtual | ~AObject () |
AObject subclasses must call cleanup() in their destructor. More... | |
virtual AObject * | clone (bool shallow=true) |
Makes a copy of the object, with a duplicated object structure, palette and material, but which may share the underlying low-level data object (Aims object). More... | |
int | type () const |
Object type identifier. More... | |
void | setType (int type) |
Method to set type id, because type() is not virtual. More... | |
int | id () const |
Unique ID assigned upon construction, but somewhat unused now... More... | |
std::string | name () const |
Name shown in control window. More... | |
std::string | fileName () const |
File name (if any) for loaded objects. More... | |
void | setName (const std::string &n) |
void | setFileName (const std::string &filename) |
void | setId (int id) |
virtual void | setVoxelSize (const std::vector< float > &) |
virtual void | internalUpdate () |
Updates the state of the object. More... | |
virtual void | adjustPalette () |
Creates or updates object palette according to object values (if needed) More... | |
virtual const AObjectPalette * | getOrCreatePalette () const |
User normally calls this function. More... | |
virtual void | createDefaultPalette (const std::string &name="") |
function called by getOrCreatePalette() - overloadable, need not be called directly More... | |
Referential * | getReferential () const |
AObject * | referentialInheritance () const |
if not null, the object referential is inherited from this object More... | |
virtual AObject * | fallbackReferentialInheritance () const |
object to take referential from when no ref is assigned More... | |
const Referential * | previousReferential () const |
Referential that the object was in before the last change. More... | |
virtual Tree * | optionTree () const |
Menu tree for new options, see object/optionMatcher.h. More... | |
virtual ObjectMenu * | optionMenu () const |
int | InMemory () const |
For objects loading only when needed (not used yet...) More... | |
int | Visible () const |
Visibility in control window. More... | |
void | SetVisibility (int v) |
ParentList & | Parents () |
List of multi-objects containing this one. Obsolete: use parents() More... | |
ParentList & | parents () |
List of multi-objects containing this one. More... | |
const ParentList & | parents () const |
List of multi-objects containing this one. More... | |
virtual void | RegisterParent (MObject *pob) |
virtual void | UnregisterParent (MObject *pob) |
const std::set< AWindow * > & | WinList () |
List of windows showing this object. More... | |
virtual void | registerWindow (AWindow *window) |
virtual void | unregisterWindow (AWindow *window) |
virtual bool | IsFusion2DAllowed () |
virtual bool | textured2D () const |
true if 2D rendering uses a textured plane (not a full openGL object) More... | |
virtual int | CanBeDestroyed () |
Allows / unallows destruction of object. More... | |
virtual void | setReferenceChanged () |
bool | hasReferenceChanged () const |
virtual void | setInternalsChanged () |
Notifies some underlying lower-level objects have changed. More... | |
bool | userModified () const |
if the object has been modified by user interaction, and needs saving More... | |
void | setUserModified (bool state=true) |
if the object has been modified by user interaction, and needs saving More... | |
virtual AObject * | objectAt (const std::vector< float > &pos, float tol, const Referential *orgref, const Point3df &orggeom) |
Same with origin window referential. More... | |
virtual void | setGeomExtrema () |
Scans the object internals and determines its geometry extrema. More... | |
virtual void | SetExtrema () |
Scans the object internals and determines its (texture) extrema values. More... | |
virtual bool | hasTexture () const |
Textured objects have values associated with a geometric coordinate. More... | |
virtual unsigned | dimTexture () const |
Number of texture values for a point. More... | |
virtual float | mixedTexValue (const std::vector< float > &pos, const Referential *orgRef) const |
Gets a "mixed" texture value at a given space / time location. More... | |
virtual float | mixedTexValue (const std::vector< float > &pos) const |
Same as above except that coordinates are not transformed but taken in object coordinates system. More... | |
virtual std::vector< float > | texValues (const std::vector< float > &pos, const Referential *orgRef) const |
Gets the array of texture values at a given location. More... | |
virtual std::vector< float > | texValues (const std::vector< float > &pos) const |
virtual bool | loadable () const |
virtual bool | savable () const |
virtual bool | reload (const std::string &filename) |
Re-reads objects from disk. More... | |
virtual std::string | objectFullTypeName (void) const |
Get Object Full Type Name. More... | |
bool | save (const std::string &filename, bool onlyIfModified) |
virtual bool | save (const std::string &filename) |
virtual bool | printTalairachCoord (const Point3df &, const Referential *) const |
should be replaced by a real referential More... | |
void | setHeaderOptions () |
Set some object properties according to the header (.minf), such as material, palette etc. More... | |
virtual void | setProperties (carto::Object options) |
Same as setHeaderOptions() and used by it, allows passing a dictionary. More... | |
virtual void | storeHeaderOptions () |
Store some object properties into the header (.minf), such as material, palette etc before saving the object. More... | |
virtual carto::Object | makeHeaderOptions () const |
get object properties into a generic object, such as material, palette etc before saving the object More... | |
long | loadDate () const |
Time the object was created, loaded or reloaded. More... | |
void | setLoadDate (long t) |
bool | isCopy () const |
void | setCopyFlag (bool x=true) |
virtual std::string | toolTip () const |
tooltip displayed in 3D views (HTML). More... | |
carto::Object | aimsMeshFromGLComponent () |
![]() | |
Observable () | |
Construct an Observable with zero observers. More... | |
virtual | ~Observable () |
does nothing More... | |
void | addObserver (Observer *observer) |
Adds an observer to the set of observers for this object. More... | |
void | deleteObserver (Observer *observer) |
Deletes an observer from the set of observers of this object. More... | |
void | deleteObservers () |
Clears the observer list so that this object no longer has any observers (doesn't call any observer method - see notifyUnregisterObservers() for this ) More... | |
int | countObservers () const |
Returns the number of observers of this object. More... | |
virtual void | notifyObservers (void *arg=0) |
If this object has changed, as indicated by the hasChanged method, then notify all of its observers. More... | |
virtual void | notifyUnregisterObservers () |
Notifies observable destruction to all observers and unregisters them. More... | |
bool | hasChanged () const |
Tests if this object has changed. More... | |
bool | obsHasChanged (int) const |
only valid during an Observer::update() More... | |
bool | obsHasChanged (const std::string &) const |
only valid during an Observer::update() More... | |
void | setChanged () const |
Indicates that this object has changed. More... | |
![]() | |
SharedObject () | |
SharedObject (const SharedObject &x) | |
virtual | ~SharedObject () |
SharedObject & | operator= (const SharedObject &) |
bool | testDeletable () |
bool | tryDelete () |
![]() | |
void | attachWeakPtr (weak_ptr< T > &) const |
void | detachWeakPtr (weak_ptr< T > &) const |
void | attachWeakPtr (weak_shared_ptr< T > &) const |
void | detachWeakPtr (weak_shared_ptr< T > &) const |
virtual | ~WeakObject () |
![]() | |
RCObject () | |
RCObject (const RCObject &) | |
RCObject & | operator= (const RCObject &) |
virtual | ~RCObject () |
![]() | |
virtual | ~Observer () |
![]() | |
GLComponent () | |
virtual | ~GLComponent () |
void | clearLists () |
virtual const Sliceable * | sliceableAPI () const |
virtual Sliceable * | sliceableAPI () |
virtual bool | glHasChanged (glPart) const |
void | setShader (const Shader &shader) |
void | removeShader () |
void | setupShader () |
create, setup, or remove the shader More... | |
const Shader * | getShader () const |
Shader * | getShader () |
virtual unsigned long | glMaxNumDisplayedPolygons () const |
Limit to the number of displayed polygons (default: 0, unlimited or ) global default value) More... | |
virtual void | glSetMaxNumDisplayedPolygons (unsigned long n) |
virtual GLint | glGLTexMode (unsigned tex=0) const |
virtual GLint | glGLTexFiltering (unsigned tex=0) const |
virtual GLPrimitives | glMainGLL (const ViewState &) |
unsigned | glStateMemory () const |
Number of unused display lists in different states kept in memory (default: 4) More... | |
virtual void | glSetStateMemory (unsigned n) |
virtual bool | glMakeBodyGLL (const ViewState &state, const GLList &gllist) const |
If you want to make a non-standard GL display list for the body geometry, overload this function to fill gllist . More... | |
virtual void | glBeforeBodyGLL (const ViewState &state, GLPrimitives &pl) const |
GL list to execute before the body is rendered. More... | |
virtual void | glAfterBodyGLL (const ViewState &state, GLPrimitives &pl) const |
GL list to execute after the body is rendered. More... | |
virtual carto::VolumeRef< AimsRGBA > | glBuildTexImage (const ViewState &state, unsigned tex, int dimx=-1, int dimy=-1, bool useTexScale=true) const |
If you make non-standard textures (ie not from a palette), overload this function. More... | |
virtual GLPrimitives | glBodyGLL (const ViewState &state) const |
virtual void | glSetMainGLL (const std::string &state, GLPrimitives x) |
virtual void | glSetBodyGLL (const std::string &state, RefGLItem x) |
virtual std::set< glTextureMode > | glAllowedTexModes (unsigned tex=0) const |
List of actually allowed texturing modes for this particular object. More... | |
virtual std::set< glTextureFiltering > | glAllowedTexFilterings (unsigned tex=0) const |
virtual std::set< glAutoTexturingMode > | glAllowedAutoTexModes (unsigned tex=0) const |
virtual bool | glAllowedTexRGBInterpolation (unsigned tex=0) const |
virtual bool | glAllowedTexRate (unsigned tex=0) const |
virtual carto::Object | debugInfo () const |
int | glObjectID () const |
Protected Member Functions | |
virtual bool | glToRef (const Referential *objref, GLPrimitives &pl) const |
get to geometry object referential before drawing. More... | |
![]() | |
virtual void | _insertObject (AObject *o) |
must be called by all subclasses in their insert() implementation More... | |
virtual void | _eraseObject (AObject *o) |
must be called by all subclasses if they reimplement erase() More... | |
virtual void | updateSubObjectReferential (const AObject *o) |
virtual void | clearReferentialInheritance () |
sets the object to get referential from to null, unregister it More... | |
![]() | |
const PrimList & | primitives () const |
PrimList & | primitives () |
virtual void | cleanup () |
must be called by objects destructors - Must be explicitly called by each object destructor since it can call virtual functions More... | |
AObject *& | _referentialInheritance () |
provide access to derived classes More... | |
virtual void | unregisterObservable (Observable *) |
Called when an observable is destroyed, only called by Observable: don't use this function directly. More... | |
AObject (const AObject &) | |
copy constructor, protected and used only to reimplement clone() More... | |
![]() | |
void | clearChanged () const |
Indicates that this object has no longer changed, or that it has already notified all of its observers of its most recent change. More... | |
void | obsSetChanged (int, bool=true) const |
int-based change flags (use enums to address them) More... | |
void | obsSetChanged (const std::string &, bool=true) const |
string-based change flags More... | |
![]() | |
void | disableRefCount () |
![]() | |
WeakObject () | |
WeakObject (const WeakObject &) | |
WeakObject & | operator= (const WeakObject &) |
![]() | |
virtual void | cleanupObserver () |
call this function from inherited classes destructors. More... | |
virtual void | registerObservable (Observable *) |
only called by Observable: don't use this function directly More... | |
const std::set< Observable * > & | observed () const |
![]() | |
void | glAddTextures (unsigned ntex=1) |
A Multi-object with OpenGL rendering capabilities.
Contrarily to other list and vector variants of MObject, this one is not designed as a sequence of children objects, but a recombination of several rendering parts: geometry, texture...
Definition at line 49 of file glmobject.h.
anatomist::GLMObject::GLMObject | ( | ) |
|
virtual |
|
virtual |
Reimplemented from anatomist::AObject.
Reimplemented in anatomist::TesselatedMesh.
|
inlinevirtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture.
Definition at line 56 of file glmobject.h.
|
inlinevirtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture.
Definition at line 55 of file glmobject.h.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, and anatomist::Fusion3D.
|
virtual |
texture dimension (1, 2 [or 3])
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::Fusion3D, and anatomist::AMTexture.
|
virtual |
Frees unused display lists.
Display lists are created when requested by views, according to a view state, and are stored in the object. As several view states will probably be needed by different views, they are all kept internally (by a reference counter). When a display list is no longer used by views, it is still not destroyed because it could be costy to re-crete it for another view later.
To avoid objects to grow and eat all memory, this function will be called from time to time (when creating new lists) to free some lists which are not currently used by any view.
nkept | if negative, glStateMemory() unused items are kept in the object, otherwise the specified number are kept |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented in anatomist::TesselatedMesh, and anatomist::AInterpoler.
|
virtual |
Reimplemented in anatomist::TesselatedMesh, and anatomist::AInterpoler.
|
virtual |
Reimplemented from anatomist::GLComponent.
|
virtual |
If you make non-standard textures (ie not from a palette), overload this function to fill gltex
.
Since Anatomist 4.5, glMakeTexImage calls glBuildTexImage, which is actually the method to be overloaded by subclasses.
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::TesselatedMesh.
|
virtual |
Reimplemented from anatomist::GLComponent.
|
virtual |
normals array (optional), default=0 (no normals, flat shaded faces)
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::TesselatedMesh.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::TesselatedMesh.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::TesselatedMesh.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, anatomist::Fusion3D, and anatomist::AInterpoler.
|
virtual |
number of vertices per polygon (default = 3: triangles)
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::TesselatedMesh.
|
virtual |
number of vertices per polygon (default = 3: triangles)
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::TesselatedMesh.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
|
virtual |
Reimplemented from anatomist::GLComponent.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AInterpoler, anatomist::Fusion3D, and anatomist::AMTexture.
|
virtual |
texture array size (must be >= numVertex to work), defalut=0
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::Fusion3D, anatomist::AMTexture, and anatomist::AInterpoler.
|
virtual |
Reimplemented from anatomist::GLComponent.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::Fusion3D, and anatomist::AInterpoler.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::Fusion3D, and anatomist::AInterpoler.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::AMTexture.
|
virtual |
Reimplemented in anatomist::PlanarFusion3D, anatomist::Fusion3D, anatomist::TesselatedMesh, anatomist::AMTexture, and anatomist::AInterpoler.
|
virtual |
Reimplemented in anatomist::PlanarFusion3D, anatomist::Fusion3D, anatomist::TesselatedMesh, anatomist::AMTexture, and anatomist::AInterpoler.
|
protectedvirtual |
get to geometry object referential before drawing.
This is an internal function not intended to be used by end users
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::TesselatedMesh.
|
virtual |
Reimplemented from anatomist::AObject.
Reimplemented in anatomist::TesselatedMesh.
|
virtual |
Normally, getOrCreatePalette() should be used instead of this function in most cases.
Reimplemented from anatomist::AObject.
|
virtual |
Reimplemented from anatomist::AObject.
rendering (generally 2D or 3D using OpenGL).
Calls GLComponent API ig glAPI() is not null, otherwise nothing is done and this method should be overloaded.
Reimplemented from anatomist::MObject.
Reimplemented in anatomist::TesselatedMesh, and anatomist::Fusion3D.
|
virtual |
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::ATexSurface.
|
virtual |
This class is an Observer of each of the AObject it groups.
Reimplemented from anatomist::MObject.
Reimplemented in anatomist::ATexSurface, anatomist::TesselatedMesh, anatomist::PlanarFusion3D, anatomist::Fusion3D, anatomist::AInterpoler, and anatomist::AMTexture.
|
virtual |
Makes a unique ID from a viewstate.
The ID must be unique within the GLComponent instance and for the part part
. Depending on the aspects of the viewstate to take into account, subclasses may have to overload it.
For instance, a mesh may build an ID only taking time into account, whereas a volume slice must also code the slice position and orientation into the ID.
Reimplemented from anatomist::GLComponent.
Reimplemented in anatomist::PlanarFusion3D, anatomist::AMTexture, anatomist::Fusion3D, and anatomist::AInterpoler.