Public Member Functions | Private Attributes
Camera Class Reference

#include <camera.h>

Inheritance diagram for Camera:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Camera (std::string name)
 Camera (std::string name, vtkSmartPointer< vtkCamera > camera)
void computeFrustum ()
vtkSmartPointer< vtkCamera > getCamera () const
vtkSmartPointer< vtkCameraActor > getCameraActor () const
bool getDisplay () const
void getFrustum (double frustum[])
vtkSmartPointer< vtkActor > getHullActor () const
Eigen::Matrix4d getModelViewMatrix ()
Eigen::Vector3d getPosition ()
Eigen::Matrix4d getProjectionMatrix ()
Eigen::Matrix4d getViewProjectionMatrix ()
void printFrustum ()
virtual void render (vtkRenderer *renderer)
void setClippingRange (float near_value=0.0001f, float far_value=100000.f)
void setDisplay (bool display)
void setModelViewMatrix (const Eigen::Matrix4d &model_view_matrix)
void setProjectionMatrix (const Eigen::Matrix4d &projection_matrix)

Private Attributes

vtkSmartPointer< vtkCamera > camera_
vtkSmartPointer< vtkCameraActor > camera_actor_
bool display_
double frustum_ [24]
vtkSmartPointer< vtkActor > hull_actor_
Eigen::Matrix4d model_view_matrix_
double prevFocal_ [3]
double prevPos_ [3]
double prevUp_ [3]
Eigen::Matrix4d projection_matrix_

Detailed Description

Definition at line 19 of file camera.h.


Constructor & Destructor Documentation

Definition at line 25 of file camera.cpp.

Camera::Camera ( std::string  name,
vtkSmartPointer< vtkCamera >  camera 
)

Definition at line 48 of file camera.cpp.


Member Function Documentation

Definition at line 83 of file camera.cpp.

vtkSmartPointer<vtkCamera> Camera::getCamera ( ) const [inline]

Definition at line 36 of file camera.h.

vtkSmartPointer<vtkCameraActor> Camera::getCameraActor ( ) const [inline]

Definition at line 42 of file camera.h.

bool Camera::getDisplay ( ) const [inline]

Definition at line 54 of file camera.h.

void Camera::getFrustum ( double  frustum[]) [inline]

Definition at line 66 of file camera.h.

vtkSmartPointer<vtkActor> Camera::getHullActor ( ) const [inline]

Definition at line 48 of file camera.h.

Eigen::Matrix4d Camera::getModelViewMatrix ( ) [inline]

Definition at line 91 of file camera.h.

Eigen::Vector3d Camera::getPosition ( ) [inline]

Definition at line 103 of file camera.h.

Eigen::Matrix4d Camera::getProjectionMatrix ( ) [inline]

Definition at line 79 of file camera.h.

Eigen::Matrix4d Camera::getViewProjectionMatrix ( ) [inline]

Definition at line 97 of file camera.h.

Definition at line 111 of file camera.cpp.

void Camera::render ( vtkRenderer *  renderer) [virtual]

Reimplemented from Object.

Definition at line 121 of file camera.cpp.

void Camera::setClippingRange ( float  near_value = 0.0001f,
float  far_value = 100000.f 
) [inline]

Definition at line 117 of file camera.h.

void Camera::setDisplay ( bool  display) [inline]

Definition at line 60 of file camera.h.

void Camera::setModelViewMatrix ( const Eigen::Matrix4d &  model_view_matrix) [inline]

Definition at line 85 of file camera.h.

void Camera::setProjectionMatrix ( const Eigen::Matrix4d &  projection_matrix) [inline]

Definition at line 73 of file camera.h.


Member Data Documentation

vtkSmartPointer<vtkCamera> Camera::camera_ [private]

Definition at line 138 of file camera.h.

vtkSmartPointer<vtkCameraActor> Camera::camera_actor_ [private]

Definition at line 139 of file camera.h.

bool Camera::display_ [private]

Definition at line 142 of file camera.h.

double Camera::frustum_[24] [private]

Definition at line 144 of file camera.h.

vtkSmartPointer<vtkActor> Camera::hull_actor_ [private]

Definition at line 140 of file camera.h.

Eigen::Matrix4d Camera::model_view_matrix_ [private]

Definition at line 146 of file camera.h.

double Camera::prevFocal_[3] [private]

Definition at line 149 of file camera.h.

double Camera::prevPos_[3] [private]

Definition at line 150 of file camera.h.

double Camera::prevUp_[3] [private]

Definition at line 148 of file camera.h.

Eigen::Matrix4d Camera::projection_matrix_ [private]

Definition at line 145 of file camera.h.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:49