3D Forest
Software for analysis of Lidar data from forest environment.
ViewerOpenGL Class Reference

#include <ViewerOpenGL.hpp>

Public Types

enum  Mode { POINTS , LINES , QUADS }
 

Public Member Functions

 ViewerOpenGL ()
 
 ~ViewerOpenGL ()
 

Static Public Member Functions

static void render (Mode mode, const float *xyz, size_t xyzSize, const float *rgb, size_t rgbSize)
 
static void render (Mode mode, const float *xyz, size_t xyzSize, const float *rgb, size_t rgbSize, const unsigned int *indices, size_t indicesSize)
 
static void renderClipFilter (const Region &clipFilter)
 
static void renderAabb (const ViewerAabb &box)
 
static void renderCylinder (const Vector3< float > &a, const Vector3< float > &b, float radius, size_t slices=16)
 
static void renderAxis ()
 
static void renderCross (const Vector3< float > &p, float lengthX, float lengthY)
 
static void renderLine (const Vector3< float > &a, const Vector3< float > &b)
 
static void renderCircle (const Vector3< float > &p, float radius, size_t pointCount=16)
 

Member Enumeration Documentation

◆ Mode

Enumerator
POINTS 
LINES 
QUADS 

Constructor & Destructor Documentation

◆ ViewerOpenGL()

ViewerOpenGL::ViewerOpenGL ( )

◆ ~ViewerOpenGL()

ViewerOpenGL::~ViewerOpenGL ( )

Member Function Documentation

◆ render() [1/2]

void ViewerOpenGL::render ( Mode mode,
const float * xyz,
size_t xyzSize,
const float * rgb,
size_t rgbSize )
static

◆ render() [2/2]

void ViewerOpenGL::render ( Mode mode,
const float * xyz,
size_t xyzSize,
const float * rgb,
size_t rgbSize,
const unsigned int * indices,
size_t indicesSize )
static

◆ renderAabb()

void ViewerOpenGL::renderAabb ( const ViewerAabb & box)
static

◆ renderAxis()

void ViewerOpenGL::renderAxis ( )
static

◆ renderCircle()

void ViewerOpenGL::renderCircle ( const Vector3< float > & p,
float radius,
size_t pointCount = 16 )
static

◆ renderClipFilter()

void ViewerOpenGL::renderClipFilter ( const Region & clipFilter)
static

◆ renderCross()

void ViewerOpenGL::renderCross ( const Vector3< float > & p,
float lengthX,
float lengthY )
static

◆ renderCylinder()

void ViewerOpenGL::renderCylinder ( const Vector3< float > & a,
const Vector3< float > & b,
float radius,
size_t slices = 16 )
static

Referenced by renderClipFilter().

◆ renderLine()

void ViewerOpenGL::renderLine ( const Vector3< float > & a,
const Vector3< float > & b )
static

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