Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Emma::PlaneSensor Class Reference

The PlaneSensor node is a simple manipulator that maps mouse movement onto a plane, specified by the 'plane' field. More...

#include <EmmaPlaneSensor.h>

Inheritance diagram for Emma::PlaneSensor:

Emma::Node Emma::EventHandler Fusion::Object Fusion::IObject List of all members.

Public Member Functions

 PlaneSensor ()
virtual ~PlaneSensor ()
 DECLARE_CLASS (PlaneSensor, Node)
Fusion::ResultType initialize ()
 Initialize this instance.
virtual Fusion::ResultType beginFieldFiring (const char *property, const Fusion::Value &value)
virtual bool handleEvent (const Event &event)
 Callback function that is implemented by the callee.

Detailed Description

The PlaneSensor node is a simple manipulator that maps mouse movement onto a plane, specified by the 'plane' field.

Input is in normalized device coordinates (NDC), or {x,y} = {[0..1],[0..1]}. Output is a 3D point in world space.

Author:
Rick Pasetto
Date:
12/26/2005


Constructor & Destructor Documentation

Emma::PlaneSensor::PlaneSensor  ) 
 

virtual Emma::PlaneSensor::~PlaneSensor  )  [virtual]
 


Member Function Documentation

virtual Fusion::ResultType Emma::PlaneSensor::beginFieldFiring const char *  property,
const Fusion::Value value
[virtual]
 

Reimplemented from Emma::Node.

Emma::PlaneSensor::DECLARE_CLASS PlaneSensor  ,
Node 
 

virtual bool Emma::PlaneSensor::handleEvent const Event event  )  [virtual]
 

Callback function that is implemented by the callee.

Parameters:
event specifies the time of the event. Event time will be the same for events occurring in the same render phase For example, PREUPDATE, POSTUPDATE, PRERENDER and POSTRENDER event callbacks will all pass the same event time for the same frame. Returning stop Emma from calling the rest of the handlers for this event If you return true, Emma will keep on calling rest of the handlers for this event

Implements Emma::EventHandler.

Fusion::ResultType Emma::PlaneSensor::initialize  )  [virtual]
 

Initialize this instance.

Reimplemented from Fusion::Object.


The documentation for this class was generated from the following file:
Generated on Sat Apr 1 06:08:32 2006 for Emma SDK Guide by  doxygen 1.4.3