Version: 8.3.0
Main Page
Namespaces
Classes
Files
File List
File Members
SALOME Geometry Developer
Namespaces
Classes
Files
File List
idl
src
AdvancedEngine
AdvancedGUI
ARCHIMEDE
BasicGUI
BlockFix
BlocksGUI
BooleanGUI
BREPPlugin
BuildGUI
CurveCreator
CurveCreator.hxx
CurveCreator_Curve.cxx
CurveCreator_Curve.hxx
CurveCreator_Diff.cxx
CurveCreator_Diff.hxx
CurveCreator_Displayer.cxx
CurveCreator_Displayer.hxx
CurveCreator_ICurve.hxx
CurveCreator_Macro.hxx
CurveCreator_NewSectionDlg.cxx
CurveCreator_NewSectionDlg.h
CurveCreator_Operation.cxx
CurveCreator_Operation.hxx
CurveCreator_PosPoint.hxx
CurveCreator_Section.cxx
CurveCreator_Section.hxx
CurveCreator_TableView.cxx
CurveCreator_TableView.h
CurveCreator_TreeView.cxx
CurveCreator_TreeView.h
CurveCreator_Utils.cxx
CurveCreator_Utils.hxx
CurveCreator_UtilsICurve.cxx
CurveCreator_UtilsICurve.hxx
CurveCreator_Widget.cxx
CurveCreator_Widget.h
DependencyTree
DisplayGUI
DlgRef
EntityGUI
GenerationGUI
GEOM
GEOM_I
GEOM_I_Superv
GEOM_SWIG_WITHIHM
GEOMAlgo
GEOMBase
GEOMClient
GEOMFiltersSelection
GEOMGUI
GEOMImpl
GEOMToolsGUI
GEOMUtils
GroupGUI
IGESPlugin
Material
MeasureGUI
OBJECT
OCC2VTK
OperationGUI
PrimitiveGUI
RepairGUI
ShapeRecognition
ShHealOper
SKETCHER
STEPPlugin
STLPlugin
TransformationGUI
VTKPlugin
XAO
XAOPlugin
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
CurveCreator_Operation.hxx
Go to the documentation of this file.
1
// Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2
//
3
// This library is free software; you can redistribute it and/or
4
// modify it under the terms of the GNU Lesser General Public
5
// License as published by the Free Software Foundation; either
6
// version 2.1 of the License, or (at your option) any later version.
7
//
8
// This library is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
// Lesser General Public License for more details.
12
//
13
// You should have received a copy of the GNU Lesser General Public
14
// License along with this library; if not, write to the Free Software
15
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16
//
17
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
//
19
20
// File: CurveCreator_Operation.hxx
21
// Author: Sergey KHROMOV
22
23
#ifndef _CurveCreator_Operation_HeaderFile
24
#define _CurveCreator_Operation_HeaderFile
25
26
#include "
CurveCreator.hxx
"
27
#include "
CurveCreator_ICurve.hxx
"
28
#include "
CurveCreator_PosPoint.hxx
"
29
30
#include <string>
31
#include <vector>
32
33
class
CurveCreator_Curve
;
34
35
40
class
CurveCreator_Operation
41
{
42
43
public
:
44
48
enum
Type
49
{
50
Unknown
= 0,
51
AddPoints
,
52
RemovePoints
,
53
InsertPoints
,
54
SetType
,
55
Clear
,
56
SetCoordinates
,
57
SetClosed
,
58
MoveSection
,
59
Join
,
60
AddSection
,
61
RemoveSection
,
62
RenameSection
63
};
64
68
CurveCreator_Operation
();
69
73
~CurveCreator_Operation
();
74
83
bool
init
(
const
Type
theType);
84
93
bool
init
(
const
Type
theType,
const
int
theIntParam);
94
106
bool
init
(
const
Type
theType,
const
int
theIntParam1,
107
const
int
theIntParam2);
108
117
bool
init
(
const
Type
theType,
const
std::list<int> theParamList);
118
128
bool
init
(
const
Type
theType,
129
const
CurveCreator_ICurve::SectionToPointList
&theParamList1);
130
140
bool
init
(
const
Type
theType,
const
CurveCreator::Coordinates
&theCoords,
141
const
int
theIntParam);
142
152
bool
init
(
const
Type
theType,
153
const
CurveCreator_ICurve::SectionToPointCoordsList
&theParamList1);
154
166
bool
init
(
const
CurveCreator_Operation::Type
theType,
167
const
std::string& theName,
168
const
CurveCreator::Coordinates
&theCoords,
169
const
int
theIntParam1,
170
const
int
theIntParam2);
171
172
182
bool
init
(
const
CurveCreator_Operation::Type
theType,
183
const
std::string &theName,
184
const
int
theIntParam1 );
185
189
void
apply
(
CurveCreator_Curve
*theCurve);
190
191
private
:
192
197
void
*
allocate
(
const
size_t
theSize);
198
202
void
clear
();
203
207
void
getCoords
(
int
*thePInt,
CurveCreator::Coordinates
&theCoords)
const
;
208
209
private
:
210
211
Type
myType
;
212
void
*
myPData
;
213
214
};
215
216
#endif
src
CurveCreator
CurveCreator_Operation.hxx
Copyright © 2007-2017 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS