~ubuntu-branches/ubuntu/wily/ginkgocadx/wily-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/main/gui/callibration/datospersistentescalibrado.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Tille
  • Date: 2011-05-02 08:09:26 UTC
  • Revision ID: james.westby@ubuntu.com-20110502080926-bql5wep49c7hg91t
Tags: upstream-2.4.1.1
ImportĀ upstreamĀ versionĀ 2.4.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  
 
3
 *  $Id: datospersistentescalibrado.h 3066 2010-12-21 10:10:14Z carlos $
 
4
 *  Ginkgo CADx Project
 
5
 *
 
6
 *  Copyright 2008-10 MetaEmotion S.L. All rights reserved.
 
7
 *  http://ginkgo-cadx.com
 
8
 *
 
9
 *  This file is licensed under LGPL v3 license.
 
10
 *  See License.txt for details
 
11
 *
 
12
 *
 
13
 */
 
14
#pragma once
 
15
 
 
16
#include <string>
 
17
#include <vector>
 
18
 
 
19
namespace GNC {
 
20
        namespace GCS {
 
21
                class IVista;
 
22
        }
 
23
}
 
24
 
 
25
 
 
26
namespace GNC {
 
27
        namespace GUI {
 
28
                typedef struct TPuntoCalibrado{
 
29
                        float x;
 
30
                        float y;
 
31
                        TPuntoCalibrado(){
 
32
                                x=0.0f;
 
33
                                y=0.0f;
 
34
                        }
 
35
                        TPuntoCalibrado(float valx, float valy){
 
36
                                x = valx;
 
37
                                y = valy;
 
38
                        }
 
39
                } TPuntoCalibrado;
 
40
 
 
41
                typedef struct TipoWizardCalibrado{
 
42
                        vtkImageData* m_pImageData;
 
43
                        
 
44
                        typedef std::vector<TPuntoCalibrado> TVectorPuntos;
 
45
                        
 
46
                        int m_slice;
 
47
                        GNC::GCS::IVista* m_pVista;
 
48
                        float m_spacingHorizontal;
 
49
                        float m_spacingVertical;
 
50
                        TVectorPuntos m_Puntos;                 
 
51
 
 
52
                        TipoWizardCalibrado(){
 
53
                                m_pImageData = NULL;
 
54
                                m_spacingHorizontal = -1;
 
55
                                m_spacingVertical = -1;
 
56
                                m_slice = 0;
 
57
                        }
 
58
 
 
59
                        ~TipoWizardCalibrado(){
 
60
                                m_pImageData=NULL;
 
61
                                m_Puntos.clear();
 
62
                        }
 
63
 
 
64
                }TipoWizardCalibrado;
 
65
        };
 
66
};