Murl::Graph::ISphereCollider Interface Referenceabstract

The ISphereCollider graph node interface. More...

#include "murl_graph_i_sphere_collider.h"

Inheritance diagram for Murl::Graph::ISphereCollider:

Public Member Functions

virtual INodeGetNodeInterface ()=0
 Get the mutable Graph::INode interface. More...
 
virtual const INodeGetNodeInterface () const =0
 Get the constant Graph::INode interface. More...
 
virtual ITransformGetTransformInterface ()=0
 Get the mutable Graph::ITransform interface. More...
 
virtual const ITransformGetTransformInterface () const =0
 Get the constant Graph::ITransform interface. More...
 
virtual IColliderGetColliderInterface ()=0
 Get the mutable Graph::ICollider interface. More...
 
virtual const IColliderGetColliderInterface () const =0
 Get the constant Graph::ICollider interface. More...
 
virtual Bool SetRadius (Real radius)=0
 Set the sphere's radius. More...
 
virtual Real GetRadius () const =0
 Get the sphere's radius. More...
 

Detailed Description

The ISphereCollider graph node interface.

This interface represents a Graph::ICollider in the shape of a sphere, with a default radius of 1.0 and a default center at the origin (0/0/0).

Member Function Documentation

◆ GetNodeInterface() [1/2]

virtual INode* Murl::Graph::ISphereCollider::GetNodeInterface ( )
pure virtual

Get the mutable Graph::INode interface.

This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.

Returns
The mutable Graph::INode interface, or null if not available

◆ GetNodeInterface() [2/2]

virtual const INode* Murl::Graph::ISphereCollider::GetNodeInterface ( ) const
pure virtual

Get the constant Graph::INode interface.

This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.

Returns
The constant Graph::INode interface, or null if not available

◆ GetTransformInterface() [1/2]

virtual ITransform* Murl::Graph::ISphereCollider::GetTransformInterface ( )
pure virtual

Get the mutable Graph::ITransform interface.

This method returns a mutable pointer to the node's Graph::ITransform interface, to be able to query or modify the node's transformation matrix and depth order.

Returns
The mutable Graph::ITransform interface, or null if not available

◆ GetTransformInterface() [2/2]

virtual const ITransform* Murl::Graph::ISphereCollider::GetTransformInterface ( ) const
pure virtual

Get the constant Graph::ITransform interface.

This method returns a constant pointer to the node's Graph::ITransform interface, to be able to query the node's transformation matrix and depth order.

Returns
The constant Graph::ITransform interface, or null if not available

◆ GetColliderInterface() [1/2]

virtual ICollider* Murl::Graph::ISphereCollider::GetColliderInterface ( )
pure virtual

Get the mutable Graph::ICollider interface.

This method returns a mutable pointer to the node's Graph::ICollider interface, to be able to query or modify common collider-related properties.

Returns
The mutable Graph::ICollider interface

◆ GetColliderInterface() [2/2]

virtual const ICollider* Murl::Graph::ISphereCollider::GetColliderInterface ( ) const
pure virtual

Get the constant Graph::ICollider interface.

This method returns a constant pointer to the node's Graph::ICollider interface, to be able to query common collider-related properties.

Returns
The constant Graph::ICollider interface

◆ SetRadius()

virtual Bool Murl::Graph::ISphereCollider::SetRadius ( Real  radius)
pure virtual

Set the sphere's radius.

Parameters
radiusThe radius.
Returns
true if successful.

◆ GetRadius()

virtual Real Murl::Graph::ISphereCollider::GetRadius ( ) const
pure virtual

Get the sphere's radius.

Returns
The radius.

The documentation for this interface was generated from the following file:
  • murl_graph_i_sphere_collider.h


Copyright © 2011-2024 Spraylight GmbH.