#include <RobMeshTriangle.hxx>
Inheritance diagram for RayGina::CORE::RobMeshTriangle:

Public Member Functions | |
| virtual const RExtension * | getInstanceExtension () const |
| RobMeshTriangle (RobMesh *newMesh, RUInt32 newTriangleIndex) | |
| init a triangle with the given attributes | |
| void | set (RobMesh *newMesh, RUInt32 newTriangleIndex) |
| RobMesh * | getMesh () const |
| virtual | ~RobMeshTriangle () |
| destructor | |
| RssBase * | getSurfaceShader () const |
| returns the surface shader for the triangle defined in the RobMesh | |
| RvsBase * | getVolumeShader () const |
| returns the volume shader for the triangle defined in the RobMesh | |
| const RStatus | setSurfaceShader (RssBase *newShader) |
| virtual const RStatus | setVolumeShader (RvsBase *newShader) |
| This methods sets the volume shader for the object that will be used when a valid intersection is found with this object. | |
| virtual const RBool | intersect (RRay *ray) |
| returns true if there is an intersection with the object and the given | |
| virtual const RBool | occlude (const RRay *ray) |
| returns true if there is an intersection with the object and the given | |
| virtual const RVec3r | getNormal (RRay *ray) |
| get the normal from the object according to the given ray | |
| virtual const RVec2r | getUV (RRay *ray) |
| get the uv from the object according to the given ray | |
| virtual const RBool | getRenderObjects (RobAccelerator *renderlist) |
| returns true if there is an intersection with the object and the given | |
| virtual const RBool | intersectAABB (RobAABB *voxel) const |
| virtual const RStatus | getBoundingAABB (RobAABB *theBB) const |
| std::ostream & | operator<< (std::ostream &os) |
| prints out the important RRay data (DEBUGGING) | |
Protected Attributes | |
| RobMesh * | _mesh |
| RUInt32 | _triangleIndex |
|
||||||||||||
|
init a triangle with the given attributes
Definition at line 37 of file RobMeshTriangle.hxx. |
|
|
destructor
Definition at line 60 of file RobMeshTriangle.hxx. |
|
|
Implements RayGina::CORE::RobGeometry. Definition at line 100 of file RobMeshTriangle.hxx. |
|
|
returns the RExtension for the instance If it returns NULL this instance is not able to act as an extension Implements RayGina::CORE::RObject. Definition at line 17 of file RobMeshTriangle.hxx. |
|
|
Definition at line 55 of file RobMeshTriangle.hxx. |
|
|
get the normal from the object according to the given ray returns the normal from the surface according to the last intersection tes with the given ray THE GIVEN RAY MUST BE THE SAME LIKE THE ONE YOU PERFORMED THE LAST INTESECTION TEST WITH THE OBJECT!! Implements RayGina::CORE::RobGeometry. Reimplemented in RayGina::CORE::RobMeshNormalsTriangle. Definition at line 68 of file RobMeshTriangle.cxx. |
|
|
returns true if there is an intersection with the object and the given
Implements RayGina::CORE::RobGeometry. Definition at line 95 of file RobMeshTriangle.hxx. |
|
|
returns the surface shader for the triangle defined in the RobMesh
Implements RayGina::CORE::RobGeometry. Definition at line 63 of file RobMeshTriangle.hxx. |
|
|
get the uv from the object according to the given ray returns the uv from the surface according to the last intersection tes with the given ray THE GIVEN RAY MUST BE THE SAME LIKE THE ONE YOU PERFORMED THE LAST INTESECTION TEST WITH THE OBJECT!! Implements RayGina::CORE::RobGeometry. Reimplemented in RayGina::CORE::RobMeshNormalsUVTriangle. Definition at line 89 of file RobMeshTriangle.hxx. |
|
|
returns the volume shader for the triangle defined in the RobMesh
Reimplemented from RayGina::CORE::RobGeometry. Definition at line 67 of file RobMeshTriangle.hxx. |
|
|
returns true if there is an intersection with the object and the given
Implements RayGina::CORE::RobGeometry. Definition at line 6 of file RobMeshTriangle.cxx. |
|
|
!!!!! !!!!! !!! !!! Implements RayGina::CORE::RobGeometry. Definition at line 84 of file RobMeshTriangle.cxx. |
|
|
returns true if there is an intersection with the object and the given
Implements RayGina::CORE::RobGeometry. Definition at line 39 of file RobMeshTriangle.cxx. |
|
|
prints out the important RRay data (DEBUGGING)
Definition at line 190 of file RobMeshTriangle.hxx. |
|
||||||||||||
|
Definition at line 40 of file RobMeshTriangle.hxx. |
|
|
You can NOT overwrite the shader from the RobMesh This fuction does nothing! Implements RayGina::CORE::RobGeometry. Definition at line 72 of file RobMeshTriangle.hxx. |
|
|
This methods sets the volume shader for the object that will be used when a valid intersection is found with this object. attach a shader to the object, the previous one will be overwritten (BUT NOT DELETED!) (ONLY 1 shader per object)
Implements RayGina::CORE::RobGeometry. Definition at line 77 of file RobMeshTriangle.hxx. |
|
|
Definition at line 13 of file RobMeshTriangle.hxx. |
|
|
Definition at line 14 of file RobMeshTriangle.hxx. |
1.3.9.1