47 #ifndef _MIRA_DYNAMICPOINTS_H_ 48 #define _MIRA_DYNAMICPOINTS_H_ 59 typedef Ogre::Vector3 Vector3;
60 typedef Ogre::Quaternion Quaternion;
61 typedef Ogre::Camera Camera;
62 typedef Ogre::Real Real;
63 typedef Ogre::RenderOperation::OperationType OperationType;
73 DynamicPoints(OperationType opType = Ogre::RenderOperation::OT_POINT_LIST);
77 void addPoint(
const Ogre::Vector3 &p,
const Ogre::ColourValue& c);
79 void addPoint(Real x, Real y, Real z,
const Ogre::ColourValue& c);
82 void setPoint(
unsigned short index,
const Vector3 &value);
85 const Vector3& getPoint(
unsigned short index)
const;
88 void setColor(
const Ogre::ColourValue& c);
91 unsigned short getNumPoints(
void)
const;
109 void setOperationType(OperationType opType);
110 OperationType getOperationType()
const;
113 virtual void fillHardwareBuffers();
116 std::vector<PointData> mPoints;
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Abstract base class for renderables based on dynamically growing vertex and index buffers...
Definition: DynamicRenderable.h:78
Vector3 point
Definition: DynamicPoints.h:69
Definition: DynamicPoints.h:57
#define MIRA_GUI_VISUALIZATION_EXPORT
Definition: GuiVisualizationExports.h:61
Base class providing dynamically growing hardware buffer Adapted from http://www.ogre3d.org/tikiwiki/DynamicGrowingBuffers&structure=Cookbook.
Definition: DynamicPoints.h:67
Ogre::ColourValue color
Definition: DynamicPoints.h:70