Public Member Functions | |
| virtual | ~IndexedShape () |
| virtual void | setCoordList (Coord3List *cl, Coord3List *nl=0, Coord3List *texturecoords=0) |
| virtual bool | needsUpdate () const |
| virtual bool | update (bool forceall, TaskRunner *=0) |
| virtual void | setRightHandedNormals (bool) |
| virtual void | removeAll () |
| virtual bool | createsNormals () const |
| virtual bool | createsTextureCoords () const |
| const ObjectSet < IndexedGeometry > & | getGeometry () const |
| const Coord3List * | coordList () const |
| Coord3List * | coordList () |
| int | getVersion () const |
Protected Member Functions | |
| IndexedShape () | |
| void | addVersion () |
Protected Attributes | |
| Threads::ReadWriteLock | geometrieslock_ |
| ObjectSet< IndexedGeometry > | geometries_ |
| Coord3List * | coordlist_ |
| Coord3List * | normallist_ |
| Coord3List * | texturecoordlist_ |
| bool | righthandednormals_ |
Private Attributes | |
| int | version_ |
Defines a shape with coodinates and connections between them. The shape is defined in an ObjectSet of IndexedGeometry. All IndexedGeometry share one common coordinate and normal list.
| virtual Geometry::IndexedShape::~IndexedShape | ( | ) | [virtual] |
| Geometry::IndexedShape::IndexedShape | ( | ) | [protected] |
| void Geometry::IndexedShape::addVersion | ( | ) | [protected] |
Should be called every time object is changed.
| Coord3List* Geometry::IndexedShape::coordList | ( | ) | [inline] |
| const Coord3List* Geometry::IndexedShape::coordList | ( | ) | const [inline] |
| virtual bool Geometry::IndexedShape::createsNormals | ( | ) | const [inline, virtual] |
| virtual bool Geometry::IndexedShape::createsTextureCoords | ( | ) | const [inline, virtual] |
| const ObjectSet<IndexedGeometry>& Geometry::IndexedShape::getGeometry | ( | ) | const |
| int Geometry::IndexedShape::getVersion | ( | ) | const [inline] |
| virtual bool Geometry::IndexedShape::needsUpdate | ( | ) | const [inline, virtual] |
| virtual void Geometry::IndexedShape::removeAll | ( | ) | [virtual] |
| virtual void Geometry::IndexedShape::setCoordList | ( | Coord3List * | cl, | |
| Coord3List * | nl = 0, |
|||
| Coord3List * | texturecoords = 0 | |||
| ) | [virtual] |
| virtual void Geometry::IndexedShape::setRightHandedNormals | ( | bool | ) | [virtual] |
| virtual bool Geometry::IndexedShape::update | ( | bool | forceall, | |
| TaskRunner * | = 0 | |||
| ) | [inline, virtual] |
Coord3List* Geometry::IndexedShape::coordlist_ [protected] |
ObjectSet<IndexedGeometry> Geometry::IndexedShape::geometries_ [protected] |
Coord3List* Geometry::IndexedShape::normallist_ [protected] |
bool Geometry::IndexedShape::righthandednormals_ [protected] |
Coord3List* Geometry::IndexedShape::texturecoordlist_ [protected] |
int Geometry::IndexedShape::version_ [private] |
1.7.1