lo conoscete? un buon manuale|libro di testo su cui studiare?
.net framework, lo conoscete? un buon manuale|libro di testo su cui studiare?
			Moderatori: cb_123, thrantir, tonertemplum


/****CLASSE PIEDE************************************************
 * CLASSE BASE DEFINIZIONE PIEDE                                *
 * CONTIENE TUTTE LE MISURE E POSIZIONI DI OGNI PARTE           *
 * DEL PIEDE CON LE RELATIVE AREE LUNGHEZZE                     *  
 * (ESPRESSE SIA IN MILLIMETRI CHE PIXEL)                       */
    class piede
    {
        //DEFINIZIONI VARIABILI CORRISPONDENTI ALLE PARTI ANATOMICHE E CARATTERISTICHE FISICHE*
        #region Dita
    
            public enum nomeDito //da usare al posto degli indici del vettore dito
            {
                alluce=0,
                secondo=1,
                terzo=2,
                quarto=3,
                quinto=5,
            }
            //dimensioni in px^2 e mm^2 dell'area del dito
            public uint[] areaDito=new uint[5] ;
            public uint[] areaDitomm=new uint[5] ;
            // posizione (x,y) in aforge.intpoint del centro del dito
            public IntPoint[] centroDito=new IntPoint[5];
            //estremi interno ed esterno delle 5 dita
            public IntPoint estremoOutDito=new IntPoint(0,0);
            public IntPoint estremoInDito=new IntPoint(0,0);
            
        #endregion
        #region Talloni
        //posizione (x,y)in aforge.intpoint dell'estremo esterno o interno dell'ovale del tallone
            public IntPoint EstremoOutTalloneAnt=new IntPoint(0,0);
            public IntPoint EstremoInTalloneAnt =new IntPoint(0,0);
            public IntPoint EstremoOutTallonePos=new IntPoint(0,0);
            public IntPoint EstremoInTallonePos=new IntPoint(0,0);
        
        //autoesplicative Area del tallone in px^2 e mm
            public uint AreaTalloneAnt;
            public uint AreaTallonePos;
            public uint AreaTalloneAntmm;
            public uint AreaTallonePosmm;
        
        //posizione del Centro (x,y) in aforge.intpoin del tallone
            public IntPoint CentroTalloneAnt =new IntPoint(0,0);
            public IntPoint CentroTallonePos=new IntPoint(0,0);
        #endregion
        
        #region Impronta
        //dimensioni dell'impronta nel suo insieme
            public ushort LunghezzaTotmm;
            public ushort LarghezzaTotmm;
            public ushort LunghezzaTot;
            public ushort LarghezzaTot;
        #endregion
          
        #region angoli bisettrice
         
        //gradi formati dalla bisettrice
            public float BisettriceOttimale;
            public float BisettriceReale;
        #endregion
        #region diagnosi
            public bool valgo;    //se tira all'interno
            public bool varo;      //se tira all'esterno
            //...aggiungere eventuali anomalie
 
        #endregion
      //COSTRUTTURE DELLA CLASSE
    public Piede
    {
    }
        
        //DEFINIZIONI METODI PER SETTARE / RESTITUIRE / TROVARE 
        #region acquisizione dati
  /*          private void TrovaAree 
            {
                Alluce.get
                //metodo per la ricerca dell'area occupata in pixel del blob.
            }
            private IntPoint TrovaEstremi 
            {
                //metodo per la ricerca degli punti estremi del piede                
            }
            private float CalcolaBisettrice 
            {
                //restituisce la bisettrice tra l'intersezione delle linee passanti per gli estremi dei talloni
            }
   */    
        #endregion
        
    }
}


Visitano il forum: Nessuno e 1 ospite