projects
/
ctsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8ab133a
)
r505: *** empty log message ***
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Thu, 8 Feb 2001 22:01:27 +0000
(22:01 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Thu, 8 Feb 2001 22:01:27 +0000
(22:01 +0000)
include/projections.h
patch
|
blob
|
history
diff --git
a/include/projections.h
b/include/projections.h
index 48ca0f44710f737b2e4bbfe950bd086bfa1e2c9d..ef465eca26ca6c0f2a2d4e0ebb4399550fec67f8 100644
(file)
--- a/
include/projections.h
+++ b/
include/projections.h
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: projections.h,v 1.2
2 2001/02/08 06:25:0
7 kevin Exp $
+** $Id: projections.h,v 1.2
3 2001/02/08 22:01:2
7 kevin Exp $
**
**
** This program is free software; you can redistribute it and/or modify
**
**
** This program is free software; you can redistribute it and/or modify
@@
-100,6
+100,7
@@
class Projections
int geometry() const {return m_geometry;}
double focalLength() const {return m_dFocalLength;}
double phmLen() const { return m_dViewDiameter / SQRT2; }
int geometry() const {return m_geometry;}
double focalLength() const {return m_dFocalLength;}
double phmLen() const { return m_dViewDiameter / SQRT2; }
+ void setPhmLen(double phmLen) { m_dViewDiameter = phmLen * SQRT2; }
const std::string& getFilename() const {return m_filename;}
Array2dFileLabel& getLabel() {return m_label;}
const std::string& getFilename() const {return m_filename;}
Array2dFileLabel& getLabel() {return m_label;}