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

Public Types | |
| enum | Space { ObjectSpace = 0, WorldSpace = 1, CameraSpace = 2 } |
Public Member Functions | |
| virtual ID | target () const |
| Target of the handler is Attribute. | |
| virtual ID | service () const |
| The service name of this handler is CoordTransformer. | |
| VRS_SERIALIZABLE_CLASS_ENUM (Space) | |
| virtual Attribute * | toCoordSystem (Space, const Attribute *, Engine *) |
| VRS_TYPEINFO (CoordTransformer, Handler) | |
Protected Member Functions | |
| virtual void | checkArgs (Space, const Attribute *, Engine *) const |
| virtual ID VRS::CoordTransformer::target | ( | ) | const [virtual] |
Target of the handler is Attribute.
Implements VRS::Handler.
Reimplemented in VRS::DistantLightCoordTransformer, and VRS::PointLightCoordTransformer.
| virtual ID VRS::CoordTransformer::service | ( | ) | const [virtual] |
| VRS::CoordTransformer::VRS_SERIALIZABLE_CLASS_ENUM | ( | Space | ) |
| virtual Attribute* VRS::CoordTransformer::toCoordSystem | ( | Space | , | |
| const Attribute * | , | |||
| Engine * | ||||
| ) | [virtual] |
Returns a new attribute, which is a copy of the given attribute, but converted into an alternate coordinate system (in fact, this transformer does nothing but copying the attribute).
Reimplemented in VRS::DistantLightCoordTransformer, and VRS::PointLightCoordTransformer.
| VRS::CoordTransformer::VRS_TYPEINFO | ( | CoordTransformer | , | |
| Handler | ||||
| ) |
| virtual void VRS::CoordTransformer::checkArgs | ( | Space | , | |
| const Attribute * | , | |||
| Engine * | ||||
| ) | const [protected, virtual] |