Source Code

 

 

 

// ----------------------------------------------------------------------------

//

//          SliceO_Root

//

// ----------------------------------------------------------------------------

class          SLICEO_DB SliceO_Root:public SliceO_Class  {

 

private:

 

public:

 

          // ---- Constructors ---

          SliceO_Root() ;

} ;

 

// ----------------------------------------------------------------------------

// ----------------------------------------------------------------------------

inline          SliceO_Root::SliceO_Root()

{

int                    Class_Root_Metrics_Get_Res( SliceO_Class *pt, void *ima, int *x, int *y ) ;

Vect                    Class_Root_Metrics_Get_Pos( SliceO_Class *pt, void *ima, Vect pos ) ;

int                    Class_Root_Pixel_Get_GLI( SliceO_Class *pt, void *ima, Vect pos ) ;

unsigned char          Class_Root_Pixel_Get_TAG( SliceO_Class *pt, void *ima, Vect pos ) ;

int                    Class_Root_Pixel_Set_TAG( SliceO_Class *pt, void *ima, Vect pos, unsigned char tag ) ;

 

          this->Class_Id_Set( CLASS_ID_ROOT ) ;

          this->Title_Set( "root" ) ;

          this->Name_Set( "root" ) ;

 

          // ====================================================================

          // ===              Set the callbacks to the metrics functions                        ===

          // ====================================================================

          Fct_Metrics_Get_Res = Class_Root_Metrics_Get_Res ;

          Fct_Metrics_Get_Pos = Class_Root_Metrics_Get_Pos ;

 

          // ====================================================================

          // ===              Set the callbacks to the pixel "Get" functions              ===

          // ====================================================================

          Fct_Pixel_Get_GLI = Class_Root_Pixel_Get_GLI ;

          Fct_Pixel_Get_TAG = Class_Root_Pixel_Get_TAG ;

          Fct_Pixel_Set_TAG = Class_Root_Pixel_Set_TAG ;

}