14#ifndef OSGPRESENTATION_CURSOR
15#define OSGPRESENTATION_CURSOR 1
29 Cursor(
const std::string& filename,
float size);
Vec2f Vec2
Definition Vec2:21
The osgPresentation library is a NodeKit that extends the core scene graph to support 3D scene graph ...
Definition AnimationMaterial:26
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
General group node which maintains a list of children.
Definition Group:29
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
Smart pointer for observed objects, that automatically set pointers to them to null when they are del...
Definition observer_ptr:39
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
float _size
Definition Cursor:52
Cursor(const std::string &filename, float size)
virtual void traverse(osg::NodeVisitor &nv)
Traverse downwards : calls children's accept method with NodeVisitor.
bool _cursorDirty
Definition Cursor:54
osg::Vec2 _cursorXY
Definition Cursor:58
Cursor(const Cursor &rhs, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy.
osg::observer_ptr< osg::Camera > _camera
Definition Cursor:59
META_Node(osgPresentation, Cursor) void setFilename(const std
Definition Cursor:34
void setSize(float size)
Definition Cursor:39
std::string _filename
Definition Cursor:51
const std::string & getFilename() const
Definition Cursor:37
float getSize() const
Definition Cursor:40
osg::ref_ptr< osg::AutoTransform > _transform
Definition Cursor:56
#define OSGPRESENTATION_EXPORT
Definition Export:38