Loading [MathJax]/extensions/TeX/AMSsymbols.js
DGtal
1.4.0
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
x
Variables
a
d
e
f
h
i
l
n
o
p
t
w
x
Typedefs
a
b
c
d
e
i
k
l
n
o
p
r
s
u
v
z
Enumerations
Enumerator
a
b
c
d
e
g
h
i
j
l
m
n
o
p
s
t
u
v
w
z
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
c
e
f
h
i
l
m
n
o
p
r
s
t
u
Enumerator
a
b
c
d
e
f
g
l
m
o
p
r
s
t
u
v
x
y
z
Related Symbols
a
b
c
d
e
f
g
i
k
l
m
o
p
s
t
u
Examples
►
DGtal
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
viewer3D-1-points.cpp
1
38
#include <iostream>
39
40
#include "DGtal/base/Common.h"
41
#include "DGtal/helpers/StdDefs.h"
42
#include "DGtal/io/viewers/Viewer3D.h"
44
45
using namespace
std
;
46
using namespace
DGtal
;
47
using namespace
Z3i;
48
49
51
// Standard services - public :
52
53
int
main
(
int
argc,
char
** argv )
54
{
55
56
QApplication application(argc,argv);
57
58
Point
p1( 0, 0, 0 );
59
Point
p2( 5, 5 ,5 );
60
Point
p3( 2, 3, 4 );
61
Domain
domain
( p1, p2 );
62
63
typedef
Viewer3D<>
MyViewer
;
64
MyViewer
viewer;
65
viewer.
show
();
66
viewer <<
domain
;
67
viewer << p1 << p2 << p3;
68
69
viewer<<
MyViewer::updateDisplay
;
70
return
application.exec();
71
}
72
// //
DGtal::Display3D< Space, KSpace >::updateDisplay
@ updateDisplay
Definition
Display3D.h:249
DGtal::HyperRectDomain< Space >
DGtal::PointVector< dim, Integer >
DGtal::Viewer3D
Definition
Viewer3D.h:132
DGtal::Viewer3D::show
virtual void show()
Overload QWidget method in order to add a call to updateList() method (to ensure that the lists are w...
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
std
STL namespace.
main
int main()
Definition
testBits.cpp:56
domain
Domain domain
Definition
testProjection.cpp:88
examples
io
viewers
viewer3D-1-points.cpp
Generated on Mon Jun 10 2024 17:35:48 for DGtal by
1.11.0