GteGEObject.h
Go to the documentation of this file.
1 // David Eberly, Geometric Tools, Redmond WA 98052
2 // Copyright (c) 1998-2017
3 // Distributed under the Boost Software License, Version 1.0.
4 // http://www.boost.org/LICENSE_1_0.txt
5 // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6 // File Version: 3.0.0 (2016/06/19)
7 
8 #pragma once
9 
11 
12 namespace gte
13 {
14 
16 {
17 public:
18  // Abstract base class.
19  virtual ~GEObject();
20 protected:
21  GEObject(GraphicsObject const* gtObject);
22 
23 public:
24  // Member access.
25  inline GraphicsObject* GetGraphicsObject() const;
26 
27  // Support for debugging.
28  virtual void SetName(std::string const& name) = 0;
29  inline std::string const& GetName() const;
30 
31 protected:
34 };
35 
37 {
38  return mGTObject;
39 }
40 
41 inline std::string const& GEObject::GetName() const
42 {
43  return mName;
44 }
45 
46 }
std::string const & GetName() const
Definition: GteGEObject.h:41
GraphicsObject * GetGraphicsObject() const
Definition: GteGEObject.h:36
GLuint const GLchar * name
Definition: glcorearb.h:781
GLsizei const GLchar *const * string
Definition: glcorearb.h:809
std::string mName
Definition: GteGEObject.h:33
GraphicsObject * mGTObject
Definition: GteGEObject.h:32
#define GTE_IMPEXP
Definition: GTEngineDEF.h:63


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:59