libjbt

jbt_compound Class Reference

Compound jbt_node BlobTree objects. More...

#include <compound.h>

Inherits jbt_object.

Inherited by jbt_blend and jbt_csg.

List of all members.

Public Members

Protected Members


Detailed Description

Compound jbt_node BlobTree objects.

Author(s):
Mark Tigges

Base class for jbt_node BlobTree objects which are due to combining multiple jbt_node objects.


Member Function Documentation

void jbt_compound::addSubTree( jbt_blobtree* )

Adds a sub-tree to this compound BlobTree.

bool jbt_compound::removeSubTree( jbt_blobtree* )

Removes a sub-tree from this compound BlobTree. This funciton is O(n). Note that the sub-tree is NOT deleted. Returns true if the BlobTree was found.

jbt_blobtree* jbt_compound::removeSubTree( int )

Removes a sub-tree from this compound BlobTree. This funciton is O(n). Note that the sub-tree is NOT deleted. Returns the BlobTree if it existed.

jbt_compound::jbt_compound() [protected]

jbt_compound::~jbt_compound() [protected]

void jbt_compound::beginQuery( const jVec3& ) [protected]

Reimplemented from jbt_blobtree.

Reimplemented in jbt_csg.

void jbt_compound::bracket( const jRay&, jbt_brackets& ) [protected]

Reimplemented from jbt_blobtree.

Reimplemented in jbt_csg.

void jbt_compound::seedPoints( jVec3list& ) const [protected]

Reimplemented from jbt_blobtree.

virtual bool jbt_compound::spanCSG( const jVec3&, const jVec3& ) [protected, virtual]

Returns true if the two points span a CSG junction.

Reimplemented from jbt_blobtree.

Reimplemented in jbt_csg.

void jbt_compound::remove( st*, st* ) [protected]


The documentation for this class was generated from the following file:
JSP / libjbt v0.1 mtigges@cpsc.ucalgary.ca