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

« back to all changes in this revision

Viewing changes to src/cadxcore/api/controllers/icontroladorcarga.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-10-24 21:28:17 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131024212817-ej1skb9og09d3ht6
Tags: 3.5.0.1137.31+dfsg-1
New upstream release [October 2013]

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *  $Id: icontroladorcarga.h $
4
4
 *  Ginkgo CADx Project
5
5
 *
6
 
 *  Copyright 2008-12 MetaEmotion S.L. All rights reserved.
 
6
 *  Copyright 2008-14 MetaEmotion S.L. All rights reserved.
7
7
 *  http://ginkgo-cadx.com
8
8
 *
9
9
 *  This file is licensed under LGPL v3 license.
41
41
 
42
42
                class ControladorCargaException : public GNC::GCS::IException {
43
43
                public:
44
 
                        ControladorCargaException(const std::string& msg, const std::string& componente="Modelo", bool fatal = true) : GNC::GCS::IException(msg, componente, fatal)
45
 
                        {
46
 
                        }
47
 
                        ~ControladorCargaException() throw()
48
 
                        {
49
 
                        }
 
44
                        ControladorCargaException(const std::string& msg, const std::string& componente="Modelo", bool fatal = true);
 
45
                        
 
46
                        ~ControladorCargaException() throw();
50
47
                protected:
51
48
                };
52
49
 
67
64
                        //endregion
68
65
 
69
66
                protected:
70
 
                        IControladorCarga() {}
71
 
                        ~IControladorCarga() {}
 
67
                        IControladorCarga();
 
68
                        ~IControladorCarga();
72
69
                };
73
70
 
74
71
                
75
 
                class IStreamingLoader : public IPipelineProperties, public GNC::GCS::ILockable {
 
72
                class EXTAPI IStreamingLoader : public IPipelineProperties, public GNC::GCS::ILockable {
76
73
                public:
77
74
                        //region Constructor
78
 
                        IStreamingLoader() {}
 
75
                        IStreamingLoader();
79
76
 
80
 
                        virtual ~IStreamingLoader() {}
 
77
                        virtual ~IStreamingLoader();
81
78
 
82
79
                        virtual bool IsSignalFile() = 0;
83
80
 
84
81
                        /** Fija un fichero de entrada y reestablece el pipeline interno de carga si es necesario **/
85
82
                        virtual void SetInput(const std::string& fichero) = 0;
86
83
 
87
 
                        /** Actualiza la imagen completa del puerto de salida **/
88
 
                        virtual void Update() = 0;
89
 
 
90
84
                        /** Devuelve el puerto de salida **/
91
85
                        virtual vtkSmartPointer<vtkAlgorithmOutput> GetOutputPort() = 0;
92
86
 
93
87
                        /** Devuelve por parametro una copia de la imagen **/
94
88
                        virtual void GetOutputCopy(vtkSmartPointer<vtkImageData>& output) = 0;
95
 
                        
96
 
                        /** Obtiene las dimensiones de la imagen de entrada **/
97
 
                        virtual void GetDimensions(int dimensions[3]) = 0;
98
 
                        
99
 
                        /** Obtiene el origen de la imagen de entrada **/
100
 
                        virtual void GetOrigin(double origin[3]) = 0;
101
 
                        
102
 
                        /** Obtiene el spacing de la imagen de entrada **/
103
 
                        virtual void GetSpacing(double spacing[3]) = 0;
104
89
 
105
90
                        /** establece el spacing **/
106
91
                        virtual void SetOutputSpacing(double spacing[3]) = 0;