1 #ifndef SMALLCHANGE_SMWELLLOGKIT_H 2 #define SMALLCHANGE_SMWELLLOGKIT_H 36 #include <Inventor/nodekits/SoSubKit.h> 37 #include <Inventor/nodekits/SoBaseKit.h> 38 #include <Inventor/fields/SoSFBool.h> 39 #include <Inventor/fields/SoSFTime.h> 40 #include <Inventor/fields/SoSFString.h> 41 #include <Inventor/fields/SoSFColor.h> 42 #include <Inventor/fields/SoMFColor.h> 43 #include <Inventor/fields/SoMFString.h> 44 #include <Inventor/fields/SoSFFloat.h> 45 #include <Inventor/fields/SoSFInt32.h> 46 #include <Inventor/fields/SoMFString.h> 47 #include <Inventor/fields/SoMFFloat.h> 48 #include <Inventor/fields/SoMFVec3d.h> 49 #include <SmallChange/basic.h> 61 SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
62 SO_KIT_CATALOG_ENTRY_HEADER(tooltip);
63 SO_KIT_CATALOG_ENTRY_HEADER(utm);
64 SO_KIT_CATALOG_ENTRY_HEADER(transform);
65 SO_KIT_CATALOG_ENTRY_HEADER(topLod);
66 SO_KIT_CATALOG_ENTRY_HEADER(topLodGroup);
67 SO_KIT_CATALOG_ENTRY_HEADER(shapeHints);
68 SO_KIT_CATALOG_ENTRY_HEADER(wellBaseColor);
69 SO_KIT_CATALOG_ENTRY_HEADER(wellDrawStyle);
70 SO_KIT_CATALOG_ENTRY_HEADER(well);
71 SO_KIT_CATALOG_ENTRY_HEADER(wellNameSep);
72 SO_KIT_CATALOG_ENTRY_HEADER(wellNameColor);
73 SO_KIT_CATALOG_ENTRY_HEADER(wellName);
74 SO_KIT_CATALOG_ENTRY_HEADER(lightModel);
75 SO_KIT_CATALOG_ENTRY_HEADER(lod);
76 SO_KIT_CATALOG_ENTRY_HEADER(lodSeparator);
77 SO_KIT_CATALOG_ENTRY_HEADER(callbackNode);
78 SO_KIT_CATALOG_ENTRY_HEADER(coord);
79 SO_KIT_CATALOG_ENTRY_HEADER(materialBinding);
80 SO_KIT_CATALOG_ENTRY_HEADER(faceSetColor);
81 SO_KIT_CATALOG_ENTRY_HEADER(pickStyle);
82 SO_KIT_CATALOG_ENTRY_HEADER(drawStyleSwitch);
83 SO_KIT_CATALOG_ENTRY_HEADER(lineSet);
84 SO_KIT_CATALOG_ENTRY_HEADER(faceSet);
85 SO_KIT_CATALOG_ENTRY_HEADER(info);
86 SO_KIT_CATALOG_ENTRY_HEADER(topsSep);
87 SO_KIT_CATALOG_ENTRY_HEADER(topsFontStyle);
88 SO_KIT_CATALOG_ENTRY_HEADER(topsBaseColor);
89 SO_KIT_CATALOG_ENTRY_HEADER(topsList);
90 SO_KIT_CATALOG_ENTRY_HEADER(topInfo);
142 void addTooltipInfo(
const char * name,
146 const char ** datatext);
158 int findPickIdx(
const SbVec3f & p)
const;
159 SbBool setTooltipInfo(
const int idx,
SmTooltipKit * tooltip);
160 void connectNodes(
void);
161 int getNumCurves(
void)
const;
162 int getNumCurveValues(
void)
const;
163 float getDepth(
const int idx)
const;
164 float getLeftCurveData(
const int idx)
const;
165 float getRightCurveData(
const int idx)
const;
167 friend class SmWellLogKitP;
168 SmWellLogKitP * pimpl;
171 #endif // SMALLCHANGE_SMWELLLOGKIT_H virtual void search(SoSearchAction *action)
SoMFString curveNames
Definition: SmWellLogKit.h:100
virtual void notify(SoNotList *l)
SoSFFloat rightCurveMax
Definition: SmWellLogKit.h:130
SoMFFloat topsDepths
Definition: SmWellLogKit.h:121
SoSFFloat leftCurveMin
Definition: SmWellLogKit.h:126
SoSFFloat rightSize
Definition: SmWellLogKit.h:105
SoSFBool leftUseLog
Definition: SmWellLogKit.h:113
virtual void handleEvent(SoHandleEventAction *action)
virtual void setDefaultOnNonWritingFields(void)
SoSFString name
Definition: SmWellLogKit.h:97
SoMFString curveUnits
Definition: SmWellLogKit.h:102
virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action)
SoMFString curveDescription
Definition: SmWellLogKit.h:101
SoSFFloat wellRadius
Definition: SmWellLogKit.h:118
SoSFColor topsColor
Definition: SmWellLogKit.h:123
virtual void getMatrix(SoGetMatrixAction *action)
SoSFFloat lodDistance1
Definition: SmWellLogKit.h:116
virtual void GLRender(SoGLRenderAction *action)
SoSFFloat lodDistance2
Definition: SmWellLogKit.h:117
virtual SbBool readInstance(SoInput *in, unsigned short flags)
SoMFVec3d wellCoord
Definition: SmWellLogKit.h:98
SoSFFloat rightCurveMin
Definition: SmWellLogKit.h:129
static void initClass(void)
Definition: SmWellLogKit.h:56
SoMFFloat curveData
Definition: SmWellLogKit.h:103
SoMFColor wellColor
Definition: SmWellLogKit.h:119
SoSFFloat undefVal
Definition: SmWellLogKit.h:96
SoSFFloat leftSize
Definition: SmWellLogKit.h:104
SoSFBool rightUseLog
Definition: SmWellLogKit.h:114
SoSFColor rightColor
Definition: SmWellLogKit.h:111
SoSFFloat leftCurveMax
Definition: SmWellLogKit.h:127
virtual void callback(SoCallbackAction *action)
SoMFString topsNames
Definition: SmWellLogKit.h:122
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
SoSFColor leftColor
Definition: SmWellLogKit.h:110
SoSFInt32 rightCurveIndex
Definition: SmWellLogKit.h:108
virtual void rayPick(SoRayPickAction *action)
SoSFInt32 leftCurveIndex
Definition: SmWellLogKit.h:107
SoSFFloat topsSize
Definition: SmWellLogKit.h:124