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

Public Member Functions | |
| virtual const RExtension * | getInstanceExtension () const |
| RobTriangle (RVec3r c1, RVec3r c2, RVec3r c3) | |
| init a triangle with the given attributes | |
| void | set (RVec3r c1, RVec3r c2, RVec3r c3) |
| const RVec3r | getEdge1 () const |
| const RVec3r | getEdge2 () const |
| const RVec3r | getEdge3 () const |
| virtual | ~RobTriangle () |
| destructor | |
| RssBase * | getSurfaceShader () const |
| Method to get the shader used for rendering the object. | |
| const RStatus | setSurfaceShader (RssBase *newShader) |
| This methods sets the surface shader for the object that will be used when a valid intersection is found with this object. | |
| 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 RvsBase * | getVolumeShader () |
| 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 |
Static Public Member Functions | |
| const RExtension * | __getExtension () |
Static Private Member Functions | |
| RObject * | _createInstance () |
| RatStaticContainer * | _getAttributes () |
| const RStatus | _initialize (RatStaticContainer *attributes) |
Private Attributes | |
| RVec3r | _c1 |
| RVec3r | _c2 |
| RVec3r | _c3 |
| RssBase * | _shader |
Static Private Attributes | |
| const RExtension | _extensionData |
|
||||||||||||||||
|
init a triangle with the given attributes
Definition at line 42 of file RobTriangle.hxx. |
|
|
destructor
Definition at line 61 of file RobTriangle.hxx. |
|
|
Definition at line 37 of file RobTriangle.hxx. |
|
|
Definition at line 17 of file RobTriangle.hxx. |
|
|
Definition at line 21 of file RobTriangle.hxx. |
|
|
Definition at line 24 of file RobTriangle.hxx. |
|
|
Implements RayGina::CORE::RobGeometry. Definition at line 96 of file RobTriangle.hxx. |
|
|
Definition at line 50 of file RobTriangle.hxx. |
|
|
Definition at line 53 of file RobTriangle.hxx. |
|
|
Definition at line 56 of file RobTriangle.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 34 of file RobTriangle.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. Definition at line 71 of file RobTriangle.cxx. |
|
|
returns true if there is an intersection with the object and the given
Implements RayGina::CORE::RobGeometry. Definition at line 91 of file RobTriangle.hxx. |
|
|
Method to get the shader used for rendering the object. Every object can use a separate shader, so you can use this method to get the stored shader for this object and so you can use it for shading calculations.
Implements RayGina::CORE::RobGeometry. Definition at line 63 of file RobTriangle.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. Definition at line 86 of file RobTriangle.hxx. |
|
|
Definition at line 75 of file RobTriangle.hxx. |
|
|
returns true if there is an intersection with the object and the given
Implements RayGina::CORE::RobGeometry. Definition at line 20 of file RobTriangle.cxx. |
|
|
!!!!! !!!!! !!! !!! Implements RayGina::CORE::RobGeometry. Definition at line 81 of file RobTriangle.cxx. |
|
|
returns true if there is an intersection with the object and the given
Implements RayGina::CORE::RobGeometry. Definition at line 48 of file RobTriangle.cxx. |
|
||||||||||||||||
|
Definition at line 44 of file RobTriangle.hxx. |
|
|
This methods sets the surface 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 66 of file RobTriangle.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 72 of file RobTriangle.hxx. |
|
|
Definition at line 28 of file RobTriangle.hxx. |
|
|
Definition at line 29 of file RobTriangle.hxx. |
|
|
Definition at line 30 of file RobTriangle.hxx. |
|
|
Initial value: RExtension(RExtension::SUPERCLASSID_PRIMITIVE,
1003,
1,
1,
"Triangle",
"RobTriangle",
"rayGina::CORE::Team",
"core@raygina.de",
"www.raygina.de",
RobTriangle::_createInstance,
RobTriangle::_initialize)
Definition at line 8 of file RobTriangle.cxx. |
|
|
Definition at line 31 of file RobTriangle.hxx. |
1.3.9.1