RenderTypes.hh
Go to the documentation of this file.
00001 /* 00002 * Copyright 2011 Nate Koenig & Andrew Howard 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 * 00016 */ 00017 #ifndef RENDERTYPES_HH 00018 #define RENDERTYPES_HH 00019 00020 #include <boost/shared_ptr.hpp> 00021 00022 #define GZ_VISIBILITY_ALL 0xFFFFFFFF 00023 #define GZ_VISIBILITY_GUI 0x00000001 00024 00028 namespace gazebo 00029 { 00030 namespace rendering 00031 { 00032 class Scene; 00033 class Light; 00034 class Camera; 00035 class UserCamera; 00036 class DepthCamera; 00037 class DynamicLines; 00038 class SelectionObj; 00039 class Visual; 00040 class LaserVisual; 00041 class CameraVisual; 00042 class ContactVisual; 00043 00044 typedef boost::shared_ptr<Scene> ScenePtr; 00045 typedef boost::shared_ptr<Light> LightPtr; 00046 typedef boost::shared_ptr<Camera> CameraPtr; 00047 typedef boost::shared_ptr<UserCamera> UserCameraPtr; 00048 typedef boost::shared_ptr<DepthCamera> DepthCameraPtr; 00049 typedef boost::shared_ptr<DynamicLines> DynamicLinesPtr; 00050 typedef boost::shared_ptr<Visual> VisualPtr; 00051 typedef boost::shared_ptr<LaserVisual> LaserVisualPtr; 00052 typedef boost::shared_ptr<CameraVisual> CameraVisualPtr; 00053 typedef boost::shared_ptr<ContactVisual> ContactVisualPtr; 00054 00055 enum RenderOpType 00056 { 00058 RENDERING_POINT_LIST = 0,//Ogre::RenderOperation::OT_POINT_LIST, 00059 00061 RENDERING_LINE_LIST = 1,//Ogre::RenderOperation::OT_LINE_LIST, 00062 00064 RENDERING_LINE_STRIP = 2,//Ogre::RenderOperation::OT_LINE_STRIP, 00065 00067 RENDERING_TRIANGLE_LIST = 3,//Ogre::RenderOperation::OT_TRIANGLE_LIST, 00068 00070 RENDERING_TRIANGLE_STRIP = 4,//Ogre::RenderOperation::OT_TRIANGLE_STRIP, 00071 00073 RENDERING_TRIANGLE_FAN = 5,//Ogre::RenderOperation::OT_TRIANGLE_FAN 00074 00075 RENDERING_MESH_RESOURCE = 6 00076 }; 00077 } 00078 } 00079 #endif

1.7.5.1