CIvfNode Class Reference

#include <ivf/IvfNode.h>

Inheritance diagram for CIvfNode:

CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Types

enum  TNodeType { NT_SPHERE, NT_CUBE, NT_INVISIBLE }

Public Member Functions

 CIvfNode ()
virtual ~CIvfNode ()
 IvfClassInfo ("CIvfNode", CIvfBase)
void setSize (double size)
double getSize ()
void setType (TNodeType nodeType)
TNodeType getNodeType ()
virtual void updateBoundingSphere ()

Protected Member Functions

virtual void createSelect ()
virtual void createGeometry ()

Detailed Description

Node shape class

CIvfNode implements a geometric node. The node shape can represent a node as a sphere or a cube. The node class is used by CIvfSolidLine.

Author:
Jonas Lindemann

Definition at line 42 of file IvfNode.h.


Constructor & Destructor Documentation

CIvfNode::CIvfNode  ) 
 

CIvfNode constructor

virtual CIvfNode::~CIvfNode  )  [virtual]
 

CIvfNode destructor


Member Function Documentation

virtual void CIvfNode::createGeometry  )  [protected, virtual]
 

Forces an object recalculation.

Reimplemented from CIvfShape.

virtual void CIvfNode::createSelect  )  [protected, virtual]
 

Creates the select object.

When the object is selected. This method is called to create the object respresenting the select state.

Reimplemented from CIvfShape.

TNodeType CIvfNode::getNodeType  ) 
 

Return node type

double CIvfNode::getSize  ) 
 

Return node size

void CIvfNode::setSize double  size  ) 
 

Set node size.

The node size is often controlled at a global level. When calling this method a reference to a variable must be given.

void CIvfNode::setType TNodeType  nodeType  ) 
 

Set node type.

Parameters:
nodeType IVF_NODE_SPHERE = spherical node shape. IVF_NODE_CUBE node is represented by a cube

virtual void CIvfNode::updateBoundingSphere  )  [virtual]
 

Updates bounding sphere for node

Reimplemented from CIvfObject.


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:54 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO