Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Slots | Private Member Functions | Static Private Member Functions | Private Attributes
StructureGL Class Reference

#include <StructureGL.h>

List of all members.

Classes

class  Viewpoint

Public Types

typedef
CylinderPatch::CylinderPatches 
CylinderPatches
typedef PlanePatch::PlanePatches PlanePatches
typedef pcl::PointCloud< PointTPointCloud
typedef boost::shared_ptr
< PointCloud
PointCloudPtr
typedef pcl::PointXYZRGB PointT
typedef GLuint TexID
typedef std::vector< TexIDTexIDs
typedef Eigen::Vector3f Vec3

Public Member Functions

void initializeGL ()
void initLight ()
void keyPressEvent (QKeyEvent *)
void keyReleaseEvent (QKeyEvent *)
void mouseMoveEvent (QMouseEvent *)
void mousePressEvent (QMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)
void paintBMPlanes ()
void paintCoordinateSystemGL ()
void paintCylinders ()
void paintGL ()
void paintHeightMapPlanes ()
void paintPlanes ()
void paintPointsGL ()
void paintUnsegPointsGL ()
void resizeGL (int width, int height)
void setCylinderPatches (const CylinderPatches &cp)
void setPerspective (double fovy, double aspekt, double zNear, double zFar)
void setPlanePatches (const PlanePatches &pp)
void setPointCloud (PointCloudPtr pc)
void setUnsegmentedPointCloud (PointCloudPtr pc)
 StructureGL (QWidget *parent=0, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0)
 StructureGL (QGLContext *context, QWidget *parent=0, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0)
 StructureGL (const QGLFormat &format, QWidget *parent=0, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0)
void wheelEvent (QWheelEvent *)

Static Public Member Functions

static void flipToViewport (Vec3 &vec, const Vec3 &viewport)
 If vec does not point to the viewport, it is flipped.

Private Types

typedef std::vector< Vec3,
Eigen::aligned_allocator< Vec3 > > 
Points

Private Slots

void moveTimeout ()

Private Member Functions

void generateNormalisationCubeMap ()
void getColorByIndex (float *rgb, unsigned int index, unsigned int total)
void initialize ()
void removedMarkedTextures ()
void resetAllPlaneTextures ()
void resetTextures (TexIDs &textureIDs)

Static Private Member Functions

static void packTo01 (Vec3 &vec)

Private Attributes

bool mBumpMaps
CylinderPatches mCylinderPatches
QMutex mCylinderPatchesMutex
bool mDown
bool mForward
TexIDs mHeightMapIDs
bool mHeightMaps
std::clock_t mLastTick
bool mLeft
bool mLight
GLfloat mLightPos0 [4]
double mModelM [16]
bool mMouseView
QTimer mMoveTimer
TexID mNormalisationCubeMap
TexIDs mNormalMapIDs
float mPitchStart
TexIDs mPlaneAlphaIDs
PlanePatches mPlanePatches
QMutex mPlanePatchesMutex
TexIDs mPlaneTextureIDs
QMutex mPlaneTextureMutex
PointCloudPtr mPointCloud
QMutex mPointCloudMutex
double mProjM [16]
bool mReverse
bool mRight
float mRotationSpeed
bool mShowCylinders
bool mShowPlanes
bool mShowPoints
bool mShowUnsegmentedPoints
QPoint mStartPos
TexIDs mTexIDsToRemove
float mTranslationSpeed
bool mTurnLeft
bool mTurnRight
PointCloudPtr mUnsegPointCloud
bool mUp
int mViewP [4]
Viewpoint mViewpoint
float mYawStart

Detailed Description

Definition at line 56 of file StructureGL.h.


Member Typedef Documentation

Definition at line 61 of file StructureGL.h.

Definition at line 60 of file StructureGL.h.

Definition at line 63 of file StructureGL.h.

typedef boost::shared_ptr<PointCloud> StructureGL::PointCloudPtr

Definition at line 64 of file StructureGL.h.

typedef std::vector<Vec3, Eigen::aligned_allocator<Vec3> > StructureGL::Points [private]

Definition at line 141 of file StructureGL.h.

typedef pcl::PointXYZRGB StructureGL::PointT

Definition at line 62 of file StructureGL.h.

typedef GLuint StructureGL::TexID

Definition at line 65 of file StructureGL.h.

typedef std::vector<TexID> StructureGL::TexIDs

Definition at line 66 of file StructureGL.h.

typedef Eigen::Vector3f StructureGL::Vec3

Definition at line 59 of file StructureGL.h.


Constructor & Destructor Documentation

StructureGL::StructureGL ( QWidget *  parent = 0,
const QGLWidget *  shareWidget = 0,
Qt::WindowFlags  f = 0 
)

Definition at line 49 of file StructureGL.cpp.

StructureGL::StructureGL ( QGLContext *  context,
QWidget *  parent = 0,
const QGLWidget *  shareWidget = 0,
Qt::WindowFlags  f = 0 
)

Definition at line 57 of file StructureGL.cpp.

StructureGL::StructureGL ( const QGLFormat &  format,
QWidget *  parent = 0,
const QGLWidget *  shareWidget = 0,
Qt::WindowFlags  f = 0 
)

Definition at line 65 of file StructureGL.cpp.


Member Function Documentation

void StructureGL::flipToViewport ( Vec3 vec,
const Vec3 viewport 
) [static]

If vec does not point to the viewport, it is flipped.

Parameters:
vecInput and output vector to be flipped.
viewportInput viewport position.

Definition at line 41 of file StructureGL.cpp.

Definition at line 847 of file StructureGL.cpp.

void StructureGL::getColorByIndex ( float *  rgb,
unsigned int  index,
unsigned int  total 
) [private]

Definition at line 811 of file StructureGL.cpp.

void StructureGL::initialize ( ) [private]

Definition at line 79 of file StructureGL.cpp.

Definition at line 98 of file StructureGL.cpp.

Definition at line 128 of file StructureGL.cpp.

void StructureGL::keyPressEvent ( QKeyEvent *  event)

Definition at line 633 of file StructureGL.cpp.

void StructureGL::keyReleaseEvent ( QKeyEvent *  event)

Definition at line 716 of file StructureGL.cpp.

void StructureGL::mouseMoveEvent ( QMouseEvent *  event)

Definition at line 785 of file StructureGL.cpp.

void StructureGL::mousePressEvent ( QMouseEvent *  event)

Definition at line 762 of file StructureGL.cpp.

void StructureGL::mouseReleaseEvent ( QMouseEvent *  event)

Definition at line 775 of file StructureGL.cpp.

void StructureGL::moveTimeout ( ) [private, slot]

Definition at line 595 of file StructureGL.cpp.

static void StructureGL::packTo01 ( Vec3 vec) [inline, static, private]

Definition at line 201 of file StructureGL.h.

Definition at line 236 of file StructureGL.cpp.

Definition at line 168 of file StructureGL.cpp.

Definition at line 421 of file StructureGL.cpp.

Definition at line 552 of file StructureGL.cpp.

Definition at line 347 of file StructureGL.cpp.

Definition at line 184 of file StructureGL.cpp.

Definition at line 516 of file StructureGL.cpp.

Definition at line 534 of file StructureGL.cpp.

Definition at line 1018 of file StructureGL.cpp.

Definition at line 997 of file StructureGL.cpp.

void StructureGL::resetTextures ( TexIDs textureIDs) [private]

Definition at line 1006 of file StructureGL.cpp.

void StructureGL::resizeGL ( int  width,
int  height 
)

Definition at line 153 of file StructureGL.cpp.

void StructureGL::setCylinderPatches ( const CylinderPatches cp) [inline]

Definition at line 128 of file StructureGL.h.

void StructureGL::setPerspective ( double  fovy,
double  aspekt,
double  zNear,
double  zFar 
)

Definition at line 627 of file StructureGL.cpp.

void StructureGL::setPlanePatches ( const PlanePatches pp) [inline]

Definition at line 115 of file StructureGL.h.

Definition at line 101 of file StructureGL.h.

Definition at line 108 of file StructureGL.h.

void StructureGL::wheelEvent ( QWheelEvent *  event)

Definition at line 803 of file StructureGL.cpp.


Member Data Documentation

bool StructureGL::mBumpMaps [private]

Definition at line 253 of file StructureGL.h.

Definition at line 238 of file StructureGL.h.

Definition at line 239 of file StructureGL.h.

bool StructureGL::mDown [private]

Definition at line 226 of file StructureGL.h.

bool StructureGL::mForward [private]

Definition at line 226 of file StructureGL.h.

Definition at line 244 of file StructureGL.h.

bool StructureGL::mHeightMaps [private]

Definition at line 254 of file StructureGL.h.

std::clock_t StructureGL::mLastTick [private]

Definition at line 223 of file StructureGL.h.

bool StructureGL::mLeft [private]

Definition at line 226 of file StructureGL.h.

bool StructureGL::mLight [private]

Definition at line 252 of file StructureGL.h.

GLfloat StructureGL::mLightPos0[4] [private]

Definition at line 215 of file StructureGL.h.

double StructureGL::mModelM[16] [private]

Definition at line 213 of file StructureGL.h.

bool StructureGL::mMouseView [private]

Definition at line 217 of file StructureGL.h.

QTimer StructureGL::mMoveTimer [private]

Definition at line 224 of file StructureGL.h.

Definition at line 247 of file StructureGL.h.

Definition at line 245 of file StructureGL.h.

float StructureGL::mPitchStart [private]

Definition at line 219 of file StructureGL.h.

Definition at line 243 of file StructureGL.h.

Definition at line 235 of file StructureGL.h.

Definition at line 236 of file StructureGL.h.

Definition at line 242 of file StructureGL.h.

Definition at line 241 of file StructureGL.h.

Definition at line 231 of file StructureGL.h.

Definition at line 233 of file StructureGL.h.

double StructureGL::mProjM[16] [private]

Definition at line 213 of file StructureGL.h.

bool StructureGL::mReverse [private]

Definition at line 226 of file StructureGL.h.

bool StructureGL::mRight [private]

Definition at line 226 of file StructureGL.h.

float StructureGL::mRotationSpeed [private]

Definition at line 218 of file StructureGL.h.

Definition at line 251 of file StructureGL.h.

bool StructureGL::mShowPlanes [private]

Definition at line 250 of file StructureGL.h.

bool StructureGL::mShowPoints [private]

Definition at line 249 of file StructureGL.h.

Definition at line 255 of file StructureGL.h.

QPoint StructureGL::mStartPos [private]

Definition at line 220 of file StructureGL.h.

Definition at line 246 of file StructureGL.h.

Definition at line 218 of file StructureGL.h.

bool StructureGL::mTurnLeft [private]

Definition at line 226 of file StructureGL.h.

bool StructureGL::mTurnRight [private]

Definition at line 226 of file StructureGL.h.

Definition at line 232 of file StructureGL.h.

bool StructureGL::mUp [private]

Definition at line 226 of file StructureGL.h.

int StructureGL::mViewP[4] [private]

Definition at line 214 of file StructureGL.h.

Definition at line 221 of file StructureGL.h.

float StructureGL::mYawStart [private]

Definition at line 219 of file StructureGL.h.


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


structure_coloring_fkie
Author(s): Bastian Gaspers
autogenerated on Sun Jan 5 2014 11:38:09