Geometric objects comprised of multiple primitives. More...
Functions | |
uint | helios::Context::addTileObject (const vec3 ¢er, const vec2 &size, const SphericalCoord &rotation, const int2 &subdiv) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled) | |
uint | helios::Context::addTileObject (const vec3 ¢er, const vec2 &size, const SphericalCoord &rotation, const int2 &subdiv, const RGBcolor &color) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled) | |
uint | helios::Context::addTileObject (const vec3 ¢er, const vec2 &size, const SphericalCoord &rotation, const int2 &subdiv, const char *texturefile) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled) | |
uint | helios::Context::addTileObject (const vec3 ¢er, const vec2 &size, const SphericalCoord &rotation, const int2 &subdiv, const char *texturefile, const int2 &texture_repeat) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled texture) | |
uint | helios::Context::addSphereObject (uint Ndivs, const vec3 ¢er, float radius) |
Add a spherical compound object to the Context. | |
uint | helios::Context::addSphereObject (uint Ndivs, const vec3 ¢er, float radius, const RGBcolor &color) |
Add a spherical compound object to the Context. | |
uint | helios::Context::addSphereObject (uint Ndivs, const vec3 ¢er, float radius, const char *texturefile) |
Add a spherical compound object to the Context colored by texture map. | |
uint | helios::Context::addSphereObject (uint Ndivs, const vec3 ¢er, const vec3 &radius) |
Add a spherical/ellipsoidal compound object to the Context. | |
uint | helios::Context::addSphereObject (uint Ndivs, const vec3 ¢er, const vec3 &radius, const RGBcolor &color) |
Add a spherical/ellipsoidal compound object to the Context. | |
uint | helios::Context::addSphereObject (uint Ndivs, const vec3 ¢er, const vec3 &radius, const char *texturefile) |
Add a spherical/ellipsoidal compound object to the Context colored by texture map. | |
uint | helios::Context::addTubeObject (uint radial_subdivisions, const std::vector< vec3 > &nodes, const std::vector< float > &radius) |
Add a 3D tube compound object to the Context. | |
uint | helios::Context::addTubeObject (uint radial_subdivisions, const std::vector< vec3 > &nodes, const std::vector< float > &radius, const std::vector< RGBcolor > &color) |
Add a 3D tube compound object to the Context and specify its diffuse color. | |
uint | helios::Context::addTubeObject (uint radial_subdivisions, const std::vector< vec3 > &nodes, const std::vector< float > &radius, const char *texturefile) |
Add a 3D tube compound object to the Context that is texture-mapped. Texture is mapped to span the entire tube. | |
uint | helios::Context::addTubeObject (uint radial_subdivisions, const std::vector< vec3 > &nodes, const std::vector< float > &radius, const char *texturefile, const std::vector< float > &textureuv_ufrac) |
Add a 3D tube compound object to the Context that is texture-mapped. | |
uint | helios::Context::addBoxObject (const vec3 ¢er, const vec3 &size, const int3 &subdiv) |
Add a rectangular prism tessellated with Patch primitives. | |
uint | helios::Context::addBoxObject (const vec3 ¢er, const vec3 &size, const int3 &subdiv, const RGBcolor &color) |
Add a rectangular prism tessellated with Patch primitives. | |
uint | helios::Context::addBoxObject (const vec3 ¢er, const vec3 &size, const int3 &subdiv, const char *texturefile) |
Add a rectangular prism tessellated with Patch primitives. | |
uint | helios::Context::addBoxObject (const vec3 ¢er, const vec3 &size, const int3 &subdiv, const RGBcolor &color, bool reverse_normals) |
Add a rectangular prism tessellated with Patch primitives. | |
uint | helios::Context::addBoxObject (vec3 center, const vec3 &size, const int3 &subdiv, const char *texturefile, bool reverse_normals) |
Add a rectangular prism tessellated with Patch primitives. | |
uint | helios::Context::addDiskObject (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size) |
Add new Disk geometric primitive to the Context given its center, and size. | |
uint | helios::Context::addDiskObject (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation) |
Add new Disk Compound Object. | |
uint | helios::Context::addDiskObject (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const helios::RGBcolor &color) |
Add new Disk Compound Object. | |
uint | helios::Context::addDiskObject (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const helios::RGBAcolor &color) |
Add new Disk Compound Object. | |
uint | helios::Context::addDiskObject (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const char *texture_file) |
Add new Disk Compound Object. | |
uint | helios::Context::addDiskObject (const int2 &Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const helios::RGBcolor &color) |
Add new Disk Compound Object. | |
uint | helios::Context::addDiskObject (const int2 &Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const helios::RGBAcolor &color) |
Add new Disk Compound Object. | |
uint | helios::Context::addDiskObject (const int2 &Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const char *texturefile) |
Add new Disk Compound Object. | |
uint | helios::Context::addPolymeshObject (const std::vector< uint > &UUIDs) |
Add new Polymesh Compound Object. | |
uint | helios::Context::addConeObject (uint Ndivs, const vec3 &node0, const vec3 &node1, float radius0, float radius1) |
Add a 3D cone compound object to the Context. | |
uint | helios::Context::addConeObject (uint Ndivs, const vec3 &node0, const vec3 &node1, float radius0, float radius1, const RGBcolor &color) |
Add a 3D cone compound object to the Context and specify its diffuse color. | |
uint | helios::Context::addConeObject (uint Ndivs, const vec3 &node0, const vec3 &node1, float radius0, float radius1, const char *texturefile) |
Add a 3D cone compound object to the Context that is texture-mapped. | |
std::vector< uint > | helios::Context::addSphere (uint Ndivs, const vec3 ¢er, float radius) |
Add a spherical compound object to the Context. | |
std::vector< uint > | helios::Context::addSphere (uint Ndivs, const vec3 ¢er, float radius, const RGBcolor &color) |
Add a spherical compound object to the Context. | |
std::vector< uint > | helios::Context::addSphere (uint Ndivs, const vec3 ¢er, float radius, const char *texturefile) |
Add a spherical compound object to the Context colored by texture map. | |
std::vector< uint > | helios::Context::addTile (const vec3 ¢er, const vec2 &size, const SphericalCoord &rotation, const int2 &subdiv) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled) | |
std::vector< uint > | helios::Context::addTile (const vec3 ¢er, const vec2 &size, const SphericalCoord &rotation, const int2 &subdiv, const RGBcolor &color) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled) | |
std::vector< uint > | helios::Context::addTile (const vec3 ¢er, const vec2 &size, const SphericalCoord &rotation, const int2 &subdiv, const char *texturefile) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled) | |
std::vector< uint > | helios::Context::addTile (const vec3 ¢er, const vec2 &size, const SphericalCoord &rotation, const int2 &subdiv, const char *texturefile, const int2 &texture_repeat) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled texture) | |
std::vector< uint > | helios::Context::addTube (uint Ndivs, const std::vector< vec3 > &nodes, const std::vector< float > &radius) |
Add a 3D tube compound object to the Context. | |
std::vector< uint > | helios::Context::addTube (uint radial_subdivisions, const std::vector< vec3 > &nodes, const std::vector< float > &radius, const std::vector< RGBcolor > &color) |
Add a 3D tube compound object to the Context and specify its diffuse color. | |
std::vector< uint > | helios::Context::addTube (uint radial_subdivisions, const std::vector< vec3 > &nodes, const std::vector< float > &radius, const char *texturefile) |
Add a 3D tube compound object to the Context that is texture-mapped. | |
std::vector< uint > | helios::Context::addBox (const vec3 ¢er, const vec3 &size, const int3 &subdiv) |
Add a rectangular prism tessellated with Patch primitives. | |
std::vector< uint > | helios::Context::addBox (const vec3 ¢er, const vec3 &size, const int3 &subdiv, const RGBcolor &color) |
Add a rectangular prism tessellated with Patch primitives. | |
std::vector< uint > | helios::Context::addBox (const vec3 ¢er, const vec3 &size, const int3 &subdiv, const char *texturefile) |
Add a rectangular prism tessellated with Patch primitives. | |
std::vector< uint > | helios::Context::addBox (const vec3 ¢er, const vec3 &size, const int3 &subdiv, const RGBcolor &color, bool reverse_normals) |
Add a rectangular prism tessellated with Patch primitives. | |
std::vector< uint > | helios::Context::addBox (const vec3 ¢er, const vec3 &size, const int3 &subdiv, const char *texturefile, bool reverse_normals) |
Add a rectangular prism tessellated with Patch primitives. | |
std::vector< uint > | helios::Context::addDisk (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size) |
Add new Disk geometric primitive to the Context given its center, and size. | |
std::vector< uint > | helios::Context::addDisk (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation) |
Add new Disk geometric primitive. | |
std::vector< uint > | helios::Context::addDisk (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const helios::RGBcolor &color) |
Add new Disk geometric primitive. | |
std::vector< uint > | helios::Context::addDisk (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const helios::RGBAcolor &color) |
Add new Disk geometric primitive. | |
std::vector< uint > | helios::Context::addDisk (uint Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const char *texture_file) |
Add new Disk geometric primitive. | |
std::vector< uint > | helios::Context::addDisk (const int2 &Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const helios::RGBcolor &color) |
Add new Disk geometric primitive. | |
std::vector< uint > | helios::Context::addDisk (const int2 &Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const helios::RGBAcolor &color) |
Add new Disk geometric primitive. | |
std::vector< uint > | helios::Context::addDisk (const int2 &Ndivs, const helios::vec3 ¢er, const helios::vec2 &size, const helios::SphericalCoord &rotation, const char *texturefile) |
Add new Disk geometric primitive. | |
std::vector< uint > | helios::Context::addCone (uint Ndivs, const vec3 &node0, const vec3 &node1, float radius0, float radius1) |
Add a 3D cone to the Context. | |
std::vector< uint > | helios::Context::addCone (uint Ndivs, const vec3 &node0, const vec3 &node1, float radius0, float radius1, RGBcolor &color) |
Add a 3D cone to the Context and specify its diffuse color. | |
std::vector< uint > | helios::Context::addCone (uint Ndivs, const vec3 &node0, const vec3 &node1, float radius0, float radius1, const char *texturefile) |
Add a 3D cone to the Context that is texture-mapped. | |
Geometric objects comprised of multiple primitives.
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
Definition at line 2302 of file Context.cpp.
std::vector< uint > Context::addBox | ( | const vec3 & | center, |
const vec3 & | size, | ||
const int3 & | subdiv, | ||
const char * | texturefile | ||
) |
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
[in] | texturefile | Name of image file for texture map |
Definition at line 2312 of file Context.cpp.
std::vector< uint > Context::addBox | ( | const vec3 & | center, |
const vec3 & | size, | ||
const int3 & | subdiv, | ||
const char * | texturefile, | ||
bool | reverse_normals | ||
) |
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
[in] | texturefile | Name of image file for texture map |
[in] | reverse_normals | Flip all surface normals so that patch normals point inside the box |
Definition at line 2406 of file Context.cpp.
std::vector< uint > Context::addBox | ( | const vec3 & | center, |
const vec3 & | size, | ||
const int3 & | subdiv, | ||
const RGBcolor & | color | ||
) |
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
[in] | color | r-g-b color of box |
Definition at line 2308 of file Context.cpp.
std::vector< uint > Context::addBox | ( | const vec3 & | center, |
const vec3 & | size, | ||
const int3 & | subdiv, | ||
const RGBcolor & | color, | ||
bool | reverse_normals | ||
) |
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
[in] | color | r-g-b color of box |
[in] | reverse_normals | Flip all surface normals so that patch normals point inside the box |
Definition at line 2316 of file Context.cpp.
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
Definition at line 759 of file Context_object.cpp.
uint Context::addBoxObject | ( | const vec3 & | center, |
const vec3 & | size, | ||
const int3 & | subdiv, | ||
const char * | texturefile | ||
) |
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
[in] | texturefile | Name of image file for texture map |
Definition at line 769 of file Context_object.cpp.
uint Context::addBoxObject | ( | const vec3 & | center, |
const vec3 & | size, | ||
const int3 & | subdiv, | ||
const RGBcolor & | color | ||
) |
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
[in] | color | r-g-b color of box |
Definition at line 765 of file Context_object.cpp.
uint Context::addBoxObject | ( | const vec3 & | center, |
const vec3 & | size, | ||
const int3 & | subdiv, | ||
const RGBcolor & | color, | ||
bool | reverse_normals | ||
) |
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
[in] | color | r-g-b color of box |
[in] | reverse_normals | Flip all surface normals so that patch normals point inside the box |
Definition at line 773 of file Context_object.cpp.
uint Context::addBoxObject | ( | vec3 | center, |
const vec3 & | size, | ||
const int3 & | subdiv, | ||
const char * | texturefile, | ||
bool | reverse_normals | ||
) |
Add a rectangular prism tessellated with Patch primitives.
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x-, y-, and z-directions |
[in] | subdiv | Number of subdivisions in x-, y-, and z-directions |
[in] | texturefile | Name of image file for texture map |
[in] | reverse_normals | Flip all surface normals so that patch normals point inside the box |
Definition at line 892 of file Context_object.cpp.
std::vector< uint > Context::addCone | ( | uint | Ndivs, |
const vec3 & | node0, | ||
const vec3 & | node1, | ||
float | radius0, | ||
float | radius1 | ||
) |
Add a 3D cone to the Context.
A ‘cone’ or ‘cone frustum’ or 'cylinder' compound object comprised of Triangle primitives
[in] | Ndivs | Number of radial divisions of the Cone. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | node0 | (x,y,z) position defining the base of the cone |
[in] | node1 | (x,y,z) position defining the end of the cone |
[in] | radius0 | Radius of the cone at the base node. |
[in] | radius1 | Radius of the cone at the base node. |
Definition at line 2623 of file Context.cpp.
std::vector< uint > Context::addCone | ( | uint | Ndivs, |
const vec3 & | node0, | ||
const vec3 & | node1, | ||
float | radius0, | ||
float | radius1, | ||
const char * | texturefile | ||
) |
Add a 3D cone to the Context that is texture-mapped.
A ‘cone’ or ‘cone frustum’ or 'cylinder' compound object comprised of Triangle primitives
[in] | Ndivs | Number of radial divisions of the Cone. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | node0 | (x,y,z) position defining the base of the cone |
[in] | node1 | (x,y,z) position defining the end of the cone |
[in] | radius0 | Radius of the cone at the base node. |
[in] | radius1 | Radius of the cone at the base node. |
[in] | texturefile | Name of image file for texture map |
Definition at line 2711 of file Context.cpp.
std::vector< uint > Context::addCone | ( | uint | Ndivs, |
const vec3 & | node0, | ||
const vec3 & | node1, | ||
float | radius0, | ||
float | radius1, | ||
RGBcolor & | color | ||
) |
Add a 3D cone to the Context and specify its diffuse color.
A ‘cone’ or ‘cone frustum’ or 'cylinder' compound object comprised of Triangle primitives
[in] | Ndivs | Number of radial divisions of the Cone. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | node0 | (x,y,z) position defining the base of the cone |
[in] | node1 | (x,y,z) position defining the end of the cone |
[in] | radius0 | Radius of the cone at the base node. |
[in] | radius1 | Radius of the cone at the base node. |
[in] | color | Diffuse color of the cone. |
Definition at line 2630 of file Context.cpp.
uint Context::addConeObject | ( | uint | Ndivs, |
const vec3 & | node0, | ||
const vec3 & | node1, | ||
float | radius0, | ||
float | radius1 | ||
) |
Add a 3D cone compound object to the Context.
A ‘cone’ or ‘cone frustum’ or 'cylinder' compound object comprised of Triangle primitives
[in] | Ndivs | Number of radial divisions of the Cone. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | node0 | (x,y,z) position defining the base of the cone |
[in] | node1 | (x,y,z) position defining the end of the cone |
[in] | radius0 | Radius of the cone at the base node. |
[in] | radius1 | Radius of the cone at the base node. |
Definition at line 1216 of file Context_object.cpp.
uint Context::addConeObject | ( | uint | Ndivs, |
const vec3 & | node0, | ||
const vec3 & | node1, | ||
float | radius0, | ||
float | radius1, | ||
const char * | texturefile | ||
) |
Add a 3D cone compound object to the Context that is texture-mapped.
A ‘cone’ or ‘cone frustum’ or 'cylinder' compound object comprised of Triangle primitives
[in] | Ndivs | Number of radial divisions of the Cone. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | node0 | (x,y,z) position defining the base of the cone |
[in] | node1 | (x,y,z) position defining the end of the cone |
[in] | radius0 | Radius of the cone at the base node. |
[in] | radius1 | Radius of the cone at the base node. |
[in] | texturefile | Name of image file for texture map |
Definition at line 1325 of file Context_object.cpp.
uint Context::addConeObject | ( | uint | Ndivs, |
const vec3 & | node0, | ||
const vec3 & | node1, | ||
float | radius0, | ||
float | radius1, | ||
const RGBcolor & | color | ||
) |
Add a 3D cone compound object to the Context and specify its diffuse color.
A ‘cone’ or ‘cone frustum’ or 'cylinder' compound object comprised of Triangle primitives
[in] | Ndivs | Number of radial divisions of the Cone. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | node0 | (x,y,z) position defining the base of the cone |
[in] | node1 | (x,y,z) position defining the end of the cone |
[in] | radius0 | Radius of the cone at the base node. |
[in] | radius1 | Radius of the cone at the base node. |
[in] | color | Diffuse color of each tube segment. |
Definition at line 1221 of file Context_object.cpp.
std::vector< uint > Context::addDisk | ( | const int2 & | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const char * | texturefile | ||
) |
Add new Disk geometric primitive.
Method to add a new Disk to the Context given its center, size, spherical rotation, and a texture map handle.
[in] | Ndivs | Number of subdivisions for triangulation in the polar (.x) and radial (.y) directions |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | texturefile | path to JPEG file to be used as texture |
Definition at line 2559 of file Context.cpp.
std::vector< uint > Context::addDisk | ( | const int2 & | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const helios::RGBAcolor & | color | ||
) |
Add new Disk geometric primitive.
Method to add a new Disk to the Context given its center, size, spherical rotation, and diffuse RGBAcolor.
[in] | Ndivs | Number of subdivisions for triangulation in the polar (.x) and radial (.y) directions |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | color | diffuse R-G-B-A color of Disk |
Definition at line 2526 of file Context.cpp.
std::vector< uint > Context::addDisk | ( | const int2 & | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const helios::RGBcolor & | color | ||
) |
Add new Disk geometric primitive.
Method to add a new Disk to the Context given its center, size, spherical rotation, and diffuse RGBcolor.
[in] | Ndivs | Number of subdivisions for triangulation in the polar (.x) and radial (.y) directions |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | color | diffuse R-G-B color of Disk |
Definition at line 2522 of file Context.cpp.
std::vector< uint > Context::addDisk | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size | ||
) |
Add new Disk geometric primitive to the Context given its center, and size.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
Definition at line 2502 of file Context.cpp.
std::vector< uint > Context::addDisk | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation | ||
) |
Add new Disk geometric primitive.
Method to add a new Disk to the Context given its center, size, and spherical rotation.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
Definition at line 2506 of file Context.cpp.
std::vector< uint > Context::addDisk | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const char * | texture_file | ||
) |
Add new Disk geometric primitive.
Method to add a new Disk to the Context given its center, size, spherical rotation, and a texture map handle.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | texture_file | path to JPEG file to be used as texture |
Definition at line 2518 of file Context.cpp.
std::vector< uint > Context::addDisk | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const helios::RGBAcolor & | color | ||
) |
Add new Disk geometric primitive.
Method to add a new Disk to the Context given its center, size, spherical rotation, and diffuse RGBAcolor.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | color | diffuse R-G-B-A color of Disk |
Definition at line 2514 of file Context.cpp.
std::vector< uint > Context::addDisk | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const helios::RGBcolor & | color | ||
) |
Add new Disk geometric primitive.
Method to add a new Disk to the Context given its center, size, spherical rotation, and diffuse RGBcolor.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | color | diffuse R-G-B color of Disk |
Definition at line 2510 of file Context.cpp.
uint Context::addDiskObject | ( | const int2 & | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const char * | texturefile | ||
) |
Add new Disk Compound Object.
Method to add a new Disk to the Context given its center, size, spherical rotation, and a texture map handle.
[in] | Ndivs | Number of subdivisions for triangulation in the polar (.x) and radial (.y) directions |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | texturefile | path to JPEG file to be used as texture |
Definition at line 1088 of file Context_object.cpp.
uint Context::addDiskObject | ( | const int2 & | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const helios::RGBAcolor & | color | ||
) |
Add new Disk Compound Object.
Method to add a new Disk to the Context given its center, size, spherical rotation, and diffuse RGBAcolor.
[in] | Ndivs | Number of subdivisions for triangulation in the polar (.x) and radial (.y) directions |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | color | diffuse R-G-B-A color of Disk |
Definition at line 1032 of file Context_object.cpp.
uint Context::addDiskObject | ( | const int2 & | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const helios::RGBcolor & | color | ||
) |
Add new Disk Compound Object.
Method to add a new Disk to the Context given its center, size, spherical rotation, and diffuse RGBcolor.
[in] | Ndivs | Number of subdivisions for triangulation in the polar (.x) and radial (.y) directions |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | color | diffuse R-G-B color of Disk |
Definition at line 1028 of file Context_object.cpp.
uint Context::addDiskObject | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size | ||
) |
Add new Disk geometric primitive to the Context given its center, and size.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
Definition at line 1008 of file Context_object.cpp.
uint Context::addDiskObject | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation | ||
) |
Add new Disk Compound Object.
Method to add a new Disk to the Context given its center, size, and spherical rotation.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
Definition at line 1012 of file Context_object.cpp.
uint Context::addDiskObject | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const char * | texture_file | ||
) |
Add new Disk Compound Object.
Method to add a new Disk to the Context given its center, size, spherical rotation, and a texture map handle.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | texture_file | path to JPEG file to be used as texture |
Definition at line 1024 of file Context_object.cpp.
uint Context::addDiskObject | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const helios::RGBAcolor & | color | ||
) |
Add new Disk Compound Object.
Method to add a new Disk to the Context given its center, size, spherical rotation, and diffuse RGBAcolor.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | color | diffuse R-G-B-A color of Disk |
Definition at line 1020 of file Context_object.cpp.
uint Context::addDiskObject | ( | uint | Ndivs, |
const helios::vec3 & | center, | ||
const helios::vec2 & | size, | ||
const helios::SphericalCoord & | rotation, | ||
const helios::RGBcolor & | color | ||
) |
Add new Disk Compound Object.
Method to add a new Disk to the Context given its center, size, spherical rotation, and diffuse RGBcolor.
[in] | Ndivs | Number to triangles used to form disk |
[in] | center | 3D coordinates of Disk center |
[in] | size | length of Disk semi-major and semi-minor radii |
[in] | rotation | spherical rotation angle (elevation,azimuth) in radians of Disk |
[in] | color | diffuse R-G-B color of Disk |
Definition at line 1016 of file Context_object.cpp.
Add new Polymesh Compound Object.
Method to add a new Polymesh to the Context given a vector of UUIDs
[in] | UUIDs | Unique universal identifiers of primitives to be added to polymesh object |
Definition at line 1172 of file Context_object.cpp.
Add a spherical compound object to the Context.
[in] | Ndivs | Number of tessellations in zenithal and azimuthal directions |
[in] | center | (x,y,z) coordinate of sphere center |
[in] | radius | Radius of sphere |
Definition at line 1781 of file Context.cpp.
std::vector< uint > Context::addSphere | ( | uint | Ndivs, |
const vec3 & | center, | ||
float | radius, | ||
const char * | texturefile | ||
) |
Add a spherical compound object to the Context colored by texture map.
[in] | Ndivs | Number of tessellations in zenithal and azimuthal directions |
[in] | center | (x,y,z) coordinate of sphere center |
[in] | radius | Radius of sphere |
[in] | texturefile | Name of image file for texture map |
Definition at line 1827 of file Context.cpp.
std::vector< uint > Context::addSphere | ( | uint | Ndivs, |
const vec3 & | center, | ||
float | radius, | ||
const RGBcolor & | color | ||
) |
Add a spherical compound object to the Context.
[in] | Ndivs | Number of tessellations in zenithal and azimuthal directions |
[in] | center | (x,y,z) coordinate of sphere center |
[in] | radius | Radius of sphere |
[in] | color | r-g-b color of sphere |
Definition at line 1787 of file Context.cpp.
Add a spherical/ellipsoidal compound object to the Context.
[in] | Ndivs | Number of tessellations in zenithal and azimuthal directions |
[in] | center | (x,y,z) coordinate of sphere center |
[in] | radius | Radius of sphere in x-, y-, and z-directions |
Definition at line 32 of file Context_object.cpp.
uint Context::addSphereObject | ( | uint | Ndivs, |
const vec3 & | center, | ||
const vec3 & | radius, | ||
const char * | texturefile | ||
) |
Add a spherical/ellipsoidal compound object to the Context colored by texture map.
[in] | Ndivs | Number of tessellations in zenithal and azimuthal directions |
[in] | center | (x,y,z) coordinate of sphere center |
[in] | radius | Radius of sphere in x-, y-, and z-directions |
[in] | texturefile | Name of image file for texture map |
Definition at line 113 of file Context_object.cpp.
uint Context::addSphereObject | ( | uint | Ndivs, |
const vec3 & | center, | ||
const vec3 & | radius, | ||
const RGBcolor & | color | ||
) |
Add a spherical/ellipsoidal compound object to the Context.
[in] | Ndivs | Number of tessellations in zenithal and azimuthal directions |
[in] | center | (x,y,z) coordinate of sphere center |
[in] | radius | Radius of sphere in x-, y-, and z-directions |
[in] | color | r-g-b color of sphere |
Definition at line 36 of file Context_object.cpp.
Add a spherical compound object to the Context.
[in] | Ndivs | Number of tessellations in zenithal and azimuthal directions |
[in] | center | (x,y,z) coordinate of sphere center |
[in] | radius | Radius of sphere |
Definition at line 20 of file Context_object.cpp.
uint Context::addSphereObject | ( | uint | Ndivs, |
const vec3 & | center, | ||
float | radius, | ||
const char * | texturefile | ||
) |
Add a spherical compound object to the Context colored by texture map.
[in] | Ndivs | Number of tessellations in zenithal and azimuthal directions |
[in] | center | (x,y,z) coordinate of sphere center |
[in] | radius | Radius of sphere |
[in] | texturefile | Name of image file for texture map |
Definition at line 28 of file Context_object.cpp.
uint Context::addSphereObject | ( | uint | Ndivs, |
const vec3 & | center, | ||
float | radius, | ||
const RGBcolor & | color | ||
) |
Add a spherical compound object to the Context.
[in] | Ndivs | Number of tessellations in zenithal and azimuthal directions |
[in] | center | (x,y,z) coordinate of sphere center |
[in] | radius | Radius of sphere |
[in] | color | r-g-b color of sphere |
Definition at line 24 of file Context_object.cpp.
std::vector< uint > Context::addTile | ( | const vec3 & | center, |
const vec2 & | size, | ||
const SphericalCoord & | rotation, | ||
const int2 & | subdiv | ||
) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled)
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x- and y-directions |
[in] | rotation | Spherical rotation of tiled surface |
[in] | subdiv | Number of subdivisions in x- and y-directions |
Definition at line 1942 of file Context.cpp.
std::vector< uint > Context::addTile | ( | const vec3 & | center, |
const vec2 & | size, | ||
const SphericalCoord & | rotation, | ||
const int2 & | subdiv, | ||
const char * | texturefile | ||
) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled)
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x- and y-directions |
[in] | rotation | Spherical rotation of tiled surface |
[in] | subdiv | Number of subdivisions in x- and y-directions |
[in] | texturefile | Name of image file for texture map |
Definition at line 1977 of file Context.cpp.
std::vector< uint > Context::addTile | ( | const vec3 & | center, |
const vec2 & | size, | ||
const SphericalCoord & | rotation, | ||
const int2 & | subdiv, | ||
const char * | texturefile, | ||
const int2 & | texture_repeat | ||
) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled texture)
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x- and y-directions |
[in] | rotation | Spherical rotation of tiled surface |
[in] | subdiv | Number of subdivisions in x- and y-directions |
[in] | texturefile | Name of image file for texture map |
[in] | texture_repeat | Number of times to repeat the texture image in the x- and y-directions |
Definition at line 1981 of file Context.cpp.
std::vector< uint > Context::addTile | ( | const vec3 & | center, |
const vec2 & | size, | ||
const SphericalCoord & | rotation, | ||
const int2 & | subdiv, | ||
const RGBcolor & | color | ||
) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled)
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x- and y-directions |
[in] | rotation | Spherical rotation of tiled surface |
[in] | subdiv | Number of subdivisions in x- and y-directions |
[in] | color | r-g-b color of tiled surface |
Definition at line 1948 of file Context.cpp.
uint Context::addTileObject | ( | const vec3 & | center, |
const vec2 & | size, | ||
const SphericalCoord & | rotation, | ||
const int2 & | subdiv | ||
) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled)
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x- and y-directions |
[in] | rotation | Spherical rotation of tiled surface |
[in] | subdiv | Number of subdivisions in x- and y-directions |
Definition at line 264 of file Context_object.cpp.
uint Context::addTileObject | ( | const vec3 & | center, |
const vec2 & | size, | ||
const SphericalCoord & | rotation, | ||
const int2 & | subdiv, | ||
const char * | texturefile | ||
) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled)
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x- and y-directions |
[in] | rotation | Spherical rotation of tiled surface |
[in] | subdiv | Number of subdivisions in x- and y-directions |
[in] | texturefile | Name of image file for texture map |
Definition at line 332 of file Context_object.cpp.
uint Context::addTileObject | ( | const vec3 & | center, |
const vec2 & | size, | ||
const SphericalCoord & | rotation, | ||
const int2 & | subdiv, | ||
const char * | texturefile, | ||
const int2 & | texture_repeat | ||
) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled texture)
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x- and y-directions |
[in] | rotation | Spherical rotation of tiled surface |
[in] | subdiv | Number of subdivisions in x- and y-directions |
[in] | texturefile | Name of image file for texture map |
[in] | texture_repeat | Number of times to repeat the texture image in the x- and y-directions |
Definition at line 336 of file Context_object.cpp.
uint Context::addTileObject | ( | const vec3 & | center, |
const vec2 & | size, | ||
const SphericalCoord & | rotation, | ||
const int2 & | subdiv, | ||
const RGBcolor & | color | ||
) |
Add a patch that is subdivided into a regular grid of sub-patches (tiled)
[in] | center | 3D coordinates of box center |
[in] | size | Size of the box in the x- and y-directions |
[in] | rotation | Spherical rotation of tiled surface |
[in] | subdiv | Number of subdivisions in x- and y-directions |
[in] | color | r-g-b color of tiled surface |
Definition at line 270 of file Context_object.cpp.
std::vector< uint > Context::addTube | ( | uint | Ndivs, |
const std::vector< vec3 > & | nodes, | ||
const std::vector< float > & | radius | ||
) |
Add a 3D tube compound object to the Context.
A ‘tube’ or ‘snake’ compound object comprised of Triangle primitives
[in] | Ndivs | Number of radial divisions of the Tube. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | nodes | Vector of (x,y,z) positions defining Tube segments. |
[in] | radius | Radius of the tube at each node position. |
Definition at line 2063 of file Context.cpp.
std::vector< uint > Context::addTube | ( | uint | radial_subdivisions, |
const std::vector< vec3 > & | nodes, | ||
const std::vector< float > & | radius, | ||
const char * | texturefile | ||
) |
Add a 3D tube compound object to the Context that is texture-mapped.
A ‘tube’ or ‘snake’ compound object comprised of Triangle primitives
[in] | radial_subdivisions | Number of radial divisions of the Tube. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | nodes | Vector of (x,y,z) positions defining Tube segments. |
[in] | radius | Radius of the tube at each node position. |
[in] | texturefile | Name of image file for texture map |
Definition at line 2168 of file Context.cpp.
std::vector< uint > Context::addTube | ( | uint | radial_subdivisions, |
const std::vector< vec3 > & | nodes, | ||
const std::vector< float > & | radius, | ||
const std::vector< RGBcolor > & | color | ||
) |
Add a 3D tube compound object to the Context and specify its diffuse color.
A ‘tube’ or ‘snake’ compound object comprised of Triangle primitives
[in] | radial_subdivisions | Number of radial divisions of the Tube. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | nodes | Vector of (x,y,z) positions defining Tube segments. |
[in] | radius | Radius of the tube at each node position. |
[in] | color | Diffuse color of each tube segment. |
Definition at line 2069 of file Context.cpp.
uint Context::addTubeObject | ( | uint | radial_subdivisions, |
const std::vector< vec3 > & | nodes, | ||
const std::vector< float > & | radius | ||
) |
Add a 3D tube compound object to the Context.
A ‘tube’ or ‘snake’ compound object comprised of Triangle primitives
[in] | radial_subdivisions | Number of radial divisions of the Tube. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | nodes | Vector of (x,y,z) positions defining Tube segments. |
[in] | radius | Radius of the tube at each node position. |
Definition at line 451 of file Context_object.cpp.
uint Context::addTubeObject | ( | uint | radial_subdivisions, |
const std::vector< vec3 > & | nodes, | ||
const std::vector< float > & | radius, | ||
const char * | texturefile | ||
) |
Add a 3D tube compound object to the Context that is texture-mapped. Texture is mapped to span the entire tube.
A ‘tube’ or ‘snake’ compound object comprised of Triangle primitives
[in] | radial_subdivisions | Number of radial divisions of the Tube. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | nodes | Vector of (x,y,z) positions defining Tube segments. |
[in] | radius | Radius of the tube at each node position. |
[in] | texturefile | Name of image file for texture map |
Definition at line 592 of file Context_object.cpp.
uint Context::addTubeObject | ( | uint | radial_subdivisions, |
const std::vector< vec3 > & | nodes, | ||
const std::vector< float > & | radius, | ||
const char * | texturefile, | ||
const std::vector< float > & | textureuv_ufrac | ||
) |
Add a 3D tube compound object to the Context that is texture-mapped.
A ‘tube’ or ‘snake’ compound object comprised of Triangle primitives
[in] | radial_subdivisions | Number of radial divisions of the Tube. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | nodes | Vector of (x,y,z) positions defining Tube segments. |
[in] | radius | Radius of the tube at each node position. |
[in] | texturefile | Name of image file for texture map |
[in] | textureuv_ufrac | Vector of texture coordinates (u/longitudinal-direction) for each node position. |
Definition at line 602 of file Context_object.cpp.
uint Context::addTubeObject | ( | uint | radial_subdivisions, |
const std::vector< vec3 > & | nodes, | ||
const std::vector< float > & | radius, | ||
const std::vector< RGBcolor > & | color | ||
) |
Add a 3D tube compound object to the Context and specify its diffuse color.
A ‘tube’ or ‘snake’ compound object comprised of Triangle primitives
[in] | radial_subdivisions | Number of radial divisions of the Tube. E.g., Ndivs = 3 would be a triangular prism, Ndivs = 4 would be a rectangular prism, etc. |
[in] | nodes | Vector of (x,y,z) positions defining Tube segments. |
[in] | radius | Radius of the tube at each node position. |
[in] | color | Diffuse color of each tube segment. |
Definition at line 463 of file Context_object.cpp.