Public Member Functions

IValidateNodeCallback Class Reference

Search for all occurrences

Detailed Description

A simple class that a developer must implement if they want to use Scene traversal.

#include <RTMax.h>

Inheritance diagram for IValidateNodeCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~IValidateNodeCallback ()
  Destructor.
virtual bool  NodeValid (INode *node, ViewExp *vpt)=0
  A simple test to define whether the node is accepted or rejected.
virtual void  NodeSort (Tab< INode * > &nodeList)
  This allows a sort of the nodes accepted.

Constructor & Destructor Documentation

virtual ~IValidateNodeCallback ( ) [inline, virtual]

Destructor.

{;}

Member Function Documentation

virtual bool NodeValid ( INode node,
ViewExp vpt 
) [pure virtual]

A simple test to define whether the node is accepted or rejected.

Parameters:
*node The node to test
*vpt The active view
Returns:
Whether the node is valid or not.
virtual void NodeSort ( Tab< INode * > &  nodeList ) [inline, virtual]

This allows a sort of the nodes accepted.

This needs to be quick as it is called during the render process. \ param & nodeList - the list to sort.

{ UNUSED_PARAM(nodeList); };

IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback
IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback IValidateNodeCallback