Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F129985
NodeInterface.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
NodeInterface.h
View Options
#ifndef _ECHONODEINTERFACE_H_
#define _ECHONODEINTERFACE_H_
#include
<echo/Maths/Vector3.h>
#include
<echo/Util/InheritableEnableSharedFromThis.h>
namespace
Echo
{
//NodeInterface provides an interface to a node object.
class
NodeInterface
:
public
InheritableEnableSharedFromThis
<
NodeInterface
>
{
public
:
NodeInterface
()
{
}
virtual
~
NodeInterface
()
{
}
//Derived accessors
virtual
const
Vector3
&
GetDerivedPosition
()
const
=
0
;
virtual
const
Vector3
&
GetDerivedScale
()
const
=
0
;
virtual
const
Quaternion
&
GetDerivedOrientation
()
const
=
0
;
//Derived setters
virtual
void
SetDerivedPosition
(
const
Vector3
&
)
=
0
;
virtual
void
SetDerivedScale
(
const
Vector3
&
)
=
0
;
virtual
void
SetDerivedOrientation
(
const
Quaternion
&
)
=
0
;
//Local accessors
virtual
void
SetPosition
(
const
Vector3
&
position
)
=
0
;
virtual
void
SetScale
(
const
Vector3
&
scale
)
=
0
;
virtual
void
SetOrientation
(
const
Quaternion
&
orientation
)
=
0
;
virtual
const
Vector3
&
GetPosition
()
const
=
0
;
virtual
const
Vector3
&
GetScale
()
const
=
0
;
virtual
const
Quaternion
&
GetOrientation
()
const
=
0
;
};
}
#endif
//_ECHONODEINTERFACE_H_
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Mon, May 19, 10:49 AM (15 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
76963
Default Alt Text
NodeInterface.h (1 KB)
Attached To
Mode
rEE Echo 3
Attached
Detach File
Event Timeline
Log In to Comment