COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
covise::coSphere Class Reference

#include <coSphere.h>

Public Types

enum  { TESSELATION = 17 }
 

Public Member Functions

 coSphere ()
 
void deformSpheres (int numPoints, float *dataIn[3], float *xPoints, float *yPoints, float *zPoints, float *xSpheres, float *ySpheres, float *zSpheres, float *normalsOut[3], float scale)
 
void scaleSphere (float radius)
 
void useScaledSphere (const float *sourceX, const float *sourceY, const float *sourceZ, const float *data_in, float radscal, float *xSpheres, float *ySpheres, float *zSpheres, float *xPoints, float *yPoints, float *zPoints, float *normalsOut[3], int *tsl, int *vl, int numPoints, float *dataOut, float *colorIn, int hasColor)
 
void computeSpheres (float scale, float radius, float *data_in[3], float *xSpheres, float *ySpheres, float *zSpheres, float *xPoints, float *yPoints, float *zPoints, float *normalsOut[3], int *tsl, int *vl, int numPoints, float *dataOut, float *colorIn, int hasColor, int hasData)
 
coDistributedObjectamplifyData (const coDistributedObject *, const coObjInfo &newObj, int)
 

Private Member Functions

float gsin (float angle)
 
float gcos (float angle)
 
void buildOneUnitSphere ()
 

Private Attributes

float gcos_72_ [5]
 
float gcos_72_36_ [5]
 
float gsin_72_ [5]
 
float gsin_72_36_ [5]
 
float gsin45_
 
float xSphere_ [TESSELATION]
 
float ySphere_ [TESSELATION]
 
float zSphere_ [TESSELATION]
 
float normalsOutX_ [TESSELATION]
 
float normalsOutY_ [TESSELATION]
 
float normalsOutZ_ [TESSELATION]
 
int tsl_ [6]
 
int vl_ [42]
 
float xScaleSphere_ [TESSELATION]
 
float yScaleSphere_ [TESSELATION]
 
float zScaleSphere_ [TESSELATION]
 

Member Enumeration Documentation

anonymous enum
Enumerator
TESSELATION 

Constructor & Destructor Documentation

coSphere::coSphere ( )

Member Function Documentation

coDistributedObject * coSphere::amplifyData ( const coDistributedObject data_in,
const coObjInfo newObj,
int  numPoints 
)
void coSphere::buildOneUnitSphere ( )
private
void coSphere::computeSpheres ( float  scale,
float  radius,
float *  data_in[3],
float *  xSpheres,
float *  ySpheres,
float *  zSpheres,
float *  xPoints,
float *  yPoints,
float *  zPoints,
float *  normalsOut[3],
int *  tsl,
int *  vl,
int  numPoints,
float *  dataOut,
float *  colorIn,
int  hasColor,
int  hasData 
)
void coSphere::deformSpheres ( int  numPoints,
float *  dataIn[3],
float *  xPoints,
float *  yPoints,
float *  zPoints,
float *  xSpheres,
float *  ySpheres,
float *  zSpheres,
float *  normalsOut[3],
float  scale 
)
float covise::coSphere::gcos ( float  angle)
inlineprivate
float covise::coSphere::gsin ( float  angle)
inlineprivate
void coSphere::scaleSphere ( float  radius)
void coSphere::useScaledSphere ( const float *  sourceX,
const float *  sourceY,
const float *  sourceZ,
const float *  data_in,
float  radscal,
float *  xSpheres,
float *  ySpheres,
float *  zSpheres,
float *  xPoints,
float *  yPoints,
float *  zPoints,
float *  normalsOut[3],
int *  tsl,
int *  vl,
int  numPoints,
float *  dataOut,
float *  colorIn,
int  hasColor 
)

Member Data Documentation

float covise::coSphere::gcos_72_[5]
private
float covise::coSphere::gcos_72_36_[5]
private
float covise::coSphere::gsin45_
private
float covise::coSphere::gsin_72_[5]
private
float covise::coSphere::gsin_72_36_[5]
private
float covise::coSphere::normalsOutX_[TESSELATION]
private
float covise::coSphere::normalsOutY_[TESSELATION]
private
float covise::coSphere::normalsOutZ_[TESSELATION]
private
int covise::coSphere::tsl_[6]
private
int covise::coSphere::vl_[42]
private
float covise::coSphere::xScaleSphere_[TESSELATION]
private
float covise::coSphere::xSphere_[TESSELATION]
private
float covise::coSphere::yScaleSphere_[TESSELATION]
private
float covise::coSphere::ySphere_[TESSELATION]
private
float covise::coSphere::zScaleSphere_[TESSELATION]
private
float covise::coSphere::zSphere_[TESSELATION]
private

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