Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

Inline Class Reference

Represents Inline node instances. More...

Inheritance diagram for Inline:

AbstractChild AbstractBase ChildNode Node Node List of all members.

Public Methods

 Inline (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.

virtual ~Inline () throw ()
 Destructor.

virtual void render (Viewer &viewer, VrmlRenderContext context)
 Render the node.

virtual Inline * toInline () const

Private Methods

void load ()
 Load the children from the URL.

void processSet_url (const FieldValue &mfstring, double timestamp) throw (std::bad_cast, std::bad_alloc)
 set_url eventIn handler.


Private Attributes

SFVec3f bboxCenter
SFVec3f bboxSize
MFString url
SceneinlineScene
bool hasLoaded

Friends

class InlineClass

Detailed Description

Represents Inline node instances.


Constructor & Destructor Documentation

Inline const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

Parameters:
nodeType the NodeType associated with this node.
scope the Scope to which the node belongs.

~Inline   throw () [virtual]
 

Destructor.


Member Function Documentation

void load   [private]
 

Load the children from the URL.

void processSet_url const FieldValue   mfstring,
double    timestamp
throw (std::bad_cast, std::bad_alloc) [private]
 

set_url eventIn handler.

Parameters:
mfstring an MFString value.
timestamp the current time.
Exceptions:
std::bad_cast if mfstring is not an MFString.
std::bad_alloc if memory allocation fails.

void render Viewer   viewer,
VrmlRenderContext    context
[virtual]
 

Render the node.

Render each of the children.

Parameters:
viewer a Viewer.
context a rendering context.

Reimplemented from Node.