gazebo::GazeboRosProjector::Projector Class Reference

List of all members.

Public Member Functions

virtual bool frameEnded (const Ogre::FrameEvent &evt)
virtual bool frameRenderingQueued (const Ogre::FrameEvent &evt)
virtual bool frameStarted (const Ogre::FrameEvent &evt)
void init (Ogre::SceneNode *sceneNodePtr=NULL, Ogre::String textureName="stereo_projection_pattern_alpha.png", Ogre::String filterTextureName="stereo_projection_pattern_filter.png", double nearDist=.5, double farDist=10, double fov=0.785398163, std::string filterNodeName="FilterNode")
 Projector ()
void setEnabled (bool enabled)
void setFilterTextureName (const Ogre::String &textureName)
void setFrustumClipDistance (double nearDist, double farDist)
void setFrustumFOV (double fovInRadians)
void setSceneNode (Ogre::SceneNode *sceneNodePtr)
void setTextureName (const Ogre::String &textureName)
void setUsingShaders (bool usingShaders)
virtual ~Projector ()

Private Member Functions

void addProjectorPassToAllMaterials ()
void addProjectorPassToMaterial (std::string matName)
void addProjectorPassToMaterials (std::list< std::string > &matList)
void addProjectorPassToVisibleMaterials ()
Ogre::SceneManager * getSceneMgrP ()
void removeProjectorPassFromMaterial (std::string matName)
void removeProjectorPassFromMaterials ()

Private Attributes

std::string filterNodeName
bool isEnabled
bool isInit
bool isUsingShaders
Ogre::String projectedFilterTextureName
Ogre::String projectedTextureName
Ogre::Frustum * projectorFilterFrustum
Ogre::SceneNode * projectorFilterNode
Ogre::Frustum * projectorFrustum
Ogre::SceneNode * projectorNode
Ogre::PlaneBoundedVolumeListSceneQuery * projectorQuery
std::map< std::string,
Ogre::Pass * > 
projectorTargets

Detailed Description

Definition at line 157 of file gazebo_ros_projector.h.


Constructor & Destructor Documentation

GazeboRosProjector::Projector::Projector (  ) 

Definition at line 233 of file gazebo_ros_projector.cpp.

GazeboRosProjector::Projector::~Projector (  )  [virtual]

Definition at line 249 of file gazebo_ros_projector.cpp.


Member Function Documentation

void GazeboRosProjector::Projector::addProjectorPassToAllMaterials (  )  [private]

Definition at line 396 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::addProjectorPassToMaterial ( std::string  matName  )  [private]

Definition at line 486 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::addProjectorPassToMaterials ( std::list< std::string > &  matList  )  [private]

Definition at line 450 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::addProjectorPassToVisibleMaterials (  )  [private]

Definition at line 419 of file gazebo_ros_projector.cpp.

bool GazeboRosProjector::Projector::frameEnded ( const Ogre::FrameEvent &  evt  )  [virtual]

Definition at line 316 of file gazebo_ros_projector.cpp.

bool GazeboRosProjector::Projector::frameRenderingQueued ( const Ogre::FrameEvent &  evt  )  [virtual]

Definition at line 322 of file gazebo_ros_projector.cpp.

bool GazeboRosProjector::Projector::frameStarted ( const Ogre::FrameEvent &  evt  )  [virtual]

Definition at line 297 of file gazebo_ros_projector.cpp.

Ogre::SceneManager * GazeboRosProjector::Projector::getSceneMgrP (  )  [private]

Definition at line 390 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::init ( Ogre::SceneNode *  sceneNodePtr = NULL,
Ogre::String  textureName = "stereo_projection_pattern_alpha.png",
Ogre::String  filterTextureName = "stereo_projection_pattern_filter.png",
double  nearDist = .5,
double  farDist = 10,
double  fov = 0.785398163,
std::string  filterNodeName = "FilterNode" 
)

Definition at line 267 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::removeProjectorPassFromMaterial ( std::string  matName  )  [private]

Definition at line 546 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::removeProjectorPassFromMaterials (  )  [private]

Definition at line 536 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::setEnabled ( bool  enabled  ) 

Definition at line 328 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::setFilterTextureName ( const Ogre::String &  textureName  ) 

Definition at line 368 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::setFrustumClipDistance ( double  nearDist,
double  farDist 
)

Definition at line 374 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::setFrustumFOV ( double  fovInRadians  ) 

Definition at line 383 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::setSceneNode ( Ogre::SceneNode *  sceneNodePtr  ) 

Definition at line 340 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::setTextureName ( const Ogre::String &  textureName  ) 

Definition at line 362 of file gazebo_ros_projector.cpp.

void GazeboRosProjector::Projector::setUsingShaders ( bool  usingShaders  ) 

Definition at line 334 of file gazebo_ros_projector.cpp.


Member Data Documentation

Definition at line 207 of file gazebo_ros_projector.h.

Definition at line 192 of file gazebo_ros_projector.h.

Definition at line 193 of file gazebo_ros_projector.h.

Definition at line 194 of file gazebo_ros_projector.h.

Definition at line 203 of file gazebo_ros_projector.h.

Definition at line 202 of file gazebo_ros_projector.h.

Definition at line 197 of file gazebo_ros_projector.h.

Definition at line 200 of file gazebo_ros_projector.h.

Definition at line 196 of file gazebo_ros_projector.h.

Definition at line 199 of file gazebo_ros_projector.h.

Ogre::PlaneBoundedVolumeListSceneQuery* gazebo::GazeboRosProjector::Projector::projectorQuery [private]

Definition at line 198 of file gazebo_ros_projector.h.

std::map<std::string,Ogre::Pass*> gazebo::GazeboRosProjector::Projector::projectorTargets [private]

Definition at line 205 of file gazebo_ros_projector.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines


gazebo_plugins
Author(s): Sachin Chitta, Stu Glaser, John Hsu
autogenerated on Fri Jan 11 10:09:35 2013