2 #ifndef _YI_SCENE_NODE_UTILITY_H_ 3 #define _YI_SCENE_NODE_UTILITY_H_ 44 static std::list<std::shared_ptr<CYISceneNodeProxy>>
GetProxyList(
const std::list<CYISceneNode *> &sceneNodeList);
151 #endif // _YI_SCENE_NODE_UTILITY_H_ static glm::vec3 LocalZeroToRelativeSpace(CYISceneNode *pLocalNode, CYISceneNode *pRelativeNode)
Scene trees composed of CYISceneNode objects are registered with the scene manager in order for them ...
Definition: YiSceneManager.h:73
static glm::vec3 LocalToScreenSpace(const CYISceneNode *pNode, const glm::vec3 &localSpaceCoordinate, bool bLogErrors=true)
static std::pair< std::shared_ptr< CYIRenderTarget >, glm::mat4 > GetRenderTargetAndCameraMatrix(const CYISceneNode *pNode)
static std::shared_ptr< CYIRenderTarget > GetRenderTarget(const CYISceneNode *pNode)
RenderTargetInfo()
Definition: YiSceneNodeUtility.h:31
Provides a base for the definition of camera objects.
Definition: YiAbstractCameraSceneNode.h:30
static std::list< std::shared_ptr< CYISceneNodeProxy > > GetProxyList(const std::list< CYISceneNode * > &sceneNodeList)
Definition: YiSceneNodeUtility.h:18
std::shared_ptr< CYIRenderTarget > pRenderTarget
Definition: YiSceneNodeUtility.h:36
glm::mat4 cameraMatrix
Definition: YiSceneNodeUtility.h:37
static glm::vec3 ScreenToLocalSpace(const CYISceneNode *pNode, const glm::vec2 &screenSpaceCoordinate)
A scene node is the base type for all nodes which are used by the scene manager; it is an integral pa...
Definition: YiSceneNode.h:114
static RenderTargetInfo GetRenderTargetInfo(const CYISceneNode *pNode)
static std::unique_ptr< CYISceneNode > CreateSolid(CYISceneManager *pSceneManager, const CYIColor &color, float fWidth, float fHeight)
static CYIAABB LocalSizeToRelativeSpace(const CYISceneNode *pLocalNode, const CYISceneNode *pRelativeNode)
const CYISceneNode * pParent
Definition: YiSceneNodeUtility.h:38
A container for a render targer's information. This struct contains the render target, the camera matrix, and the parent of the node for which this information was requested.
Definition: YiSceneNodeUtility.h:29
This class represents an Axis-Aligned Bounding Box.
Definition: YiAABB.h:24
static RenderTargetInfo GetRenderTargetInfoForChildrenOf(const CYISceneNode *pParent)
static glm::vec3 LocalToRelativeSpace(CYISceneNode *pLocalNode, CYISceneNode *pRelativeNode, const glm::vec3 &localSpaceCoordinate)
A class used to represent a color value.
Definition: YiColor.h:31
static CYIAABB WorldToScreenSpace(const CYISceneNode *pNode, const RenderTargetInfo *pRenderTargetInfo=nullptr)