#include <View.h>

Public Types | |
| enum | ProjType { ePerspective = 0, eParallel } |
Public Member Functions | |
| View () | |
| View (const View &pView) | |
| View (const CVec3f &pCenter) | |
| View (const CVec3f &pCenter, const CVec3f &pDirection) | |
| View (const int pProjType, const CVec3f &pCenter, const CVec3f &pDirection, const CVec3f &pUp, const float pDistance, const float pFOVDegrees) | |
| View (const BBox3D &pBBox3D, const int pType) | |
| View (const BBox3D &pBBox3D, View &pReferenceView) | |
| View (const int pProjType, const BBox3D &pBBox3D, const CVec3f &pDirection, const CVec3f &pUp) | |
| ~View () | |
| void | drawCenter () const |
| void | dump (ViewManager &pViewManager) const |
| void | dump (std::ostream &pOstream) const |
| CVec3f | getPosition () const |
| void | initCamera (const Tile &pTile) |
| void | adjustToPlane (fvmath::CVec3f n, fvmath::CVec3f p, const float distane) |
| void | setUp () |
| Matrix< float > & | getCameraMatrix () |
| const Matrix< float > & | getCameraMatrix () const |
| Matrix< float > & | getProjectionMatrix () |
| const Matrix< float > & | getProjectionMatrix () const |
| View & | operator= (const View &pView) |
| void | rotate (const float pDeltaX, const float pDeltaY) |
| void | scaleFOV (const float pFOVFactor) |
| void | setCenter (const CVec3f &pCenter) |
| void | translate (const float pDeltaX, const float pDeltaY) |
| const CVec3f & | getDirection () const |
| int | GetType () const |
| float | getDistance () const |
| float | getNearClipDistance () const |
| float | getFarClipDistance () const |
| void | SwitchProjection (int projection) |
| void | ajust (const BBox3D &pBBox3D) |
| void | init (const int pProjType=ePerspective, const CVec3f &pCenter=vDefaultCenter, const CVec3f &pDirection=vDefaultDirection, const CVec3f &pUp=vDefaultUp, const float pDistance=fDefaultDistance, const float pFOVDegrees=fDefaultFOVDegrees) |
Public Attributes | |
| Matrix< float > | c2p |
| Matrix< float > | w2c |
| int | type |
| CVec3f | vCenter |
| CVec3f | vDirection |
| CVec3f | vUp |
| float | Distance |
| float | FOVDegrees |
Static Public Attributes | |
| static const CVec3f | vDefaultCenter |
| static const CVec3f | vDefaultDirection |
| static const float | fDeafultRadious |
| static const float | fDefaultDistance |
| static const float | fDefaultFOVDegrees |
| static const CVec3f | vDefaultUp |
| static const float | fInitialObjectDistanceFactor |
| static const float | fMaxFOVDegrees |
| static const float | fMinFOVDegrees |
| static const float | Identity [4][3] |
| static const bool | bOrthoState |
Friends | |
| class | Camera |
| FemViewer::View::View | ( | ) |

| FemViewer::View::View | ( | const View & | pView | ) |

| FemViewer::View::View | ( | const CVec3f & | pCenter | ) |


| FemViewer::View::View | ( | const int | pProjType, | |
| const CVec3f & | pCenter, | |||
| const CVec3f & | pDirection, | |||
| const CVec3f & | pUp, | |||
| const float | pDistance, | |||
| const float | pFOVDegrees | |||
| ) |

| FemViewer::View::View | ( | const BBox3D & | pBBox3D, | |
| const int | pType | |||
| ) |


| FemViewer::View::View | ( | const int | pProjType, | |
| const BBox3D & | pBBox3D, | |||
| const CVec3f & | pDirection, | |||
| const CVec3f & | pUp | |||
| ) |

| FemViewer::View::~View | ( | ) |
| void FemViewer::View::adjustToPlane | ( | fvmath::CVec3f | n, | |
| fvmath::CVec3f | p, | |||
| const float | distane | |||
| ) |



| void FemViewer::View::drawCenter | ( | ) | const |
| void FemViewer::View::dump | ( | std::ostream & | pOstream | ) | const |
| void FemViewer::View::dump | ( | ViewManager & | pViewManager | ) | const |


| const Matrix<float>& FemViewer::View::getCameraMatrix | ( | ) | const [inline] |
| Matrix<float>& FemViewer::View::getCameraMatrix | ( | ) | [inline] |
| const CVec3f & FemViewer::View::getDirection | ( | ) | const |
| float FemViewer::View::getDistance | ( | ) | const |
| float FemViewer::View::getFarClipDistance | ( | ) | const |

| float FemViewer::View::getNearClipDistance | ( | ) | const |

| CVec3f FemViewer::View::getPosition | ( | ) | const |

| const Matrix<float>& FemViewer::View::getProjectionMatrix | ( | ) | const [inline] |
| Matrix<float>& FemViewer::View::getProjectionMatrix | ( | ) | [inline] |
| int FemViewer::View::GetType | ( | ) | const [inline] |

| void FemViewer::View::init | ( | const int | pProjType = ePerspective, |
|
| const CVec3f & | pCenter = vDefaultCenter, |
|||
| const CVec3f & | pDirection = vDefaultDirection, |
|||
| const CVec3f & | pUp = vDefaultUp, |
|||
| const float | pDistance = fDefaultDistance, |
|||
| const float | pFOVDegrees = fDefaultFOVDegrees | |||
| ) |




| void FemViewer::View::rotate | ( | const float | pDeltaX, | |
| const float | pDeltaY | |||
| ) |


| void FemViewer::View::scaleFOV | ( | const float | pFOVFactor | ) |


| void FemViewer::View::setUp | ( | ) |
| void FemViewer::View::SwitchProjection | ( | int | projection | ) |

| void FemViewer::View::translate | ( | const float | pDeltaX, | |
| const float | pDeltaY | |||
| ) |

friend class Camera [friend] |
const bool FemViewer::View::bOrthoState [static] |
| Matrix<float> FemViewer::View::c2p |
const float FemViewer::View::fDeafultRadious [static] |
const float FemViewer::View::fDefaultDistance [static] |
const float FemViewer::View::fDefaultFOVDegrees [static] |
const float FemViewer::View::fInitialObjectDistanceFactor [static] |
const float FemViewer::View::fMaxFOVDegrees [static] |
const float FemViewer::View::fMinFOVDegrees [static] |
const float FemViewer::View::Identity[4][3] [static] |
const CVec3f FemViewer::View::vDefaultCenter [static] |
const CVec3f FemViewer::View::vDefaultDirection [static] |
const CVec3f FemViewer::View::vDefaultUp [static] |
| Matrix<float> FemViewer::View::w2c |
1.6.1