casa
5.7.0-16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
casa
code
display3d
3DViewer
3DPoint.h
Go to the documentation of this file.
1
2
#ifndef DP3_H
3
#define DP3_H
4
5
#include <
graphics/X11/X_enter.h
>
6
7
#include <
graphics/X11/X_exit.h
>
8
9
10
namespace
casa {
11
12
class
DisplayPoint3
13
{
14
15
public
:
16
DisplayPoint3
(
int
a,
int
b,
int
c
,
int
d = 0) {
17
xx
= a;
18
yy
= b;
19
zz
=
c
;
20
vv
= d;
21
}
22
DisplayPoint3
():
xx
(0),
yy
(0),
zz
(0),
vv
(0){}
23
~DisplayPoint3
(){}
24
25
void
setX
(
int
a) {
xx
= a;}
26
void
setY
(
int
a) {
yy
= a;}
27
void
setZ
(
int
a) {
zz
= a;}
28
void
setV
(
int
a) {
vv
= a;}
29
int
x
() {
return
xx
;}
30
int
y
() {
return
yy
;}
31
int
z
() {
return
zz
;}
32
int
v
() {
return
vv
;}
33
34
private
:
35
//all use int, can be faster
36
int
xx
;
37
int
yy
;
38
int
zz
;
39
//use positive for color and negative for grey
40
int
vv
;
41
42
};
43
44
}
45
#endif
casa::DisplayPoint3::setZ
void setZ(int a)
Definition:
3DPoint.h:27
casa::DisplayPoint3::v
int v()
Definition:
3DPoint.h:32
casa::DisplayPoint3::DisplayPoint3
DisplayPoint3()
Definition:
3DPoint.h:22
X_enter.h
casa::DisplayPoint3::setX
void setX(int a)
Definition:
3DPoint.h:25
X_exit.h
casa::DisplayPoint3
Definition:
3DPoint.h:12
casa::DisplayPoint3::DisplayPoint3
DisplayPoint3(int a, int b, int c, int d=0)
Definition:
3DPoint.h:16
casa::DisplayPoint3::~DisplayPoint3
~DisplayPoint3()
Definition:
3DPoint.h:23
casa::DisplayPoint3::y
int y()
Definition:
3DPoint.h:30
casa::DisplayPoint3::vv
int vv
use positive for color and negative for grey
Definition:
3DPoint.h:40
casa::DisplayPoint3::setY
void setY(int a)
Definition:
3DPoint.h:26
casa::DisplayPoint3::x
int x()
Definition:
3DPoint.h:29
casa::DisplayPoint3::zz
int zz
Definition:
3DPoint.h:38
casacore::C::c
const Double c
Fundamental physical constants (SI units):
casa::DisplayPoint3::xx
int xx
all use int, can be faster
Definition:
3DPoint.h:36
casa::DisplayPoint3::z
int z()
Definition:
3DPoint.h:31
casa::DisplayPoint3::setV
void setV(int a)
Definition:
3DPoint.h:28
casa::DisplayPoint3::yy
int yy
Definition:
3DPoint.h:37
Generated on Sun Sep 1 2019 23:32:34 for casa by
1.8.5