Main Page
Namespaces
Classes
Files
File List
File Members
include
Graphics
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
10
#include <
Graphics/GteGraphicsObject.h
>
11
12
namespace
gte
13
{
14
15
class
GTE_IMPEXP
GEObject
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
:
32
GraphicsObject
*
mGTObject
;
33
std::string
mName
;
34
};
35
36
inline
GraphicsObject
*
GEObject::GetGraphicsObject
()
const
37
{
38
return
mGTObject;
39
}
40
41
inline
std::string
const
&
GEObject::GetName
()
const
42
{
43
return
mName;
44
}
45
46
}
gte::GEObject::GetName
std::string const & GetName() const
Definition:
GteGEObject.h:41
gte::GEObject::GetGraphicsObject
GraphicsObject * GetGraphicsObject() const
Definition:
GteGEObject.h:36
name
GLuint const GLchar * name
Definition:
glcorearb.h:781
gte::GraphicsObject
Definition:
GteGraphicsObject.h:115
string
GLsizei const GLchar *const * string
Definition:
glcorearb.h:809
GteGraphicsObject.h
gte
Definition:
GLX/GteWICFileIO.h:16
gte::GEObject::mName
std::string mName
Definition:
GteGEObject.h:33
gte::GEObject
Definition:
GteGEObject.h:15
gte::GEObject::mGTObject
GraphicsObject * mGTObject
Definition:
GteGEObject.h:32
GTE_IMPEXP
#define GTE_IMPEXP
Definition:
GTEngineDEF.h:63
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:59:59