|
VizKit
3.3.7
|
Performs the action of the TemplateActor. More...
#include <TemplateAction.h>
Public Member Functions | |
| TemplateAction () | |
| The constructor. | |
| ~TemplateAction () | |
| The destructor. | |
| void | show (void) |
| Shows the TemplateAction. | |
| void | setImage (const VisualImage &anImage) |
| Sets the image of TemplateAction's testAsset. | |
| void | removeImage (void) |
| Removes the image of TemplateAction's testAsset. | |
| void | reshape (void) |
Private Attributes | |
| VisualAsset * | templateAsset |
| Asset of the TemplateAction for visualization of spatial layout. | |
| VisualAsset * | testAsset |
| An asset for testing. | |
| VisualItemIdentifier | vertexChainId |
| The vertex chain of the TemplateAction's asset. | |
Performs the action of the TemplateActor.
A copy of header and implementation file can be made to add to a new concrete subclass of VisualActor. The example implementation of the TemplateAction can be used to get a feeling for working with the perspective projection of OpenGL.
The constructor.
The destructor.
| void TemplateAction::removeImage | ( | void | ) |
Removes the image of TemplateAction's testAsset.
| void TemplateAction::reshape | ( | void | ) |
| void TemplateAction::setImage | ( | const VisualImage & | anImage | ) |
Sets the image of TemplateAction's testAsset.
| anImage | The image of the template. |
| void TemplateAction::show | ( | void | ) |
Shows the TemplateAction.
VisualAsset* VizKit::TemplateAction::templateAsset [private] |
Asset of the TemplateAction for visualization of spatial layout.
VisualAsset* VizKit::TemplateAction::testAsset [private] |
An asset for testing.
The vertex chain of the TemplateAction's asset.