GLVis  v3.4
Accurate and flexible finite element visualization
Public Member Functions | Public Attributes | Protected Attributes | List of all members
VisualizationScene Class Referenceabstract

#include <openglvis.hpp>

Inheritance diagram for VisualizationScene:
[legend]
Collaboration diagram for VisualizationScene:
[legend]

Public Member Functions

 VisualizationScene ()
 
virtual ~VisualizationScene ()
 
virtual void Draw ()=0
 
void SetView (double theta, double phi)
 
void Zoom (double factor)
 
void Rotate (double angle, double x, double y, double z)
 
void PreRotate (double angle, double x, double y, double z)
 
void Rotate (double angley, double anglex)
 
void Translate (double x, double y, double z=0.0)
 
void Scale (double s)
 
void Scale (double s1, double s2, double s3)
 
void CenterObject ()
 
void CenterObject2D ()
 
void ModelView ()
 

Public Attributes

int spinning
 
int OrthogonalProjection
 
int print
 
int movie
 
double ViewAngle
 
double ViewScale
 
double ViewCenterX
 
double ViewCenterY
 
Camera cam
 
double x [2]
 Bounding box. More...
 
double y [2]
 
double z [2]
 
double rotmat [16]
 
double translmat [16]
 
int view
 This is set by SetVisualizationScene. More...
 

Protected Attributes

double xscale
 
double yscale
 
double zscale
 

Detailed Description

Definition at line 102 of file openglvis.hpp.

Constructor & Destructor Documentation

VisualizationScene::VisualizationScene ( )

Definition at line 120 of file openglvis.cpp.

VisualizationScene::~VisualizationScene ( )
virtual

Definition at line 137 of file openglvis.cpp.

Member Function Documentation

void VisualizationScene::CenterObject ( )

Definition at line 198 of file openglvis.cpp.

void VisualizationScene::CenterObject2D ( )

Definition at line 211 of file openglvis.cpp.

virtual void VisualizationScene::Draw ( )
pure virtual
void VisualizationScene::ModelView ( )

Definition at line 244 of file openglvis.cpp.

void VisualizationScene::PreRotate ( double  angle,
double  x,
double  y,
double  z 
)

Definition at line 150 of file openglvis.cpp.

void VisualizationScene::Rotate ( double  angle,
double  x,
double  y,
double  z 
)

Definition at line 139 of file openglvis.cpp.

void VisualizationScene::Rotate ( double  angley,
double  anglex 
)

Definition at line 158 of file openglvis.cpp.

void VisualizationScene::Scale ( double  s)

Definition at line 179 of file openglvis.cpp.

void VisualizationScene::Scale ( double  s1,
double  s2,
double  s3 
)

Definition at line 184 of file openglvis.cpp.

void VisualizationScene::SetView ( double  theta,
double  phi 
)

Definition at line 220 of file openglvis.cpp.

void VisualizationScene::Translate ( double  x,
double  y,
double  z = 0.0 
)

Definition at line 170 of file openglvis.cpp.

void VisualizationScene::Zoom ( double  factor)

Definition at line 231 of file openglvis.cpp.

Member Data Documentation

Camera VisualizationScene::cam

Definition at line 116 of file openglvis.hpp.

int VisualizationScene::movie

Definition at line 112 of file openglvis.hpp.

int VisualizationScene::OrthogonalProjection

Definition at line 112 of file openglvis.hpp.

int VisualizationScene::print

Definition at line 112 of file openglvis.hpp.

double VisualizationScene::rotmat[16]

Definition at line 121 of file openglvis.hpp.

int VisualizationScene::spinning

Definition at line 112 of file openglvis.hpp.

double VisualizationScene::translmat[16]

Definition at line 122 of file openglvis.hpp.

int VisualizationScene::view

This is set by SetVisualizationScene.

Definition at line 143 of file openglvis.hpp.

double VisualizationScene::ViewAngle

Definition at line 113 of file openglvis.hpp.

double VisualizationScene::ViewCenterX

Definition at line 114 of file openglvis.hpp.

double VisualizationScene::ViewCenterY

Definition at line 114 of file openglvis.hpp.

double VisualizationScene::ViewScale

Definition at line 113 of file openglvis.hpp.

double VisualizationScene::x[2]

Bounding box.

Definition at line 119 of file openglvis.hpp.

double VisualizationScene::xscale
protected

Definition at line 106 of file openglvis.hpp.

double VisualizationScene::y[2]

Definition at line 119 of file openglvis.hpp.

double VisualizationScene::yscale
protected

Definition at line 106 of file openglvis.hpp.

double VisualizationScene::z[2]

Definition at line 119 of file openglvis.hpp.

double VisualizationScene::zscale
protected

Definition at line 106 of file openglvis.hpp.


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