#include <coSphere.h>
|
| coSphere () |
|
void | setRenderMethod (RenderMethod rm) |
|
void | setNumberOfSpheres (int n) |
|
void | updateCoords (const float *x_c, const float *y_c, const float *z_c) |
|
void | updateCoordsFromMatrices (float *const *matrices) |
|
void | updateCoords (int i, const osg::Vec3 &pos) |
|
void | setCoords (int no_of_points, const float *x, const float *y, const float *z, const float *r) |
|
void | setCoords (int no_of_points, const float *x, const float *y, const float *z, float r=1.f) |
|
void | setCoords (int no_of_points, const osg::Vec3Array *coords, const float *r) |
|
void | updateRadii (const float *r) |
|
void | updateRadii (const double *r) |
|
void | updateNormals (const float *nx, const float *ny, const float *nz) |
|
void | setColorBinding (int colorbinding) |
|
void | setColor (int index, float r, float g, float b, float a) |
|
void | updateColors (const float *r, const float *g, const float *b, const float *a=NULL) |
|
void | updateColors (const int *pc) |
|
void | overrideBoundingBox (const osg::BoundingBox &bb) |
|
virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
|
void | setMaxRadius (float m) |
|
void | setVertexAttribArray (unsigned int index, const osg::Array *array, osg::Array::Binding binding=osg::Array::BIND_UNDEFINED) |
|
Enumerator |
---|
RENDER_METHOD_CPU_BILLBOARDS |
|
RENDER_METHOD_CG_SHADER |
|
RENDER_METHOD_ARB_POINT_SPRITES |
|
RENDER_METHOD_PARTICLE_CLOUD |
|
RENDER_METHOD_DISC |
|
RENDER_METHOD_TEXTURE |
|
RENDER_METHOD_CG_SHADER_INVERTED |
|
opencover::coSphere::coSphere |
( |
| ) |
|
virtual osg::BoundingBox opencover::coSphere::computeBound |
( |
| ) |
const |
|
protectedvirtual |
virtual void opencover::coSphere::drawImplementation |
( |
osg::RenderInfo & |
renderInfo | ) |
const |
|
virtual |
static void opencover::coSphere::enableTransparencyOverride |
( |
bool |
| ) |
|
|
static |
void opencover::coSphere::overrideBoundingBox |
( |
const osg::BoundingBox & |
bb | ) |
|
void opencover::coSphere::setColor |
( |
int |
index, |
|
|
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
void opencover::coSphere::setColorBinding |
( |
int |
colorbinding | ) |
|
void opencover::coSphere::setCoords |
( |
int |
no_of_points, |
|
|
const float * |
x, |
|
|
const float * |
y, |
|
|
const float * |
z, |
|
|
const float * |
r |
|
) |
| |
void opencover::coSphere::setCoords |
( |
int |
no_of_points, |
|
|
const float * |
x, |
|
|
const float * |
y, |
|
|
const float * |
z, |
|
|
float |
r = 1.f |
|
) |
| |
void opencover::coSphere::setCoords |
( |
int |
no_of_points, |
|
|
const osg::Vec3Array * |
coords, |
|
|
const float * |
r |
|
) |
| |
void opencover::coSphere::setMaxRadius |
( |
float |
m | ) |
|
|
inline |
void opencover::coSphere::setNumberOfSpheres |
( |
int |
n | ) |
|
void opencover::coSphere::setRenderMethod |
( |
RenderMethod |
rm | ) |
|
static void opencover::coSphere::setScale |
( |
float |
scale | ) |
|
|
static |
static void opencover::coSphere::setTransparency |
( |
float |
alpha | ) |
|
|
static |
void opencover::coSphere::setVertexAttribArray |
( |
unsigned int |
index, |
|
|
const osg::Array * |
array, |
|
|
osg::Array::Binding |
binding = osg::Array::BIND_UNDEFINED |
|
) |
| |
void opencover::coSphere::updateColors |
( |
const float * |
r, |
|
|
const float * |
g, |
|
|
const float * |
b, |
|
|
const float * |
a = NULL |
|
) |
| |
void opencover::coSphere::updateColors |
( |
const int * |
pc | ) |
|
void opencover::coSphere::updateCoords |
( |
const float * |
x_c, |
|
|
const float * |
y_c, |
|
|
const float * |
z_c |
|
) |
| |
void opencover::coSphere::updateCoords |
( |
int |
i, |
|
|
const osg::Vec3 & |
pos |
|
) |
| |
void opencover::coSphere::updateCoordsFromMatrices |
( |
float *const * |
matrices | ) |
|
void opencover::coSphere::updateNormals |
( |
const float * |
nx, |
|
|
const float * |
ny, |
|
|
const float * |
nz |
|
) |
| |
void opencover::coSphere::updateRadii |
( |
const float * |
r | ) |
|
void opencover::coSphere::updateRadii |
( |
const double * |
r | ) |
|
friend class SphereIntersector |
|
friend |
The documentation for this class was generated from the following file: