OpenStructure
Data Structures | Public Types | Public Member Functions
FastSphereRenderer Class Reference

#include <fast_spheres.hh>

Data Structures

struct  VData
 

Public Types

typedef std::vector< VDataDataList
 

Public Member Functions

 FastSphereRenderer (size_t reserve=0)
 
 FastSphereRenderer (const DataList &)
 
void Clear ()
 
void Add (float pos[3], float col[4], float rad)
 
void Add (const geom::Vec3 &pos, const Color &col, float rad)
 
void RenderGL ()
 
const DataListData () const
 

Detailed Description

Definition at line 33 of file fast_spheres.hh.

Member Typedef Documentation

◆ DataList

typedef std::vector<VData> DataList

Definition at line 42 of file fast_spheres.hh.

Constructor & Destructor Documentation

◆ FastSphereRenderer() [1/2]

FastSphereRenderer ( size_t  reserve = 0)

◆ FastSphereRenderer() [2/2]

Member Function Documentation

◆ Add() [1/2]

void Add ( const geom::Vec3 pos,
const Color col,
float  rad 
)

◆ Add() [2/2]

void Add ( float  pos[3],
float  col[4],
float  rad 
)

◆ Clear()

void Clear ( )

◆ Data()

const DataList& Data ( ) const
inline

Definition at line 53 of file fast_spheres.hh.

◆ RenderGL()

void RenderGL ( )

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