Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
7272e76d
Commit
7272e76d
authored
20 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
change min/max/step depending on 3d status
parent
4308e299
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Plugin/Annotate.cpp
+16
-4
16 additions, 4 deletions
Plugin/Annotate.cpp
doc/VERSIONS
+5
-5
5 additions, 5 deletions
doc/VERSIONS
with
21 additions
and
9 deletions
Plugin/Annotate.cpp
+
16
−
4
View file @
7272e76d
// $Id: Annotate.cpp,v 1.
9
2005-03-11
05:47:56
geuzaine Exp $
// $Id: Annotate.cpp,v 1.
10
2005-03-11
17:25:07
geuzaine Exp $
//
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -147,20 +147,32 @@ char *GMSH_AnnotatePlugin::callbackStr(int num, int action, char *value, char **
double
GMSH_AnnotatePlugin
::
callbackX
(
int
num
,
int
action
,
double
value
)
{
// not perfect: the change will only take place if we reopen the dialog...
int
dim3
=
(
int
)
AnnotateOptions_Number
[
3
].
def
;
return
callback
(
num
,
action
,
value
,
&
AnnotateOptions_Number
[
0
].
def
,
0.5
,
-
100.
,
100000.
);
dim3
?
CTX
.
lc
/
200.
:
0.5
,
dim3
?
-
CTX
.
lc
:
-
100.
,
dim3
?
CTX
.
lc
:
100000.
);
}
double
GMSH_AnnotatePlugin
::
callbackY
(
int
num
,
int
action
,
double
value
)
{
// not perfect: the change will only take place if we reopen the dialog...
int
dim3
=
(
int
)
AnnotateOptions_Number
[
3
].
def
;
return
callback
(
num
,
action
,
value
,
&
AnnotateOptions_Number
[
1
].
def
,
0.5
,
-
100.
,
100000.
);
dim3
?
CTX
.
lc
/
200.
:
0.5
,
dim3
?
-
CTX
.
lc
:
-
100.
,
dim3
?
CTX
.
lc
:
100000.
);
}
double
GMSH_AnnotatePlugin
::
callbackZ
(
int
num
,
int
action
,
double
value
)
{
// not perfect: the change will only take place if we reopen the dialog...
int
dim3
=
(
int
)
AnnotateOptions_Number
[
3
].
def
;
return
callback
(
num
,
action
,
value
,
&
AnnotateOptions_Number
[
2
].
def
,
0.5
,
-
100.
,
100000.
);
dim3
?
CTX
.
lc
/
200.
:
0.5
,
dim3
?
-
CTX
.
lc
:
-
100.
,
dim3
?
CTX
.
lc
:
100000.
);
}
double
GMSH_AnnotatePlugin
::
callback3D
(
int
num
,
int
action
,
double
value
)
...
...
This diff is collapsed.
Click to expand it.
doc/VERSIONS
+
5
−
5
View file @
7272e76d
$Id: VERSIONS,v 1.31
7
2005-03-11
08:56:38
geuzaine Exp $
$Id: VERSIONS,v 1.31
8
2005-03-11
17:25:07
geuzaine Exp $
New since 1.59: added support for discrete curves; new Window menu on
Mac OS X; generalized all octree-based plugins (CutGrid, StreamLines,
Probe, etc.) to handle all element types (and not only scalar and
vector triangles+tetrahedra); generalized Plugin(Evaluate)
and
Plugin(Extract); enhanced clipping plane
interface; new grid options
for 3D post-processing views; new
manipulator dialog; various small
enhancements and bug fixes.
vector triangles+tetrahedra); generalized Plugin(Evaluate)
,
Plugin(Extract)
and Plugin(Annotate)
; enhanced clipping plane
interface; new grid options
for 3D post-processing views; new
manipulator dialog; various small
enhancements and bug fixes.
New in 1.59: added support for discrete (triangulated) surfaces,
either in STL format or with the new "Discrete Surface" command; added
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment