OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
MWWorld::AddDetectedReferenceVisitor Struct Reference
Collaboration diagram for MWWorld::AddDetectedReferenceVisitor:

Public Member Functions

 AddDetectedReferenceVisitor (std::vector< Ptr > &out, Ptr detector, World::DetectionType type, float squaredDist)
 
bool operator() (const MWWorld::Ptr &ptr)
 
bool needToAdd (const MWWorld::Ptr &ptr, const MWWorld::Ptr &detector)
 

Public Attributes

std::vector< Ptr > & mOut
 
Ptr mDetector
 
float mSquaredDist
 
World::DetectionType mType
 

Constructor & Destructor Documentation

MWWorld::AddDetectedReferenceVisitor::AddDetectedReferenceVisitor ( std::vector< Ptr > &  out,
Ptr  detector,
World::DetectionType  type,
float  squaredDist 
)
inline

Member Function Documentation

bool MWWorld::AddDetectedReferenceVisitor::needToAdd ( const MWWorld::Ptr ptr,
const MWWorld::Ptr detector 
)
inline

Here is the call graph for this function:

bool MWWorld::AddDetectedReferenceVisitor::operator() ( const MWWorld::Ptr ptr)
inline

Here is the call graph for this function:

Member Data Documentation

Ptr MWWorld::AddDetectedReferenceVisitor::mDetector
std::vector<Ptr>& MWWorld::AddDetectedReferenceVisitor::mOut
float MWWorld::AddDetectedReferenceVisitor::mSquaredDist
World::DetectionType MWWorld::AddDetectedReferenceVisitor::mType

The documentation for this struct was generated from the following file: