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

Public Member Functions | |
| virtual const RExtension * | getInstanceExtension () const |
| RobMesh () | |
| empty contrcutor, DON'T KNOWN IF THATS A GOOD IDEA!?!?!? | |
| RobMesh (const RUInt32 numberOfTriangles, const RUInt32 numberOfVertices) | |
| ~RobMesh () | |
| const RBool | intersect (RRay *ray) |
| dummy function that always returns false => no intersection | |
| const RBool | occlude (const RRay *ray) |
| dummy function that always returns false => not occluded | |
| const RBool | getRenderObjects (RobAccelerator *renderlist) |
| adds several objects to the list that describe the geometry or the instance itself on simple objects | |
| const RStatus | importOBJ (RString objFilename) |
| bool | isEmpty () const |
| returns true if the mesh contains triangles | |
| const RStatus | setNumberOfVertices (const RUInt32 newNumberOfVertices) |
| const RStatus | setNumberOfTriangles (const RUInt32 newNumberOfTriangles) |
| RUInt32 | getNumberOfTriangles () const |
| return the number of triangles in mesh | |
| RUInt32 | getNumberOfVertices () const |
| return the number of verticies in mesh | |
| const RVec3u & | getTriangleIndicies (const RUInt32 i) const |
| return the number of verticies in mesh | |
| const RVec3u | getTriangle (const RUInt32 i) const |
| const RUInt32 | getNumberOfSurfaceShaders () const |
| const RStatus | setNumberOfSurfaceShaders (const RUInt32 newSize) |
| RssBase * | getSurfaceShader (const RUInt32 index) const |
| const RStatus | setSurfaceShader (const RUInt32 index, RssBase *newShader) |
| void | setSurfaceShaderList (RUInt32 newNumberOfSurfaceShaders, RssBase **newSurfaceShaderList) |
| const RStatus | setTriangleSurfaceShaderRange (const RUInt8 shaderNumber, const RUInt32 startTriangle, const RUInt32 endTriangle) |
| const RStatus | setTriangleSurfaceShader (const RUInt8 shaderNumber, const RUInt32 triangle) |
| RssBase * | getSurfaceShaderForTriangle (const RUInt32 triangleNumber) const |
| const RUInt32 | getNumberOfVolumeShaders () const |
| const RStatus | setVolumeShaderList (RUInt32 newNumberOfVolumeShaders, RvsBase **newVolumeShaderList) |
| const RStatus | setTriangleVolumeShaderRange (RUInt8 shaderNumber, RUInt32 startTriangle, RUInt32 endTriangle) |
| const RStatus | setTriangleVolumeShader (RUInt8 shaderNumber, RUInt32 triangle) |
| RvsBase * | getVolumeShaderForTriangle (RUInt32 triangleNumber) |
| const RVec3f | getVertex (const RUInt32 i) const |
| return the i-th vertex | |
| const RStatus | setVertex (RUInt32 i, RVec3f newVertex) |
| void | setTriangle (RUInt32 i, RUInt32 x, RUInt32 y, RUInt32 z) |
| const RStatus | setTriangle (RUInt32 i, RVec3u triVec) |
| RobTriangle * | getRobTriangle (RUInt32 i) const |
| void | getRobTriangle (RUInt32 i, RobTriangle *triangle) const |
| const RStatus | setNumberOfNormals (RUInt newNumberOfNormals, RBool initilize=true) |
| const RUInt | getNumberOfNormals () const |
| const RStatus | setNormal (RUInt normalIndex, RVec3f newNormal) |
| RVec3f | getNormal (RUInt32 normalIndex) const |
| const RStatus | setNumberOfNormalIndizes (RUInt newNumberOfNormals, RBool initilize=true) |
| const RUInt | getNumberOfNormalIndizes () const |
| const RStatus | setTriangleNormalIndizes (RUInt32 triangleNumber, RVec3u newNormals) |
| RVec3u | getTriangleNormalIndizes (RUInt32 triangleNumber) const |
| const RStatus | setNumberOfUVs (RUInt32 newNumberOfUVs, RBool initilize=true) |
| const RStatus | setUV (RUInt32 uvNumber, RVec2f newUV) |
| RVec2f | getUV (RUInt32 uvNumber) const |
| const RStatus | setTriangleUV (RUInt32 triangleNumber, RVec3u newUVs) |
| RVec3u | getUVIndexForTriangle (RUInt32 triangleNumber) const |
| void | clear () |
| emtyp the mesh | |
Static Public Member Functions | |
| RExtension * | __getExtension () |
| const RStatus | _initialize (RatStaticContainer *attributes) |
| const RStatus | _setVerticesAttr (RObject *myMesh, const RVec3f value, const RUInt32 index) |
| const RVec3f | _getVerticesAttr (const RObject *myMesh, const RUInt32 index, RRenderCom *) |
| const RStatus | _setVerticesSizeAttr (RObject *myMesh, const RUInt32 newSize) |
| const RUInt32 | _getVerticesSizeAttr (const RObject *myMesh) |
| const RStatus | _setNormalsAttr (RObject *myMesh, const RVec3f value, const RUInt32 index) |
| const RVec3f | _getNormalsAttr (const RObject *myMesh, const RUInt32 index, RRenderCom *) |
| const RStatus | _setNormalsSizeAttr (RObject *myMesh, const RUInt32 newSize) |
| const RUInt32 | _getNormalsSizeAttr (const RObject *myMesh) |
| const RStatus | _setNormalIndexAttr (RObject *myMesh, const RVec3u value, const RUInt32 index) |
| const RVec3u | _getNormalIndexAttr (const RObject *myMesh, const RUInt32 index, RRenderCom *) |
| const RStatus | _setNormalIndexSizeAttr (RObject *myMesh, const RUInt32 newSize) |
| const RUInt32 | _getNormalIndexSizeAttr (const RObject *myMesh) |
| const RStatus | _setTrianglesAttr (RObject *myMesh, const RVec3u value, const RUInt32 index) |
| const RVec3u | _getTrianglesAttr (const RObject *myMesh, const RUInt32 index, RRenderCom *) |
| const RStatus | _setTrianglesSizeAttr (RObject *myMesh, const RUInt32 newSize) |
| const RUInt32 | _getTrianglesSizeAttr (const RObject *myMesh) |
| const RStatus | _setShadersAttr (RObject *myMesh, RObject *value, const RUInt32 index) |
| RObject * | _getShadersAttr (const RObject *myMesh, const RUInt32 index, RRenderCom *) |
| const RStatus | _setShadersSizeAttr (RObject *myMesh, const RUInt32 newSize) |
| const RUInt32 | _getShadersSizeAttr (const RObject *myMesh) |
Static Private Member Functions | |
| RObject * | _createInstance () |
Private Attributes | |
| RUInt32 | _numberOfUVs |
| RList< RVec3u > | _triangles |
| RList< RVec3f > | _vertices |
| RList< RVec3u > | _normalIndex |
| RList< RVec3f > | _normals |
| RVec3u * | _uvIndex |
| RVec2f * | _uvs |
| RUInt8 * | _surfaceShaderIndex |
| RList< RssBase * > | _surfaceShaders |
| RUInt8 * | _volumeShaderIndex |
| RList< RvsBase * > | _volumeShaders |
Static Private Attributes | |
| RExtension | _extensionData |
|
|
empty contrcutor, DON'T KNOWN IF THATS A GOOD IDEA!?!?!?
Definition at line 148 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 150 of file RobMesh.hxx. |
|
|
Definition at line 152 of file RobMesh.hxx. |
|
|
Definition at line 40 of file RobMesh.hxx. |
|
|
Definition at line 19 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 92 of file RobMesh.hxx. |
|
|
Definition at line 100 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 75 of file RobMesh.hxx. |
|
|
Definition at line 83 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 126 of file RobMesh.hxx. |
|
|
Definition at line 134 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 109 of file RobMesh.hxx. |
|
|
Definition at line 117 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 58 of file RobMesh.hxx. |
|
|
Definition at line 66 of file RobMesh.hxx. |
|
|
Definition at line 43 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 88 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 96 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 71 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 79 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 122 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 130 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 105 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 113 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 54 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 62 of file RobMesh.hxx. |
|
|
emtyp the mesh
Definition at line 705 of file RobMesh.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 37 of file RobMesh.hxx. |
|
|
Definition at line 532 of file RobMesh.hxx. |
|
|
Definition at line 566 of file RobMesh.hxx. |
|
|
Definition at line 517 of file RobMesh.hxx. |
|
|
return the list of all surface-shaders used in the mesh Attention: This function may return a NULL-pointer so check!!! in returnNumberOfSurfaceShaders you will get the number of shaders Definition at line 235 of file RobMesh.hxx. |
|
|
return the number of triangles in mesh
Definition at line 206 of file RobMesh.hxx. |
|
|
return the number of verticies in mesh
Definition at line 210 of file RobMesh.hxx. |
|
|
return the list of all surface-shaders used in the mesh Attention: This function may return a NULL-pointer so check!!! in returnNumberOfSurfaceShaders you will get the number of shaders Definition at line 340 of file RobMesh.hxx. |
|
|
adds several objects to the list that describe the geometry or the instance itself on simple objects This method is for complex objects, compound objects or objects that needs a tesselation for efficient rayTracing It adds a representation of the object in the list by using one or more other geometries. Example: A tessalation of a NURBS-patch could add lots of triangles which approximate the NURBS-patch Implements RayGina::CORE::RobBase. Definition at line 29 of file RobMesh.cxx. |
|
||||||||||||
|
Definition at line 489 of file RobMesh.hxx. |
|
|
returns a RobTriangle Be aware that this created RobTrinagle has nothing to do with the RobMesh This function just creates the instance and set the values. You have to cleanuo this by your own! Definition at line 486 of file RobMesh.hxx. |
|
|
Definition at line 243 of file RobMesh.hxx. |
|
|
Definition at line 322 of file RobMesh.hxx. |
|
|
Definition at line 218 of file RobMesh.hxx. |
|
|
return the number of verticies in mesh
Definition at line 214 of file RobMesh.hxx. |
|
|
Definition at line 593 of file RobMesh.hxx. |
|
|
Definition at line 655 of file RobMesh.hxx. |
|
|
Definition at line 688 of file RobMesh.hxx. |
|
|
return the i-th vertex
Definition at line 420 of file RobMesh.hxx. |
|
|
Definition at line 405 of file RobMesh.hxx. |
|
|
Definition at line 81 of file RobMesh.cxx. |
|
|
dummy function that always returns false => no intersection
Implements RayGina::CORE::RobBase. Definition at line 166 of file RobMesh.hxx. |
|
|
returns true if the mesh contains triangles
Definition at line 182 of file RobMesh.hxx. |
|
|
dummy function that always returns false => not occluded
Implements RayGina::CORE::RobBase. Definition at line 171 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 521 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 547 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 498 of file RobMesh.hxx. |
|
|
Definition at line 239 of file RobMesh.hxx. |
|
|
Definition at line 199 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 609 of file RobMesh.hxx. |
|
|
Definition at line 193 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 250 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 261 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 461 of file RobMesh.hxx. |
|
||||||||||||||||||||
|
Definition at line 436 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 570 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 317 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 286 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 665 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 401 of file RobMesh.hxx. |
|
||||||||||||||||
|
Definition at line 370 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 644 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 423 of file RobMesh.hxx. |
|
||||||||||||
|
Definition at line 344 of file RobMesh.hxx. |
|
|
Initial value: RExtension(RExtension::SUPERCLASSID_PRIMITIVE,
RExtension::CLASSID_CORE_ROB_MESH,
1,
1,
"Mesh",
"RobMesh",
"rayGina::CORE::Team",
"core@raygina.de",
"www.raygina.de",
RobMesh::_createInstance,
RobMesh::_initialize)
Definition at line 16 of file RobMesh.cxx. |
|
|
Definition at line 26 of file RobMesh.hxx. |
|
|
Definition at line 27 of file RobMesh.hxx. |
|
|
Definition at line 23 of file RobMesh.hxx. |
|
|
Definition at line 30 of file RobMesh.hxx. |
|
|
Definition at line 31 of file RobMesh.hxx. |
|
|
Definition at line 24 of file RobMesh.hxx. |
|
|
Definition at line 28 of file RobMesh.hxx. |
|
|
Definition at line 29 of file RobMesh.hxx. |
|
|
Definition at line 25 of file RobMesh.hxx. |
|
|
Definition at line 32 of file RobMesh.hxx. |
|
|
Definition at line 33 of file RobMesh.hxx. |
1.3.9.1