35 #ifndef ANA_MOBJECT_FUSION3D_H    36 #define ANA_MOBJECT_FUSION3D_H    81     Fusion3D( 
const std::vector<AObject *> & obj );
    92     virtual bool boundingBox( std::vector<float> & bmin,
    93                               std::vector<float> & bmax ) 
const;
   133     virtual float glTexRate( 
unsigned tex = 0 ) 
const;
   134     virtual void glSetTexRate( 
float rate, 
unsigned tex = 0 );
   141                                           unsigned tex = 0 ) 
const;
   150                                        unsigned tex = 0 ) 
const;
   152                                       unsigned tex = 0 ) 
const;
   176     virtual void insert( 
AObject* o, 
int pos )
   184     void  refreshVTextureWithPointToPoint( 
const ViewState &, 
   185                                            unsigned tex ) 
const;
   186     void  refreshVTextureWithLineToPoint( 
const ViewState &, 
   187                                           unsigned tex ) 
const;
   188     void  refreshVTextureWithInsideLineToPoint( 
const ViewState &, 
   189                                                 unsigned tex ) 
const;
   190     void  refreshVTextureWithOutsideLineToPoint( 
const ViewState &, 
   191                                                  unsigned tex ) 
const;
   192     void  refreshVTextureWithSphereToPoint( 
const ViewState &, 
   193                                             unsigned tex ) 
const;
   197     void refreshLineTexture( 
float start_depth, 
float stop_depth,
   200     float enhancedMean( 
float value, 
int nbElemCorrected, 
int nbElem ) 
const;
   216   inline float Fusion3D::enhancedMean( 
float value, 
   220     if( nbElemCorrected == 0 )
   222     return( value / ((
float) nbElemCorrected) 
   223             * ( 1. - 0.7 * ((
float) nbElemCorrected) / ((
float) nbElem) ) );
 Fusion3D(const std::vector< AObject *> &obj)
 
virtual unsigned glNumTextures() const
 
void setSubMethod(SubMethod submethod)
 
ViewState holds information about how a view wants to see an object. 
 
Base Anatomist object (abstract) 
 
Multi-object generic iterator. 
 
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...
 
SubMethod
3D mapping sub-methods 
 
virtual const float * glAutoTexParams(unsigned coord=0, unsigned tex=0) const
 
std::list< carto::rc_ptr< GLItem > > PrimList
 
virtual bool Is3DObject()
Can be display in 3D windows. 
 
virtual int MType() const
Precise type of multi-object. 
 
virtual void glClearHasChangedFlags() const
 
unsigned _nsurf
number of 3D objects 
 
This class can be subclassed to represent an object that the programmer wants to have observed...
 
virtual void erase(iterator &)
 
virtual glTextureFiltering glTexFiltering(unsigned tex=0) const
 
virtual void insert(AObject *)
 
virtual glTextureMode glTexMode(unsigned tex=0) const
 
virtual GLPrimitives glTexNameGLL(const ViewState &, unsigned tex=0) const
 
virtual void glSetTexFiltering(glTextureFiltering x, unsigned tex=0)
 
Anatomist object which contains a volume of functional data (fMRI, PET...) and a surface of the MRI a...
 
virtual void glSetAutoTexMode(glAutoTexturingMode mode, unsigned tex=0)
 
virtual void glSetTexMode(glTextureMode mode, unsigned tex=0)
 
virtual void glSetTexImageChanged(bool x=true, unsigned tex=0) const
 
virtual Tree * optionTree() const
Menu tree for new options, see object/optionMatcher.h. 
 
virtual bool CanRemove(AObject *obj)
 
virtual void glGarbageCollector(int nkept=-1)
Frees unused display lists. 
 
virtual void update(const Observable *observable, void *arg)
This class is an Observer of each of the AObject it groups. 
 
virtual const AObjectPalette * glPalette(unsigned tex=0) const
 
virtual unsigned glDimTex(const ViewState &s, unsigned tex=0) const
texture dimension (1, 2 [or 3]) 
 
virtual float glTexRate(unsigned tex=0) const
 
void setMethod(Method method)
 
virtual GLPrimitives glTexEnvGLL(const ViewState &, unsigned tex=0) const
 
virtual bool hasTexture() const
Textured objects have values associated with a geometric coordinate. 
 
std::list< RefGLItem > GLPrimitives
 
Base class for all OpenGL objects in Anatomist (with OpenGL display lists) 
 
static Tree * _optionTree
 
void refreshVTexture(const ViewState &) const
Refresh texture values. 
 
glPart
GL object parts, each driving a GL list. 
 
virtual bool render(PrimList &, const ViewState &)
rendering (generally 2D or 3D using OpenGL). 
 
const TexExtrema & glTexExtrema(unsigned tex=0) const
 
virtual unsigned glTexCoordSize(const ViewState &, unsigned) const
texture array size (must be >= numVertex to work), defalut=0 
 
virtual const GLComponent * glTexture(unsigned tex=0) const
 
virtual const GLfloat * glTexCoordArray(const ViewState &, unsigned) const
 
virtual std::string viewStateID(glPart part, const ViewState &) const
Makes a unique ID from a viewstate. 
 
void setDepth(float depth)
 
virtual void glSetTexEnvChanged(bool x=true, unsigned tex=0) const
 
virtual glAutoTexturingMode glAutoTexMode(unsigned tex=0) const
 
virtual bool Is2DObject()
Can be display in 2D windows. 
 
virtual void glSetAutoTexParams(const float *params, unsigned coord=0, unsigned tex=0)
 
const AObject * volume(unsigned n) const
 
virtual void glSetTexRate(float rate, unsigned tex=0)