$search
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 projectorNodeName="projectorNodeName", std::string projectorFilterNodeName="projectorFilterNodeName") |
Projector () | |
void | setEnabled (bool enabled) |
void | setFilterTextureName (const Ogre::String &textureName) |
void | setFrustumClipDistance (double nearDist, double farDist) |
void | setFrustumFOV (double fovInRadians) |
void | setPose (Vector3 xyz, Quatern rpy) |
void | setSceneNode () |
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 | |
bool | isEnabled |
bool | isInit |
bool | isUsingShaders |
Ogre::SceneNode * | parentSceneNode |
Ogre::String | projectedFilterTextureName |
Ogre::String | projectedTextureName |
Ogre::Frustum * | projectorFilterFrustum |
Ogre::SceneNode * | projectorFilterNode |
std::string | projectorFilterNodeName |
Ogre::Frustum * | projectorFrustum |
Ogre::SceneNode * | projectorNode |
std::string | projectorNodeName |
Ogre::PlaneBoundedVolumeListSceneQuery * | projectorQuery |
std::map< std::string, Ogre::Pass * > | projectorTargets |
Definition at line 162 of file gazebo_ros_projector.h.
GazeboRosProjector::Projector::Projector | ( | ) |
Definition at line 270 of file gazebo_ros_projector.cpp.
GazeboRosProjector::Projector::~Projector | ( | ) | [virtual] |
Definition at line 287 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::addProjectorPassToAllMaterials | ( | ) | [private] |
Definition at line 464 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::addProjectorPassToMaterial | ( | std::string | matName | ) | [private] |
Definition at line 554 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::addProjectorPassToMaterials | ( | std::list< std::string > & | matList | ) | [private] |
Definition at line 518 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::addProjectorPassToVisibleMaterials | ( | ) | [private] |
Definition at line 487 of file gazebo_ros_projector.cpp.
bool GazeboRosProjector::Projector::frameEnded | ( | const Ogre::FrameEvent & | evt | ) | [virtual] |
Definition at line 363 of file gazebo_ros_projector.cpp.
bool GazeboRosProjector::Projector::frameRenderingQueued | ( | const Ogre::FrameEvent & | evt | ) | [virtual] |
Definition at line 369 of file gazebo_ros_projector.cpp.
bool GazeboRosProjector::Projector::frameStarted | ( | const Ogre::FrameEvent & | evt | ) | [virtual] |
Definition at line 344 of file gazebo_ros_projector.cpp.
Ogre::SceneManager * GazeboRosProjector::Projector::getSceneMgrP | ( | ) | [private] |
Definition at line 458 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 | projectorNodeName = "projectorNodeName" , |
|||
std::string | projectorFilterNodeName = "projectorFilterNodeName" | |||
) |
Definition at line 311 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::removeProjectorPassFromMaterial | ( | std::string | matName | ) | [private] |
Definition at line 614 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::removeProjectorPassFromMaterials | ( | ) | [private] |
Definition at line 604 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::setEnabled | ( | bool | enabled | ) |
Definition at line 375 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::setFilterTextureName | ( | const Ogre::String & | textureName | ) |
Definition at line 436 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::setFrustumClipDistance | ( | double | nearDist, | |
double | farDist | |||
) |
Definition at line 442 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::setFrustumFOV | ( | double | fovInRadians | ) |
Definition at line 451 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::setPose | ( | Vector3 | xyz, | |
Quatern | rpy | |||
) |
Definition at line 417 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::setSceneNode | ( | ) |
Definition at line 387 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::setTextureName | ( | const Ogre::String & | textureName | ) |
Definition at line 430 of file gazebo_ros_projector.cpp.
void GazeboRosProjector::Projector::setUsingShaders | ( | bool | usingShaders | ) |
Definition at line 381 of file gazebo_ros_projector.cpp.
bool gazebo::GazeboRosProjector::Projector::isEnabled [private] |
Definition at line 200 of file gazebo_ros_projector.h.
bool gazebo::GazeboRosProjector::Projector::isInit [private] |
Definition at line 201 of file gazebo_ros_projector.h.
bool gazebo::GazeboRosProjector::Projector::isUsingShaders [private] |
Definition at line 202 of file gazebo_ros_projector.h.
Ogre::SceneNode* gazebo::GazeboRosProjector::Projector::parentSceneNode [private] |
Definition at line 198 of file gazebo_ros_projector.h.
Ogre::String gazebo::GazeboRosProjector::Projector::projectedFilterTextureName [private] |
Definition at line 211 of file gazebo_ros_projector.h.
Ogre::String gazebo::GazeboRosProjector::Projector::projectedTextureName [private] |
Definition at line 210 of file gazebo_ros_projector.h.
Ogre::Frustum* gazebo::GazeboRosProjector::Projector::projectorFilterFrustum [private] |
Definition at line 205 of file gazebo_ros_projector.h.
Ogre::SceneNode* gazebo::GazeboRosProjector::Projector::projectorFilterNode [private] |
Definition at line 208 of file gazebo_ros_projector.h.
std::string gazebo::GazeboRosProjector::Projector::projectorFilterNodeName [private] |
Definition at line 216 of file gazebo_ros_projector.h.
Ogre::Frustum* gazebo::GazeboRosProjector::Projector::projectorFrustum [private] |
Definition at line 204 of file gazebo_ros_projector.h.
Ogre::SceneNode* gazebo::GazeboRosProjector::Projector::projectorNode [private] |
Definition at line 207 of file gazebo_ros_projector.h.
std::string gazebo::GazeboRosProjector::Projector::projectorNodeName [private] |
Definition at line 215 of file gazebo_ros_projector.h.
Ogre::PlaneBoundedVolumeListSceneQuery* gazebo::GazeboRosProjector::Projector::projectorQuery [private] |
Definition at line 206 of file gazebo_ros_projector.h.
std::map<std::string,Ogre::Pass*> gazebo::GazeboRosProjector::Projector::projectorTargets [private] |
Definition at line 213 of file gazebo_ros_projector.h.