DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Expand ModelsModels
Collapse DG Kernel ControlDG Kernel Control
Expand API ReferenceAPI Reference
Expand ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation LinksHome Page > DG Kernel Control > Programmatic Functionality > Core Types > Enums Go to ActiveX docs Search Documentation


Enumerations

enum MouseEventFlags
{
        MK_LBUTTON = 0x0001,
        MK_RBUTTON = 0x0002,
        MK_SHIFT   = 0x0004,
        MK_CONTROL = 0x0008,
};
enum ThreeState_DG
{
        Unknown = -1,
        False = 0,
        True = 1
};
enum EDictionaryType_DG
{
        Unknown,
        Int,
        Double,
        Bool,
        ThreeState,
        String,
        Variant,
        Interface,
        Pointer
};
enum LightComponent_DG
{
    Ambient,
	Diffuse,
	Specular,
	Shininess,
	WireFrame
};
enum LightSourceType_DG
{
        Directional,
        Point
};
enum LightPositioningType_DG
{
        Automatic,
	Manual
};
enum EDim_DG
{
        e0D, 
        e1D, 
        e2D, 
        e3D,
        eUD     // eUD - unknown
};
enum DrawPrimitive
{
	Points,
	Lines,
	LineLoop,
	LineStrip,
	Triangles,
	TriangleStrip,
	TriangleFan,
	Quads,
	QuadStrip,
	Polygon,
	Unknown
};
enum ShapeType_DG
{
        Compound,
        Compsolid,
        Solid,
        Shell,
        Face,
        Wire,
        Edge,
        Vertex,
        Shape,
        Unknown
};
enum BRepOrientation_DG
{
	Forward,
	Reversed,
	Internal,
	External
};
enum JoinType_DG
{
	Arc,
	Tangent,
	Intersection
};
enum Continuity_DG
{
	C0,       // Only continuous
	G1,       // Geometrically smooth
	C1,       // Smooth WRT parameter
	G2,       // Geometrically smooth curvature
	C2,       // Smooth WRT parameter up to 2nd derivatives
	C3,       // Smooth WRT parameter up to 3rd derivatives
	CN        // Infinitely smooth
};
enum ESurfaceType_DG
{
	Unknown,
	BSpline,
	Bezier,
	Plane,
	Cylinder,
	Cone,
	Sphere,
	Torus,
	RectangularTrimmed,
	SurfaceOfRevolution,
	LinearExtrusion,
	Offset,
	Plate,
	Composite,
};
enum PointVs2dLineLocation_DG
{
	Unknown,
	Outside,    // Either on the left or on the right. Unknown where exactly
	Left,
	Right,
	Inside,     // Somewhere on the line. Unknown where exactly
	Origin,
	Before,
	After,
};
enum PointVs2dCurveLocation_DG
{
	Unknown,
	Outside,   // Either on the left or on the right. Unknown where exactly
	Left,
	Right,
	Inside,    // Somewhere on the line. Unknown where exactly
	FirstEnd,
	LastEnd,
	Internal,  // in open interval (first,last)
};
enum LineVsLine2dLocation_DG
{
    Unknown,
    Intersection,// Not parallel. Exactly one intersection point. Use >= Coinside to include geometrically coinsides case
    Parallel,	// Either on the left or on the right. Unknown where exactly
    Left,	// Parallel on the left
    Right,	// Parallel on the right
    Coinside,	// Geometrically. May be shifted along
    Before,	// Origing is before the origin of this
    After,      // Origing is after the origin of this
    Identical
};
enum PointVsCurveLocation_DG
{
	Unknown,
	Outside,
	FirstEnd,
	LastEnd,
	Internal,
};
enum PointVsLineLocation_DG
{
	Origin,
	OnLineBefore,
	OnLineAfter,
	OnLine,
	Outside,
	OutsideInPlane,
	OutsideNegativeSemiSpace,
	OutsidePositiveSemiSpace
};
enum LineVsLineLocation_DG
{
	Unknown,
	General,        // No intersection, not ||
	Intersection,
	Collinear,      // Parallel
	Coinside,       // Origin may be shifted
	Identical
};
enum PointVsSurfaceLocation_DG
{
	Unknown,
	UnknownOutside,
	NegativeSide,
	PositiveSide,
	Surface,
};
enum PointVsSimplexLocation_DG
{
	Unknown,
	Inside,
	Edge,
	Vertex,
	OutsideInPlane,
	NotInPlane,
};
enum AAA
{
        Directional,
        Point
};
enum CurveVsSurfaceLocation_DG
{
	Unknown,
	UnknownOutside,
	NegativeSide,
	PositiveSide,
	Intersection,
	Surface,
};
enum SurfaceVsSurfaceLocation_DG
{
	Unknown,
	UnknownOutside,
	NegativeSide,
	NegativeSideContact,
	Intersection,
	Coinside,
	PositiveSideContact,
	PositiveSide,
};
enum PointVsSolidLocation_DG
{
	Unknown,
	Open,
	Vertex,
	Edge,
	Face,
	Surface,
	Inside,
	Outside
};
enum ViewMode_DG
{
	Unknown,         // Uninitialised state
	View,
	Modify
};
enum ViewType_DG
{
	e2D = 2,
	e3D = 3,
};
enum RenderType_DG
{
	Unknown,
	Solid,
	WireFrame,
};
enum ProjectionType_DG
{
    Orthographic,
    Perspective
};
enum ViewBoolAttribute_DG
{
	Unknown,
	ShowNormals,
	EnableSurfaceHighLighting,
	EnablePan,
	EnableZoom,
	EnableRotate,
};
enum EColorParams_DG
{
	SelectedEntity = 6,
	CurrentEntity = 7,
	Unknown = 8
};
enum ContextParamType_DG
{
	eUnknown,
	eDouble,
	eSingle,
	eLong,
	eShort,
	eString,
	eBool,
	eIUnknown,
	eColor,
};
enum Event_DG
{
	MouseHover,
	ClientDraw,
	Collision,
	UICommand,
	Selection,
	ExplorerSelection,    	// Selection changed in Model Explorer. Has to be enbled using IContext_DG.SetBool(ExplorerSelectionNotify, true);
	TwoDimEditor,
	MouseSimple,		//For RequestEvent. All button down/up etc apart from intesive mouse move
	MouseMove,
	MouseLButtonDown,
	MouseRButtonDown,
	ModelStructureChanged,  //Object hierarchy has changed
	MouseRButtonMove,
	MouseRButtonUp,
	Count
};
enum EditorEvent_DG
{
	Unknown,
	Activated,
	ModelStructureChanged,
	ItemStructureChanged,
	Closing,
};
enum MenuCommand
{
	renderSurface,
	renderWireFrame,
	showGlobalFrame,
	launchModelExplorer,
	saveModelAs,
	launchFullScreen,
	showNormals,
	launchGridOptions,
	viewReset,
	viewResetOrientation,
	viewFit,
	launchBirdsEyeView,
	viewPerspective,
	selectVertices,
	selectEdges,
	selectFaces,
	selectEntities,
	editModify,
	editNewOverlay,
	measurementsAddDistance,
	measurementsAddPoint,
	measurementsAddAngle,
	measurementsModify,
	measurementsDelete,
	measurementsDeleteAll,
	measurementsStyleTransient,
	measurementsStylePersistent,
	count
};
enum ColorRectangleStockStyle
{
	horizontalGradient,
	verticalGradient,
	cornerBottomLeft,
	cornerBottomRight,
	cornerTopRight,
	cornerTopLeft,
	horizontalGradientTwoThirds,
	verticalGradientTwoThirds,
	horizontalGradientOneThird,
	verticalGradientOneThird,
};
enum RectangleSide
{
	bottom,
	right,
	top,
	left
};
enum RectangleCorner
{
	bottomLeft,
	bottomRight,
	topRight,
	topLeft
};
enum RectangleLocation
{
	Unknown,
	Open,
	Edge,
	Corner,
	Inside,
	Outside
};
enum BoxCorner
{
	bottomLeftBack,
	bottomRightBack,
	topRightBack,
	topLeftBack,
	bottomLeftFront,
	bottomRightFront,
	topRightFront,
	topLeftFront
};
enum E3DBoolParams
{
	ContextMenu,                    //0
	UseClipboard,                   //1
	ClosedSurfaceHint,              //2
	Dump,                           //3
	MeasureShowInterm,              //4
	WantSelectEvent,                //5
	ThreeDimGrid,                   //6
	GridInteractiveDefault,         //7
	GridUseAngleMeasurementDefault, //8
	PrecisePointPicking,            //9
	ExplorerSelectionNotify,        //10
	UpdateDualView,                 //11
	DualMode,                       //12
	ModelStaticOnResize,            //13
	SelectionGeometricOnly,         //14
	SelectionFastApproximation,     //15
	SelectionGeometric,             //16
	BoundingBoxVisibleObjOnly,      //17
	EnableHiddenLabelRemoval,       //18
	ShowAxesIcon,                   //19
	LeftHandCoordinateSystem,       //20
	Count,                          //21
};
enum E3DIntParams
{
	BackgroundType,			//0
	MeasurementDigits,		//1
	SnapLineDistance,		//2
	SnapPointDistance,              //3
	MeasurementsStyle,		//4
	MeshModsAutoUpdateLimit0,	//5
	MeshModsAutoUpdateLimit1,       //6
	IntParamCount,			//7
};
enum E3DDoubleParams
{
	e3DDoubleParamDeviationFactor,  //0
	e3DDoubleParamCount             //1
};
enum BackgroundType
{
	flat,
	gradient,
};
enum ViewNavigationType_DG
{
		Pan = 1,
		Zoom = 2,
		Rotate = 4,
};
enum RangeLocation
{
	Unknown,
	Interval,
	FirstEnd,
	LastEnd,
	Inside,
	Outside,
	Before,
	After,
};
enum MeshElementType_DG
{
	Vertex,
	Segment,
	Simplex,
};
enum MeshModsAction
{
	None = 0,
	NormalsFastApprox = 1,
	NormalsMedium = 2,
	NormalsFull = 4,
	NormalsAuto = 8,
};
enum MeshRefineType_DG
{
	Flat,
	Butterfly,
	Loop,
	Catmull,
	ONE_QUAD_X_EDGE
};
enum MeshSmoothType_DG
{
    Laplacian
};
enum SelectionItemType_DG
{
	BRepVertex,
	BRepEdge,
	BRepFace,
	Entity,
	MeshVertex,
	MeshSegment,
	MeshSimplex,
	Unknown
};
enum CADFormat_DG
{
	GLM,
	VRML,
	STL,
	AutoCADDXF,
	AutoCADDWG,
	SAT,
	CSV,
	XYZ,
	PLY,
	STEP,
	IGES,
	BREP,
	CSFDB,
	Dat,
	MDG,
	OBJ,
	Unknown,
};
enum ViewFrame_DG
{
	Global,
	Eye
};
enum ModelEntity_DG
{
	Unknown,
	Object,
	Model,
};
enum STLAnalysisType_DG
{
	Auto,
	Perform,
	Skip,
};
enum MoveParametrisationType_DG
{
	Strip,
	ArcSpline,
	Unknown,
};
enum StringSource_DG
{
	Unknown,
	ObjectName,
	LayerName,
	Template,
};
enum ESegmentType
{
	eSegmTypeLine = 1,
	eSegmTypeArc = 2,
};