jbt_node Class Reference
Base class for all node types in the BlobTree. More...
#include <node.h>
List of all members.
Public Members
- enum Type { jbtPoint ,
jbtLine ,
jbtVrLine ,
jbtTorus ,
jbtPlane ,
jbtTransform ,
jbtAttributes ,
jbtBlend ,
jbtControlledBlend ,
jbtTwist ,
jbtTaper ,
jbtBend ,
jbtUnion ,
jbtIntersection ,
jbtDifference ,
jbtRFunction
}
- virtual ~jbt_node ()
- virtual Type type () const = 0
- virtual bool isGeometric () const
- virtual void beginQuery ( const jVec3& ) = 0
Static Public Members
Protected Members
Detailed Description
Base class for all node types in the BlobTree.
-
Author(s):
-
Mark Tigges
This is an abstract class Overriding classes should only implement
the jbt_node::type() function if they are meant to be a
leaf in a BlobTree.
Member Enumeration Type Documentation
enum jbt_node::Type
A list of symbolic identifiers to check the type of the node.
Abstract classes should not have an identifier in this list, nor
implement the type function.
Enumeration values:
- jbtPoint
- jbtLine
- jbtVrLine
- jbtTorus
- jbtPlane
- jbtTransform
- jbtAttributes
- jbtBlend
- jbtControlledBlend
- jbtTwist
- jbtTaper
- jbtBend
- jbtUnion
- jbtIntersection
- jbtDifference
- jbtRFunction
Member Function Documentation
virtual jbt_node::~jbt_node() [virtual]
Virtual destructor for a BlobTree.
virtual Type jbt_node::type() const = 0 [pure virtual]
Returns the jbt_node::Type of the node. This is for
rudimentary runtime type information.
virtual bool jbt_node::isGeometric() const [virtual]
Returns true if the node contributes geometry.
virtual void jbt_node::beginQuery( const jVec3& ) = 0 [pure virtual]
Begins a query session of the implicit surface. Call this
function to enable the ability to ask questions about the surface.
The BlobTree records the object space point and uses it to
answer queries as fast as possible (ie. with as few field function
evaluations as possible).
jbt_node::jbt_node() [protected]
Member Data Documentation
const jFlt jbt_node::L [static]
The level set used to define the surface of the BlobTree.
The documentation for this class was generated from the following file:
JSP /
libjbt v0.1
mtigges@cpsc.ucalgary.ca