selectable.h File Reference

#include <cstddef>
#include "math/Vector3.h"
#include "scenelib.h"
#include "generic/callbackfwd.h"
Include dependency graph for selectable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  SelectionIntersection
class  VertexPointer
class  VertexPointer::iterator
class  IndexPointer
class  IndexPointer::iterator
class  SelectionTest
class  Selector
class  SelectionTestable
class  SelectedPlanes
class  PlaneSelectable

Defines

#define INCLUDED_SELECTABLE_H

Typedefs

typedef BasicVector3< float > Vector3
typedef Callback1< const Plane3 & > PlaneCallback

Functions

bool SelectionIntersection_closer (const SelectionIntersection &self, const SelectionIntersection &other)
void assign_if_closer (SelectionIntersection &best, const SelectionIntersection &other)
void Selector_add (Selector &selector, Selectable &selectable)
void Selector_add (Selector &selector, Selectable &selectable, const SelectionIntersection &intersection)
SelectionTestableInstance_getSelectionTestable (scene::Instance &instance)

Define Documentation

#define INCLUDED_SELECTABLE_H

Definition at line 23 of file selectable.h.


Typedef Documentation

typedef Callback1<const Plane3&> PlaneCallback

Definition at line 302 of file selectable.h.

typedef BasicVector3<float> Vector3

Definition at line 230 of file selectable.h.


Function Documentation

void assign_if_closer ( SelectionIntersection best,
const SelectionIntersection other 
) [inline]

Definition at line 76 of file selectable.h.

References SelectionIntersection_closer().

Referenced by SelectionPool::addIntersection().

SelectionTestable* Instance_getSelectionTestable ( scene::Instance &  instance  )  [inline]

Definition at line 297 of file selectable.h.

bool SelectionIntersection_closer ( const SelectionIntersection self,
const SelectionIntersection other 
) [inline]

Definition at line 70 of file selectable.h.

Referenced by assign_if_closer().

void Selector_add ( Selector selector,
Selectable selectable,
const SelectionIntersection intersection 
) [inline]
void Selector_add ( Selector selector,
Selectable selectable 
) [inline]

Generated by  doxygen 1.6.2