Tutorial: Creating a 3D Visualization
{
("Name", "Point")
("Category", "Geomtery")
("Description", "Visualizes a point."))
public:
Point3BasicVisualization() :
mPoint(NULL)
{}
virtual ~Point3BasicVisualization()
{
delete mPoint;
}
virtual void setupScene(Ogre::SceneManager* mgr, Ogre::SceneNode* node)
{
mPoint =
new MeshObject(
"Sphere.mesh", mgr, node);
}
protected:
{
mPoint->setPosition(p);
}
protected:
};