| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/bilinearpatch.h>

Public Member Functions | |
| BilinearPatch (Iterator< Vector > *vertexitr, Iterator< Vector > *normalitr=0, Iterator< Vector > *textureitr=0, Iterator< Color > *coloritr=0) | |
| Constructs a bilinear patch with the given iterators. | |
| virtual void | setVertexIterator (Iterator< Vector > *) |
| Sets the vertices specifying the patch. | |
| virtual void | setNormalIterator (Iterator< Vector > *) |
| Sets the normals for the vertices. | |
| virtual void | setTextureIterator (Iterator< Vector > *) |
| Sets the texture coordinates for the vertices. | |
| virtual void | setColorIterator (Iterator< Color > *) |
| Sets the colors for the vertices. | |
| virtual Iterator< Vector > * | newVertexIterator () const |
| Returns the vertices specifying the patch. | |
| virtual Iterator< Vector > * | newNormalIterator () const |
| Returns the normals for the vertices. | |
| virtual Iterator< Vector > * | newTextureIterator () const |
| Returns the texture coordinates for the vertices. | |
| virtual Iterator< Color > * | newColorIterator () const |
| Returns the colors for the vertices. | |
| virtual Bounds | boundingBox () const |
| Bounding box of the faces. | |
| VRS_TYPEINFO (BilinearPatch, Shape) | |
| VRS_SERIALIZABLE (BilinearPatch) | |
Protected Member Functions | |
| BilinearPatch () | |
| VRS::BilinearPatch::BilinearPatch | ( | Iterator< Vector > * | vertexitr, | |
| Iterator< Vector > * | normalitr = 0, |
|||
| Iterator< Vector > * | textureitr = 0, |
|||
| Iterator< Color > * | coloritr = 0 | |||
| ) |
Constructs a bilinear patch with the given iterators.
A bilinear patch is defined by exactly four vertices. There must be at least four vertices, if more than four elements are provided only the first four are taken for evaluation.
| VRS::BilinearPatch::BilinearPatch | ( | ) | [inline, protected] |
Sets the vertices specifying the patch.
There must be at least four vertices, if more than four elements are provided only the first four are taken for evaluation.
Sets the normals for the vertices.
Sets the texture coordinates for the vertices.
Sets the colors for the vertices.
Returns the vertices specifying the patch.
Returns the normals for the vertices.
Returns the texture coordinates for the vertices.
Returns the colors for the vertices.
| virtual Bounds VRS::BilinearPatch::boundingBox | ( | ) | const [virtual] |
| VRS::BilinearPatch::VRS_TYPEINFO | ( | BilinearPatch | , | |
| Shape | ||||
| ) |
| VRS::BilinearPatch::VRS_SERIALIZABLE | ( | BilinearPatch | ) |