Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F96966
NodeInterface.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Size
878 B
Referenced Files
None
Subscribers
None
NodeInterface.h
View Options
#ifndef _ECHONODEINTERFACE_H_
#define _ECHONODEINTERFACE_H_
#include
<echo/Maths/Vector3.h>
namespace
Echo
{
//NodeInterface provides an interface to a node object.
class
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
;
//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
//_ENODEINTERFACE_H_
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Dec 5, 2:15 AM (7 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
61917
Default Alt Text
NodeInterface.h (878 B)
Attached To
Mode
rEE Echo 3
Attached
Detach File
Event Timeline
Log In to Comment