FemViewer::View Class Reference

#include <View.h>

Collaboration diagram for FemViewer::View:
Collaboration graph
[legend]

List of all members.

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
Viewoperator= (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 CVec3fgetDirection () 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

Member Enumeration Documentation

Enumerator:
ePerspective 
eParallel 

Constructor & Destructor Documentation

FemViewer::View::View (  ) 

Here is the call graph for this function:

FemViewer::View::View ( const View pView  ) 

Here is the call graph for this function:

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

Here is the call graph for this function:

FemViewer::View::View ( const CVec3f pCenter,
const CVec3f pDirection 
)

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

FemViewer::View::View ( const BBox3D pBBox3D,
View pReferenceView 
)

Here is the call graph for this function:

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

Here is the call graph for this function:

FemViewer::View::~View (  ) 

Member Function Documentation

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

Here is the call graph for this function:

void FemViewer::View::ajust ( const BBox3D pBBox3D  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the caller graph for this function:

float FemViewer::View::getNearClipDistance (  )  const

Here is the caller graph for this function:

CVec3f FemViewer::View::getPosition (  )  const

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void FemViewer::View::initCamera ( const Tile pTile  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

View & FemViewer::View::operator= ( const View pView  ) 

Here is the call graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the caller graph for this function:

void FemViewer::View::setCenter ( const CVec3f pCenter  ) 

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class Camera [friend]

Member Data Documentation

const bool FemViewer::View::bOrthoState [static]
const float FemViewer::View::fDeafultRadious [static]
const float FemViewer::View::fDefaultDistance [static]
const float FemViewer::View::fMaxFOVDegrees [static]
const float FemViewer::View::fMinFOVDegrees [static]
const float FemViewer::View::Identity[4][3] [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1