#include "abstract_node_reference.hpp"
#include "abstract_resource_reference.hpp"
#include <kanzi/object/metaclass.hpp>
#include <kanzi/object/object.hpp>
#include <kanzi/platform/functional.hpp>
#include <kanzi/platform/memory.hpp>
#include <kanzi/platform/optional.hpp>
#include <kanzi/platform/platform.hpp>
#include <kanzi/platform/string_view.hpp>
#include <kanzi/platform/tuple.hpp>
#include <kanzi/platform/vector.hpp>
#include <kanzi/platform/map.hpp>
#include <kanzi/platform/set.hpp>
#include <kanzi/property/abstract_property_notification_handler.hpp>
#include <kanzi/property/property_type.hpp>
#include <kanzi/resource/legacy_resource.hpp>
#include <kanzi/state_manager/state_manager.hpp>
#include <user/ui/message/kzu_message_dispatcher.h>
#include <kanzi/platform/stdexcept.hpp>
#include "node_properties.h"
#include <kanzi/node/node.hpp.inl>
#include <kanzi/node/resource_reference.hpp>
Classes | |
class | kanzi::Node |
Base class for scene graph nodes in Kanzi. More... | |
struct | kanzi::Node::BindingEntry |
binding entry. More... | |
struct | kanzi::Node::TriggerEntry |
Object node trigger entry. More... | |
struct | kanzi::Node::MessageSubscription::LessFunctor |
Namespaces | |
kanzi | |
Typedefs | |
typedef shared_ptr< Trigger > | kanzi::TriggerSharedPtr |
typedef shared_ptr< Trigger const > | kanzi::TriggerConstSharedPtr |
typedef shared_ptr < ResourceDictionary > | kanzi::ResourceDictionarySharedPtr |
Resource dictionary shared pointer. More... | |
typedef weak_ptr< Node > | kanzi::NodeWeakPtr |
typedef shared_ptr< Node const > | kanzi::NodeConstSharedPtr |
typedef shared_ptr< void > | kanzi::ScriptingContextSharedPtr |
Functions | |
KANZI_API unsigned int | kanzi::getTreeHeight (const Node &node) |
Gets tree height from the object node to the parent, if no parents, height = 1, if single parent, and parent's parent = NULL, height = 2 and so on. More... | |
KANZI_API optional< string > | kanzi::getRelativePath (const Node &targetNode, const Node &baseNode) |
Returns the relative path from base object node to target object node, KZ_NULL if not found. More... | |
KANZI_API Node * | kanzi::findCommonParent (const Node &nodeA, const Node &nodeB) |
Returns first common parent from nodeA and nodeB, KZ_NULL if not found. More... | |
KANZI_API Node * | kanzi::getRoot (Node &node) |
Returns the root of the scene graph. More... | |
KANZI_API const Node * | kanzi::getRoot (const Node &node) |
Returns the root of the scene graph. More... | |
KANZI_API bool | kanzi::isParentOf (const Node &child, const Node &parent) |
KANZI_API bool | kanzi::isAncestorOf (const Node &node, const Node &ancestor) |
Returns whether the parent node is the parent of the child node at any level in the scene graph hierarchy. More... | |
template<typename Type > | |
shared_ptr< Type > | kanzi::findParent (const Node &node) |
Returns nearest parent of specified type. More... | |
KANZI_API float | kanzi::unboundedLayout () |
Returns a value to initialize an unbounded layout dimension. More... | |
KANZI_API bool | kanzi::isUnboundedLayout (float value) |
Checks whether a value is an unbounded layout dimension. More... | |
KANZI_API float | kanzi::resetUnboundedToZero (float value) |
KANZI_API Vector2 | kanzi::resetUnboundedToZero (const Vector2 &value) |
KANZI_API Vector3 | kanzi::resetUnboundedToZero (const Vector3 &value) |
Variables | |
const void *const | KZU_OBJECT_TYPE_RENDERABLE |
Object type identifier for all renderable object types. More... | |
const void* const KZU_OBJECT_TYPE_RENDERABLE |
Object type identifier for all renderable object types.