Tachyon (current)  Current Main Branch
Public Member Functions | Data Fields
SphereArray Struct Reference

#include <TachyonOptiX.h>

Public Member Functions

void addSphere (const float3 &spcenter, const float &spradius)
 

Data Fields

std::vector< float3 PINALLOCS(float3)> center
 
std::vector< float PINALLOCS(float)> radius
 
std::vector< float3 PINALLOCS(float3)> primcolors3f
 
float3 uniform_color
 
int materialindex
 

Detailed Description

Definition at line 244 of file TachyonOptiX.h.

Member Function Documentation

◆ addSphere()

void SphereArray::addSphere ( const float3 &  spcenter,
const float &  spradius 
)
inline

Definition at line 251 of file TachyonOptiX.h.

References center, and radius.

Field Documentation

◆ center

std::vector<float3 PINALLOCS(float3)> SphereArray::center

Definition at line 245 of file TachyonOptiX.h.

Referenced by addSphere(), gen_colorchecker_spheres(), gen_knot(), and gen_spheresurf().

◆ materialindex

int SphereArray::materialindex

Definition at line 249 of file TachyonOptiX.h.

Referenced by TachyonOptiX::add_spherearray().

◆ primcolors3f

std::vector<float3 PINALLOCS(float3)> SphereArray::primcolors3f

Definition at line 247 of file TachyonOptiX.h.

Referenced by gen_colorchecker_spheres(), gen_knot(), and gen_spheresurf().

◆ radius

std::vector<float PINALLOCS(float)> SphereArray::radius

Definition at line 246 of file TachyonOptiX.h.

Referenced by addSphere(), gen_colorchecker_spheres(), gen_knot(), and gen_spheresurf().

◆ uniform_color

float3 SphereArray::uniform_color

Definition at line 248 of file TachyonOptiX.h.


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