Ignition Rendering

API Reference

0.1.0
OgreVisual.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 #ifndef IGNITION_RENDERING_OGRE_OGREVISUAL_HH_
18 #define IGNITION_RENDERING_OGRE_OGREVISUAL_HH_
19 
23 
24 namespace ignition
25 {
26  namespace rendering
27  {
28  class IGNITION_RENDERING_OGRE_VISIBLE OgreVisual :
29  public BaseVisual<OgreNode>
30  {
31  protected: OgreVisual();
32 
33  public: virtual ~OgreVisual();
34 
35  public: virtual math::Vector3d LocalScale() const;
36 
37  public: virtual bool InheritScale() const;
38 
39  public: virtual void SetInheritScale(bool _inherit);
40 
41  protected: virtual NodeStorePtr Children() const;
42 
43  protected: virtual GeometryStorePtr Geometries() const;
44 
45  protected: virtual bool AttachChild(NodePtr _child);
46 
47  protected: virtual bool DetachChild(NodePtr _child);
48 
49  protected: virtual bool AttachGeometry(GeometryPtr _geometry);
50 
51  protected: virtual bool DetachGeometry(GeometryPtr _geometry);
52 
53  protected: virtual void SetLocalScaleImpl(
54  const math::Vector3d &_scale);
55 
56  protected: virtual void Init();
57 
59 
61 
62  private: OgreVisualPtr SharedThis();
63 
64  private: friend class OgreScene;
65  };
66  }
67 }
68 #endif
OgreNodeStorePtr children
Definition: OgreVisual.hh:58
Definition: BaseVisual.hh:31
Definition: OgreScene.hh:34
Definition: OgreVisual.hh:28
OgreGeometryStorePtr geometries
Definition: OgreVisual.hh:60
Definition: ArrowVisual.hh:22