creaContours_lib
Main Page
Namespaces
Classes
Files
File List
File Members
creaContours_lib
creaContours documentation
Namespaces
Classes
Files
File List
creatools_source
creaContours
lib
Interface_Icons_NDimensions
Interface_ManagerContour_NDimensions
kernel_ManagerContour_NDimensions
ParserOsirix
AxeThing.cxx
AxeThing.h
CommandDataBase.cxx
CommandDataBase.h
CommandObject.cxx
CommandObject.h
CommandsHandler.cxx
CommandsHandler.h
CommandsRegisterStructure.cxx
CommandsRegisterStructure.h
ComposedCommand.cxx
ComposedCommand.h
ContourThing.cxx
ContourThing.h
ContourWorkspace.cxx
ContourWorkspace.h
ExecutableCommand.cxx
ExecutableCommand.h
ICommandsUser.h
ImageSectionThing.cxx
ImageSectionThing.h
ImageSourceThing.cxx
ImageSourceThing.h
InstantMembersNameList.cxx
InstantMembersNameList.h
itkImageToVTKImageFilter.h
itkImageToVTKImageFilter.txx
itkVTKImageToImageFilter.h
itkVTKImageToImageFilter.txx
KernelManagerContour.cxx
KernelManagerContour.h
KeyThing.cxx
KeyThing.h
NameWrapper.cxx
NameWrapper.h
OutlineGroup.cxx
OutlineGroup.h
OutlineModelBuilder.cxx
OutlineModelBuilder.h
OutlineModelManager.cxx
OutlineModelManager.h
OutlineModelReader.cxx
OutlineModelReader.h
PrefixMaxKeyGenerator.cxx
PrefixMaxKeyGenerator.h
File Members
ContourThing.h
Go to the documentation of this file.
1
/*# ---------------------------------------------------------------------
2
#
3
# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
4
# pour la Sant�)
5
# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6
# Previous Authors : Laurent Guigues, Jean-Pierre Roux
7
# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
8
#
9
# This software is governed by the CeCILL-B license under French law and
10
# abiding by the rules of distribution of free software. You can use,
11
# modify and/ or redistribute the software under the terms of the CeCILL-B
12
# license as circulated by CEA, CNRS and INRIA at the following URL
13
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14
# or in the file LICENSE.txt.
15
#
16
# As a counterpart to the access to the source code and rights to copy,
17
# modify and redistribute granted by the license, users are provided only
18
# with a limited warranty and the software's author, the holder of the
19
# economic rights, and the successive licensors have only limited
20
# liability.
21
#
22
# The fact that you are presently reading this means that you have had
23
# knowledge of the CeCILL-B license and that you accept its terms.
24
# ------------------------------------------------------------------------ */
25
26
#ifndef __CONTOUR_THING__
27
#define __CONTOUR_THING__
28
29
30
31
//------------------------------------------------------------------------------------------------------------
32
// Includes
33
//------------------------------------------------------------------------------------------------------------
34
#include <iostream>
35
#include "
CommandObject.h
"
36
#include "
ExecutableCommand.h
"
37
#include "
ComposedCommand.h
"
38
#include "manualContourModel.h"
39
40
class
ContourThing
{
41
42
//------------------------------------------------------------------------------------------------------------
43
// Constructors & Destructors
44
//------------------------------------------------------------------------------------------------------------
45
public
:
46
47
/*
48
* Creates a ContourThing
49
*/
50
ContourThing
(manualBaseModel * model);
51
52
/*
53
* Destroys a ContourThing
54
*/
55
~ContourThing
();
56
//------------------------------------------------------------------------------------------------------------
57
// Methods
58
//------------------------------------------------------------------------------------------------------------
59
60
/*
61
*
62
*/
63
std::string
getName
();
64
65
/*
66
*
67
*/
68
void
setName
(std::string aName);
69
70
71
manualBaseModel *
getModel
();
72
73
void
setModel
(manualBaseModel * model);
74
75
/*
76
* Executes the given command if posible and returns is posible or not
77
* @param theSpecificCommand Is the specific command to execute
78
* @return Returns if the command was successfuly executed
79
*/
80
bool
executeCommand
(
CommandObject
* theSpecificCommand);
81
82
/*
83
* Interprets the given command and constructs the opposite command for returning it
84
* @param theSpecificDOCommand Is the specific DO command
85
* @return Returns the UNDO command of the given one
86
*/
87
CommandObject
*
getUndoCommandOf
(
CommandObject
* theSpecificDOCommand);
88
89
90
//------------------------------------------------------------------------------------------------------------
91
// Constants
92
//------------------------------------------------------------------------------------------------------------
93
94
private
:
95
//------------------------------------------------------------------------------------------------------------
96
// Attributes
97
//------------------------------------------------------------------------------------------------------------
98
99
std::string
outlineName
;
100
101
manualBaseModel *
theModel
;
102
};
103
#endif
creatools_source
creaContours
lib
kernel_ManagerContour_NDimensions
ContourThing.h
Generated by
1.8.3.1