#include <batchisector.h>
Public Member Functions | |
| SingleISector (const int idForISector, const std::string &nameForISector, bool checkClosestDrawables=false) | |
| SingleISector (const int idForISector, bool checkClosestDrawables=false) | |
| void | SetSectorAsRay (const osg::Vec3 &startPos, osg::Vec3 &direction, const float lineLength) |
| void | SetSectorAsLineSegment (const osg::Vec3 &startPos, const osg::Vec3 &endPos) |
| void | ResetSingleISector () |
| void | GetHitPoint (osg::Vec3 &xyz, int pointNum=0) const |
| |
| void | GetHitPointNormal (osg::Vec3 &normal, int pointNum=0) const |
| |
| int | GetNumberOfHits () const |
| Get the number of intersected items. | |
| osgUtil::Hit | GetIntersectionHit (int num) const |
| get the hit information... | |
| osg::LineSegment * | GetLineSegment () |
| gets for the class. | |
| DeltaDrawable * | GetClosestDrawable () |
| osgUtil::IntersectVisitor::HitList & | GetHitList () |
| bool | CheckForClosestDrawable () |
| std::string | GetReferenceName () |
| int | GetReferenceID () |
| bool | GetIsOn () |
| void | SetToCheckForClosestDrawable (bool value) |
| void | ToggleIsOn (bool value) |
| void | SetHitList (osgUtil::IntersectVisitor::HitList &newList) |
| Assigns the hitlist for this single isector. | |
Protected Member Functions | |
| ~SingleISector () | |
Protected Attributes | |
| dtCore::RefPtr< osg::LineSegment > | mLineSegment |
| dtCore::ObserverPtr < DeltaDrawable > | mClosestDrawable |
| osgUtil::IntersectVisitor::HitList | mHitList |
| bool | mCheckClosestDrawables |
| std::string | mNameForReference |
| int | mIDForReference |
| bool | mIsOn |
Friends | |
| class | BatchIsector |
| dtCore::BatchIsector::SingleISector::SingleISector | ( | const int | idForISector, | |
| const std::string & | nameForISector, | |||
| bool | checkClosestDrawables = false | |||
| ) | [inline] |
| dtCore::BatchIsector::SingleISector::SingleISector | ( | const int | idForISector, | |
| bool | checkClosestDrawables = false | |||
| ) | [inline] |
| dtCore::BatchIsector::SingleISector::~SingleISector | ( | ) | [inline, protected] |
| void dtCore::BatchIsector::SingleISector::SetSectorAsRay | ( | const osg::Vec3 & | startPos, | |
| osg::Vec3 & | direction, | |||
| const float | lineLength | |||
| ) |
| void dtCore::BatchIsector::SingleISector::SetSectorAsLineSegment | ( | const osg::Vec3 & | startPos, | |
| const osg::Vec3 & | endPos | |||
| ) |
| void dtCore::BatchIsector::SingleISector::ResetSingleISector | ( | ) |
| void dtCore::BatchIsector::SingleISector::GetHitPoint | ( | osg::Vec3 & | xyz, | |
| int | pointNum = 0 | |||
| ) | const |
| void dtCore::BatchIsector::SingleISector::GetHitPointNormal | ( | osg::Vec3 & | normal, | |
| int | pointNum = 0 | |||
| ) | const |
| int dtCore::BatchIsector::SingleISector::GetNumberOfHits | ( | ) | const |
Get the number of intersected items.
| osgUtil::Hit dtCore::BatchIsector::SingleISector::GetIntersectionHit | ( | int | num | ) | const [inline] |
get the hit information...
| osg::LineSegment* dtCore::BatchIsector::SingleISector::GetLineSegment | ( | ) | [inline] |
gets for the class.
| DeltaDrawable* dtCore::BatchIsector::SingleISector::GetClosestDrawable | ( | ) | [inline] |
| osgUtil::IntersectVisitor::HitList& dtCore::BatchIsector::SingleISector::GetHitList | ( | ) | [inline] |
| bool dtCore::BatchIsector::SingleISector::CheckForClosestDrawable | ( | ) | [inline] |
| std::string dtCore::BatchIsector::SingleISector::GetReferenceName | ( | ) | [inline] |
| int dtCore::BatchIsector::SingleISector::GetReferenceID | ( | ) | [inline] |
| bool dtCore::BatchIsector::SingleISector::GetIsOn | ( | ) | [inline] |
| void dtCore::BatchIsector::SingleISector::SetToCheckForClosestDrawable | ( | bool | value | ) | [inline] |
| void dtCore::BatchIsector::SingleISector::ToggleIsOn | ( | bool | value | ) | [inline] |
| void dtCore::BatchIsector::SingleISector::SetHitList | ( | osgUtil::IntersectVisitor::HitList & | newList | ) |
Assigns the hitlist for this single isector.
friend class BatchIsector [friend] |
dtCore::RefPtr<osg::LineSegment> dtCore::BatchIsector::SingleISector::mLineSegment [protected] |
dtCore::ObserverPtr<DeltaDrawable> dtCore::BatchIsector::SingleISector::mClosestDrawable [protected] |
osgUtil::IntersectVisitor::HitList dtCore::BatchIsector::SingleISector::mHitList [protected] |
bool dtCore::BatchIsector::SingleISector::mCheckClosestDrawables [protected] |
std::string dtCore::BatchIsector::SingleISector::mNameForReference [protected] |
int dtCore::BatchIsector::SingleISector::mIDForReference [protected] |
bool dtCore::BatchIsector::SingleISector::mIsOn [protected] |