14#ifndef OSGVOLUME_LOCATOR
15#define OSGVOLUME_LOCATOR 1
39 osg::Object(locator, copyop),
40 _transform(locator._transform) {}
Definition osgVolume/Locator:79
META_Object(osgVolume, LocatorCallback)
virtual void locatorModified(Locator *)
Definition osgVolume/Locator:85
virtual ~LocatorCallback()
Definition osgVolume/Locator:88
LocatorCallback(const LocatorCallback &rhs, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
Definition osgVolume/Locator:82
LocatorCallback()
Definition osgVolume/Locator:81
Definition osgVolume/Locator:30
Locator(const osg::Matrixd &transform)
Definition osgVolume/Locator:35
const osg::Matrixd & getTransform() const
Definition osgVolume/Locator:48
void addCallback(const osg::ref_ptr< T > &callback)
Definition osgVolume/Locator:92
osg::Matrixd _transform
Definition osgVolume/Locator:104
Locator(const Locator &locator, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
Definition osgVolume/Locator:38
std::vector< osg::ref_ptr< LocatorCallback > > LocatorCallbacks
Definition osgVolume/Locator:97
void removeCallback(LocatorCallback *callback)
bool computeLocalBounds(osg::Vec3d &bottomLeft, osg::Vec3d &topRight) const
static bool convertLocalCoordBetween(const Locator &source, const osg::Vec3d &sourceNDC, const Locator &destination, osg::Vec3d &destinationNDC)
Definition osgVolume/Locator:58
osg::Matrixd _inverse
Definition osgVolume/Locator:105
void applyAppropriateFrontFace(osg::StateSet *ss) const
META_Object(osgVolume, Locator)
bool computeLocalBounds(Locator &source, osg::Vec3d &bottomLeft, osg::Vec3d &topRight) const
void addCallback(LocatorCallback *callback)
const LocatorCallbacks & getLocatorCallbacks() const
Definition osgVolume/Locator:99
void setTransform(const osg::Matrixd &transform)
Definition osgVolume/Locator:45
Locator()
Definition osgVolume/Locator:33
LocatorCallbacks _locatorCallbacks
Definition osgVolume/Locator:107
LocatorCallbacks & getLocatorCallbacks()
Definition osgVolume/Locator:98
void setTransformAsExtents(double minX, double minY, double maxX, double maxY, double minZ, double maxZ)
virtual bool convertLocalToModel(const osg::Vec3d &, osg::Vec3d &) const
virtual bool convertModelToLocal(const osg::Vec3d &, osg::Vec3d &) const
Definition osgVolume/Locator:125
osg::observer_ptr< osgVolume::Locator > _imageLocator
Definition osgVolume/Locator:136
osg::observer_ptr< osgVolume::Locator > _geometryLocator
Definition osgVolume/Locator:135
TexGenLocatorCallback(osg::TexGen *texgen, Locator *geometryLocator, Locator *imageLocator)
void locatorModified(Locator *)
osg::observer_ptr< osg::TexGen > _texgen
Definition osgVolume/Locator:134
@ SHALLOW_COPY
Definition CopyOp:47
bool invert(const Matrixd &rhs)
Definition Matrixd:233
Definition observer_ptr:39
T * get() const
Definition ref_ptr:117
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
#define OSGVOLUME_EXPORT
Definition osgVolume/Export:39