17#include <Inventor/fields/SoSFEnum.h>
18#include <Inventor/fields/SoSFFloat.h>
40#define SO_NODE_ADD_POINT_DENSITY_FIELDS() \
41 SO_NODE_DEFINE_ENUM_VALUE(POINT_DENSITY, DENSITY_SCREEN_PIXEL); \
42 SO_NODE_DEFINE_ENUM_VALUE(POINT_DENSITY, DENSITY_MIN_VOXEL_EXTENT); \
43 SO_NODE_DEFINE_ENUM_VALUE(POINT_DENSITY, DENSITY_MILLIMETER); \
44 SO_NODE_SET_SF_ENUM_TYPE(pointDensityMode, POINT_DENSITY); \
45 SO_NODE_ADD_FIELD(pointDensityMode, (DENSITY_SCREEN_PIXEL)); \
46 SO_NODE_ADD_FIELD(densityFactor, (0.1f));
@ DENSITY_MIN_VOXEL_EXTENT
#define SOCSO_EXPORT
Header file for system independent resolution.
SoSFEnum pointDensityMode
float getPointDensity(const SoPointerPosition &pos) const
SoPointerPosition manages the current position of the mouse cursor.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.