24#ifndef _SO_NEIGHBOR_TOLERANCE_ELEMENT
25#define _SO_NEIGHBOR_TOLERANCE_ELEMENT
27#include <Inventor/elements/SoFloatElement.h>
70 {
return s_defaultTolerance; }
80 virtual void print(FILE *fp)
const;
85 virtual void init(
SoState *state);
89 static void initClass();
91 static void exitClass();
99 static float s_defaultTolerance;
Element's subclasses store a single float, int, or enum value.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores the curre...
static float get(SoState *state)
Returns current tolerance factor from the state.
static int getClassStackIndex()
Returns the stack id for this element.
virtual void print(FILE *fp) const
Prints element (for debugging).
static SoType getClassTypeId()
Returns the type identifier for this class.
static float getDefault()
Returns the default tolerance factor value.
static void setDefault(const float tolerance)
set the default tolerance factor value.
static void set(SoState *state, float tolerance)
Sets the current tolerance factor in the state.