~ubuntu-branches/ubuntu/utopic/ginkgocadx/utopic-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/api/iannotator.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2014-01-09 07:37:09 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20140109073709-rpuh5x3p3finvtze
Tags: 3.6.0.1228.33+dfsg-1
New upstream release [December 2013]

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  
 
3
 *  $Id: ianotador.h $
 
4
 *  Ginkgo CADx Project
 
5
 *
 
6
 *  Copyright 2008-14 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
#pragma once
 
14
#include <string>
 
15
#include <api/math/geometry3d.h>
 
16
 
 
17
namespace GNC {
 
18
        namespace GCS {
 
19
                //region "Forward declarations"
 
20
                class Contexto3D;
 
21
                class IVista;
 
22
                //endregion
 
23
 
 
24
                //-----------------------------------------------------------------------------------------------
 
25
 
 
26
                class IAnnotator {
 
27
                public:
 
28
                        IAnnotator(GNC::GCS::IVista *pView);
 
29
                        virtual ~IAnnotator();
 
30
 
 
31
                        /* special annotation values like ${NEWLINE}*/
 
32
                        virtual std::string GetAnnotationValue(GNC::GCS::Contexto3D* c, const std::string& key);
 
33
 
 
34
                        /* tag syntax is the same as defined in api/dicom/dcmdictionary.h   gggg|eeee*/
 
35
                        virtual std::string GetTagValue(GNC::GCS::Contexto3D* c, const std::string& key, const std::string& defValue = "");
 
36
 
 
37
                        //el comportamiento por defecto de las anotaciones con posicion es el mismo que las de sin posicion
 
38
                        //si se desean pueden sobreescribirse
 
39
                        virtual std::string GetPositionAnnotation(GNC::GCS::Contexto3D* c, const GNC::GCS::Vector3D& wP);
 
40
                protected:
 
41
                        GNC::GCS::IVista* m_pView;
 
42
                };
 
43
        }
 
44
}
 
 
b'\\ No newline at end of file'