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 ()
 

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

◆ renderClipFilter()

void ViewerOpenGL::renderClipFilter ( const Region clipFilter)
static

◆ renderCylinder()

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

Referenced by renderClipFilter().


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