Alphabetical Class Index   Compound Members   File List  

Hoops3dStream.idl
00001 // Hoops3dStream.idl : IDL source for Hoops3dStream.dll
00002 //
00003 
00004 // This file will be processed by the MIDL tool to
00005 // produce the type library (Hoops3dStream.tlb) and marshalling code.
00006 
00007 import "oaidl.idl";
00008 import "ocidl.idl";
00009 #include "olectl.h"
00010 #include "guidlist.h"
00011 
00012 #ifndef HC_POINTER_SIZED_INT
00013 #if defined(_M_IA64) || defined(_M_AMD64) || defined(WIN64) || defined(_WIN64) || defined(_M_X64)
00014 #   define  HC_POINTER_SIZED_INT    __int64
00015 #else
00016 #   define  HC_POINTER_SIZED_INT    long
00017 #endif
00018 #endif
00019 
00020 
00021 #ifndef HC_KEY
00022 #   define  HC_KEY      HC_POINTER_SIZED_INT
00023 #endif
00024 
00025     [
00026         object,
00027         uuid(CLSID_HOOPS3DSTREAMCTRL_MIDL),
00028         dual,
00029         helpstring("IHoops3dStreamCtrl Interface"),
00030         pointer_default(unique)
00031     ]
00032 
00036     interface IHoops3dStreamCtrl : IDispatch
00037     {
00038         [propput, id(DISPID_BACKCOLOR)]
00039         HRESULT BackColor([in]OLE_COLOR clr);
00040         [propget, id(DISPID_BACKCOLOR)]
00041         HRESULT BackColor([out,retval]OLE_COLOR* pclr);
00042         [propget, id(DISPID_HWND)]
00043         HRESULT Window([out, retval]HC_POINTER_SIZED_INT* phwnd);
00044         
00046         [propget, id(1), helpstring("property Filename")] HRESULT Filename([out, retval] BSTR *pVal);
00048         [propput, id(1), helpstring("property Filename")] HRESULT Filename([in] BSTR newVal);
00049 
00050         [propget, id(20), helpstring("property DLinProgress")] HRESULT DLinProgress([out, retval] BOOL *pVal);
00051         [propget, id(21), helpstring("property DownloadDataReceived")] HRESULT DownloadDataReceived([out, retval] long *pVal);
00052         [propget, id(22), helpstring("property DownloadDataMax")] HRESULT DownloadDataMax([out, retval] long *pVal);
00053         
00054         [id(23), helpstring("method AbortDownload")] HRESULT AbortDownload();
00055         
00057         [propget, id(27), helpstring("property CurrentOperator")] HRESULT CurrentOperator([out, retval] BSTR *pVal);
00058 
00059                 
00060         [id(45), helpstring("method SaveRestoreMarkup")] HRESULT SaveRestoreMarkup(int layernum);
00061 
00063         [propget, id(30), helpstring("property CameraParameters")] HRESULT CameraParameters([out, retval] BSTR *pVal);
00064         
00066         [propget, id(31), helpstring("property Embed")] HRESULT Embed([out, retval] BOOL *pVal);
00068         [propput, id(31), helpstring("property Embed")] HRESULT Embed([in] BOOL newVal);
00069         
00071         [propget, id(33), helpstring("property FileType")] HRESULT FileType([out, retval] BSTR *pVal);
00073         [propput, id(33), helpstring("property FileType")] HRESULT FileType([in] BSTR newVal);
00074         
00076         [id(34), helpstring("method SetBackgroundColors")] HRESULT SetBackgroundColors(float r_top, float g_top, float b_top, float r_bottom, float g_bottom, float b_bottom, int percentage);
00077         
00078 
00079         
00081         [id(28), helpstring("method FitWorld")] HRESULT FitWorld(); 
00083         [id(29), helpstring("method SetCamera")] HRESULT SetCamera(float px, float py, float pz, float tx, float ty, float tz, float ux, float uy, float uz, float width, float height);
00085         [id(38), helpstring("method SetCameraToPlaneXY")] HRESULT SetCameraToPlaneXY();
00087         [id(39), helpstring("method SetCameraToPlaneXZ")] HRESULT SetCameraToPlaneXZ();
00089         [id(40), helpstring("method SetCameraToPlaneYZ")] HRESULT SetCameraToPlaneYZ();
00091         [id(41), helpstring("method SetCameraToPlaneZX")] HRESULT SetCameraToPlaneZX();
00093         [id(42), helpstring("method SetCameraToPlaneZY")] HRESULT SetCameraToPlaneZY();
00095         [id(43), helpstring("method SetCameraToPlaneYX")] HRESULT SetCameraToPlaneYX();
00097         [id(44), helpstring("method SetCameraToIsometric")] HRESULT SetCameraToIsometric();
00099         [id(46), helpstring("method SetProjectionModePerspective")] HRESULT SetProjectionModePerspective();
00101         [id(47), helpstring("method SetProjectionModeOrthographic")] HRESULT SetProjectionModeOrthographic();
00103         [propget, id(113), helpstring("property ProjectionMode")] HRESULT ProjectionMode([out, retval] BSTR *pVal);
00105         [propput, id(113), helpstring("property ProjectionMode")] HRESULT ProjectionMode([in] BSTR newVal);
00107         [id(35), helpstring("method SetOperator")] HRESULT SetOperator(BSTR operator_name);
00109         [id(36), helpstring("method SetRenderMode")] HRESULT SetRenderMode(BSTR mode);
00110         
00112         [id(37), helpstring("method InsertCuttingPlane")] HRESULT InsertCuttingPlane();
00113         /* Toggles visibility of a named cutting plane */
00114         [id(111), helpstring("method ShowCuttingPlane")] HRESULT ShowCuttingPlane(BSTR name, int onoff);
00115         /* Get the status of whether a named cutting plane exists*/
00116         [propget, id(115), helpstring("property CuttingPlaneStatus")] HRESULT CuttingPlaneStatus(BSTR name, [out, retval] BOOL *pVal);
00117         
00118 
00120         [id(70), helpstring("method FlushScene")] HRESULT FlushScene();
00121 
00122 
00124         [id(48), helpstring("method SetShadowMode")] HRESULT SetShadowMode(BOOL onoff);
00126         [id(49), helpstring("method AntialiasScene")] HRESULT AntialiasScene();
00128         [id(50), helpstring("method SetPolygonHandednessLeft")] HRESULT SetPolygonHandednessLeft();
00130         [id(51), helpstring("method SetPolygonHandednessRight")] HRESULT SetPolygonHandednessRight();
00132         [id(52), helpstring("method SetPolygonHandednessNone")] HRESULT SetPolygonHandednessNone();
00134         [id(53), helpstring("method SetBackplaneCullingMode")] HRESULT SetBackplaneCullingMode(BOOL onoff);
00136         [id(54), helpstring("method SetFramerateMode")] HRESULT SetFramerateMode(BOOL onoff);
00137         
00139         [id(56), helpstring("method OpenSceneSegment")] HRESULT OpenSceneSegment();
00141         [id(57), helpstring("method OpenModelSegment")] HRESULT OpenModelSegment();
00142 
00144         [id(60), helpstring("method Update")] HRESULT Update();
00145         
00147         [propget, id(62), helpstring("property NoOrbit")] HRESULT NoOrbit([out, retval] BOOL *pVal);
00149         [propput, id(62), helpstring("property NoOrbit")] HRESULT NoOrbit([in] BOOL newVal);
00151         [propget, id(63), helpstring("property ControlActive")] HRESULT ControlActive([out, retval] BOOL *pVal);
00152 
00154         [propget, id(68), helpstring("property Antialiasing")] HRESULT Antialiasing([out, retval] BOOL *pVal);
00156         [propput, id(68), helpstring("property Antialiasing")] HRESULT Antialiasing([in] BOOL newVal); 
00158         [propget, id(69), helpstring("property AllowMenu")] HRESULT AllowMenu([out, retval] BOOL *pVal);
00160         [propput, id(69), helpstring("property AllowMenu")] HRESULT AllowMenu([in] BOOL newVal);
00161         
00162 
00163 
00165         [propput, id(73), helpstring("property HardwareAntialiasing")] HRESULT HardwareAntialiasing([in] BOOL newVal); 
00167         [propget, id(73), helpstring("property HardwareAntialiasing")] HRESULT HardwareAntialiasing([out, retval] BOOL *pVal);
00169         [propput, id(74), helpstring("property AxisMode")] HRESULT AxisMode([in] BOOL newVal); 
00171         [propget, id(74), helpstring("property AxisMode")] HRESULT AxisMode([out, retval] BOOL *pVal);
00172 
00174         [id(64), helpstring("method BhvPlay")] HRESULT BhvPlay();
00176         [id(65), helpstring("method BhvPause")] HRESULT BhvPause();
00178         [id(66), helpstring("method BhvRewind")] HRESULT BhvRewind();
00180         [propget, id(67), helpstring("property IsPlaying")] HRESULT IsPlaying([out, retval] BOOL *pVal);
00182         [id(75), helpstring("method BhvActivateAllAnimations")] HRESULT BhvActivateAllAnimations();
00184         [id(76), helpstring("method BhvDeactivateAllAnimations")] HRESULT BhvDeactivateAllAnimations();
00186         [id(77), helpstring("method BhvActivateAnimation")] HRESULT BhvActivateAnimation(BSTR animationname, BOOL allowPartial);
00188         [id(78), helpstring("method BhvDeactivateAnimation")] HRESULT BhvDeactivateAnimation(BSTR animationname, BOOL allowPartial);
00190         [id(79), helpstring("method BhvStartAnimation")] HRESULT BhvStartAnimation(BSTR animationname);
00192         [id(80), helpstring("method BhvStopAnimation")] HRESULT BhvStopAnimation(BSTR animationname);
00194         [id(82), helpstring("method BhvSetInfinitePlay")] HRESULT BhvSetInfinitePlay(BOOL onoff);
00196         [id(83), helpstring("method BhvRewindAnimation")] HRESULT BhvRewindAnimation(BSTR animationname);
00198         [propput, id(112), helpstring("property BhvContinuousPlay")] HRESULT BhvContinuousPlay([in] BOOL newVal); 
00200         [propget, id(112), helpstring("property BhvContinuousPlay")] HRESULT BhvContinuousPlay([out, retval] BOOL *pVal);
00201         
00203         [id(81), helpstring("method ShowFileOpenDialog")] HRESULT ShowFileOpenDialog();
00205         [id(104), helpstring("method ShowFileSaveDialog")] HRESULT ShowFileSaveDialog();
00207         [id(105), helpstring("method CopyToClipboard")] HRESULT CopyToClipboard();
00209         [id(106), helpstring("method ShowPrintDialog")] HRESULT ShowPrintDialog();
00211         [id(107), helpstring("method ShowPageSetupDialog")] HRESULT ShowPageSetupDialog();
00212         /* Sets an iso view camera */
00213         [id(108), helpstring("method GenerateNavigationInfo")] HRESULT GenerateNavigationInfo([in] int level, [out, retval] BSTR *filepath);
00214         /* Sets an iso view camera */
00215         [id(109), helpstring("method Select")] HRESULT Select(BSTR key);
00218         [propput, id(110), helpstring("property AllowEntitySelection")] HRESULT AllowEntitySelection([in] BOOL newVal); 
00220         [propget, id(110), helpstring("property AllowEntitySelection")] HRESULT AllowEntitySelection([out, retval] BOOL *pVal);
00221 
00222         /* Sets an iso view camera */
00223         [id(116), helpstring("method SelectFromIdentifier")] HRESULT SelectFromIdentifier(int identifier);
00224         /* Sets an iso view camera */
00225         [id(117), helpstring("method KeyToIndex")] HRESULT KeyToIndex([in] BSTR key, [out, retval] int* pIndex);
00226         /* Sets an iso view camera */
00227         [propget, id(118), helpstring("property ModelStructureTypeList")] HRESULT ModelStructureTypeList([out, retval] BSTR *pVal);
00228         /* Sets an iso view camera */
00229         [propput, id(119), helpstring("property ModelStructureFilter")] HRESULT ModelStructureFilter([in] BSTR newVal);
00230         /* Sets an iso view camera */
00231         [id(120), helpstring("method GenerateNavigationInfoFromNodePath")] HRESULT GenerateNavigationInfoFromNodePath([in] BSTR nodepath, [out, retval] BSTR *filepath);
00232         /* Sets an iso view camera */
00233         [id(121), helpstring("method GetPathFromIndex")] HRESULT GetPathFromIndex([in] int index, [out, retval] BSTR *pPath);
00234         /* Sets an iso view camera */
00235         [id(122), helpstring("method SelectFromPath")] HRESULT SelectFromPath(BSTR path);
00237         [propget, id(123), helpstring("property SmoothTransitionMode")] HRESULT SmoothTransitionMode([out, retval] BOOL *pVal);
00239         [propput, id(123), helpstring("property SmoothTransitionMode")] HRESULT SmoothTransitionMode([in] BOOL newVal);
00241         [id(124), helpstring("method SetSelectionFaceColor")] HRESULT SetSelectionFaceColor(float r, float g, float b, float a);
00243         [id(125), helpstring("method SetSelectionEdgeColor")] HRESULT SetSelectionEdgeColor(float r, float g, float b, float a);
00245         [id(126), helpstring("method SetSelectionMarkerColor")] HRESULT SetSelectionMarkerColor(float r, float g, float b, float a);
00247         [propget, id(127), helpstring("property SoftwareRendering")] HRESULT SoftwareRendering([out, retval] BOOL *pVal);
00249         [propput, id(127), helpstring("property SoftwareRendering")] HRESULT SoftwareRendering([in] BOOL newVal);
00251         [id(128), helpstring("method AddFileType")] HRESULT AddFileType(BSTR filetype);
00252         
00253         [propput, id(129), helpstring("property ConfigFile")] HRESULT ConfigFile([in] BSTR newVal);
00254         [propget, id(129), helpstring("property ConfigFile")] HRESULT ConfigFile([out, retval] BSTR *pVal);
00255         
00256         [id(130), helpstring("method ConfigureFromFile")] HRESULT ConfigureFromFile();
00257         [id(131), helpstring("method ShowOptionsDialog")] HRESULT ShowOptionsDialog();
00258         
00259         [propget, id(133), helpstring("property HasModelStructureInfo")] HRESULT HasModelStructureInfo([out, retval] BOOL *pVal);
00260         
00261         [id(134), helpstring("method SetAmbientColor")] HRESULT SetAmbientColor(float r, float g, float b);
00262         
00263         [propget, id(135), helpstring("property DataNavigatorMode")] HRESULT DataNavigatorMode([out, retval] BOOL *pVal);
00264         [propput, id(135), helpstring("property DataNavigatorMode")] HRESULT DataNavigatorMode([in] BOOL newVal);
00265         [propget, id(136), helpstring("property UndoAvailable")] HRESULT UndoAvailable([out, retval] BOOL *pVal);
00266         [propget, id(137), helpstring("property RedoAvailable")] HRESULT RedoAvailable([out, retval] BOOL *pVal);
00267 
00268         /*returns the last key that was set*/
00269         [propget, id(138), helpstring("property Key")] HRESULT Key([out, retval] LONG *pVal);
00270         [propget, id(139), helpstring("property String1")] HRESULT String1([out, retval] BSTR *pVal);
00271         [propget, id(140), helpstring("property String2")] HRESULT String2([out, retval] BSTR *pVal);
00272         [propget, id(141), helpstring("property String3")] HRESULT String3([out, retval] BSTR *pVal);
00273         [propget, id(142), helpstring("property Int1")] HRESULT Int1([out, retval] int *pVal);
00274 
00275 
00276         [id(114), helpstring("method Run")] HRESULT Run(BSTR command);
00277         
00278         [id(143), helpstring("method SetViewAxis")] HRESULT SetViewAxis(float fx, float fy, float fz, float tx, float ty, float tz);
00279 
00283         [propput, id(144), helpstring("property FramerateType")] HRESULT FramerateType([in] BSTR newVal);
00287         [propget, id(144), helpstring("property FramerateType")] HRESULT FramerateType([out, retval] BSTR *pVal);
00289         [propput, id(145), helpstring("property DriverType")] HRESULT DriverType([in] BSTR newVal);
00290         [propget, id(145), helpstring("property DriverType")] HRESULT DriverType([out, retval] BSTR *pVal);
00291         [propput, id(146), helpstring("property DefaultConfigFile")] HRESULT DefaultConfigFile([in] BSTR newVal);
00292         [propget, id(146), helpstring("property DefaultConfigFile")] HRESULT DefaultConfigFile([out, retval] BSTR *pVal);
00294         [propput, id(132), helpstring("property SegmentDL")] HRESULT SegmentDL([in] BOOL newVal);
00295         [propget, id(132), helpstring("property SegmentDL")] HRESULT SegmentDL([out, retval] BOOL *pVal);
00296 
00298         [propput, id(147), helpstring("property StaticModel")] HRESULT StaticModel([in] BOOL newVal);
00299         [propget, id(147), helpstring("property StaticModel")] HRESULT StaticModel([out, retval] BOOL *pVal);
00301         [propput, id(148), helpstring("property AntialiasingLevel")] HRESULT AntialiasingLevel([in] int newVal);
00302         [propget, id(148), helpstring("property AntialiasingLevel")] HRESULT AntialiasingLevel([out, retval] int *pVal);
00304         [propput, id(149), helpstring("property CullingThreshold")] HRESULT CullingThreshold([in] int newVal);
00305         [propget, id(149), helpstring("property CullingThreshold")] HRESULT CullingThreshold([out, retval] int *pVal);
00308         [propput, id(150), helpstring("property FrameRate")] HRESULT FrameRate([in] float newVal);
00309         [propget, id(150), helpstring("property FrameRate")] HRESULT FrameRate([out, retval] float *pVal);
00312         [propput, id(151), helpstring("property MaximumThreshold")] HRESULT MaximumThreshold([in] int newVal);
00313         [propget, id(151), helpstring("property MaximumThreshold")] HRESULT MaximumThreshold([out, retval] int *pVal);
00314         [propput, id(152), helpstring("property TransparencyOptions")] HRESULT TransparencyOptions([in] BSTR newVal);
00315         [propget, id(152), helpstring("property TransparencyOptions")] HRESULT TransparencyOptions([out, retval] BSTR *pVal);
00316 
00317 
00318         /*Insert functions*/
00320         [id(200), helpstring("method HATL_Insert_Circle")] HRESULT HATL_Insert_Circle(float p1_x, float p1_y, float p1_z, float p2_x, float p2_y, float p2_z, float p3_x, float p3_y, float p3_z, [out, retval]HC_KEY *retkey);
00322         [id(201), helpstring("method HATL_Insert_Circle_By_Radius")] HRESULT HATL_Insert_Circle_By_Radius(float c_x, float c_y, float c_z, float radius, float n_x, float n_y, float n_z, [out, retval]HC_KEY *retkey);
00324         [id(202), helpstring("method HATL_Insert_Circular_Arc")] HRESULT HATL_Insert_Circular_Arc(float p1_x, float p1_y, float p1_z, float p2_x, float p2_y, float p2_z, float p3_x, float p3_y, float p3_z, [out, retval]HC_KEY *retkey);
00326         [id(203), helpstring("method HATL_Insert_Circular_Chord")] HRESULT HATL_Insert_Circular_Chord(float p1_x, float p1_y, float p1_z, float p2_x, float p2_y, float p2_z, float p3_x, float p3_y, float p3_z, [out, retval]HC_KEY *retkey);
00328         [id(204), helpstring("method HATL_Insert_Circular_Wedge")] HRESULT HATL_Insert_Circular_Wedge(float p1_x, float p1_y, float p1_z, float p2_x, float p2_y, float p2_z, float p3_x, float p3_y, float p3_z, [out, retval]HC_KEY *retkey);
00330         [id(205), helpstring("method HATL_Insert_Cutting_Plane")] HRESULT HATL_Insert_Cutting_Plane(float a, float b, float c, float d, [out, retval]HC_KEY *retkey);
00332         [id(206), helpstring("method HATL_Insert_Cutting_Section")] HRESULT HATL_Insert_Cutting_Section(int count, VARIANT *planes_var, [out, retval]HC_KEY *retkey);
00334         [id(207), helpstring("method HATL_Insert_Cylinder")] HRESULT HATL_Insert_Cylinder(float p1_x, float p1_y, float p1_z, float p2_x, float p2_y, float p2_z, float r, BSTR cap, [out, retval]HC_KEY *retkey);
00336         [id(208), helpstring("method HATL_Insert_Ellipse")] HRESULT HATL_Insert_Ellipse(float c_x, float c_y, float c_z, float major_x, float major_y, float major_z, float minor_x, float minor_y, float minor_z, [out, retval]HC_KEY *retkey);
00338         [id(209), helpstring("method HATL_Insert_Elliptical_Arc")] HRESULT HATL_Insert_Elliptical_Arc(float c_x, float c_y, float c_z, float major_x, float major_y, float major_z, float minor_x, float minor_y, float minor_z, float start, float end, [out, retval]HC_KEY *retkey);
00340         [id(210), helpstring("method HATL_Insert_Grid")] HRESULT HATL_Insert_Grid(BSTR type, float o_x, float o_y, float o_z, float ref1_x, float ref1_y, float ref1_z, float ref2_x, float ref2_y, float ref2_z, int count1, int count2, [out, retval]HC_KEY *retkey);
00342         [id(211), helpstring("method HATL_Insert_Image")] HRESULT HATL_Insert_Image(float x, float y, float z, BSTR format, int width, int height, VARIANT *pixeldata_var, [out, retval]HC_KEY *retkey);
00344         [id(212), helpstring("method HATL_Insert_Ink")] HRESULT HATL_Insert_Ink(float x, float y, float z, [out, retval]HC_KEY *retkey);
00346         [id(213), helpstring("method HATL_Insert_Line")] HRESULT HATL_Insert_Line(float xa, float ya, float za,float xb, float yb, float zb, [out, retval]HC_KEY *retkey);
00348         [id(214), helpstring("method HATL_Insert_Distant_Light")] HRESULT HATL_Insert_Distant_Light(float di, float dj, float dk, [out, retval]HC_KEY *retkey);
00350         [id(215), helpstring("method HATL_Insert_Local_Light")] HRESULT HATL_Insert_Local_Light(float x, float y, float z, [out, retval]HC_KEY *retkey);
00352         [id(216), helpstring("method HATL_Insert_Spot_Light")] HRESULT HATL_Insert_Spot_Light(float p_x, float p_y, float p_z, float t_x, float t_y, float t_z, BSTR list, [out, retval]HC_KEY *retkey);
00354         [id(217), helpstring("method HATL_Insert_Marker")] HRESULT HATL_Insert_Marker(float x, float y, float z, [out, retval]HC_KEY *retkey);
00356         [id(218), helpstring("method HATL_Insert_Mesh")] HRESULT HATL_Insert_Mesh(int rows, int columns, VARIANT *points, [out, retval]HC_KEY *retkey);
00358         [id(219), helpstring("method HATL_Insert_NURBS_Curve")] HRESULT HATL_Insert_NURBS_Curve(int degree, int cpcount, VARIANT *cpoints, VARIANT *weights, VARIANT *knots, float start_u, float end_u, [out, retval]HC_KEY *retkey);
00360         [id(220), helpstring("method HATL_Insert_NURBS_Surface")] HRESULT HATL_Insert_NURBS_Surface(int u_degree, int v_degree, int u_count, int v_count, VARIANT *points_var, VARIANT *weights_var, VARIANT *u_knots_var, VARIANT *v_knots_var, HC_KEY *retkey);
00362         [id(221), helpstring("method HATL_Insert_PolyCylinder")] HRESULT HATL_Insert_Polycylinder(int pcount, VARIANT * points_var, int r_count, VARIANT *radii_var, BSTR capping, [out, retval]HC_KEY *retkey);
00364         [id(222), helpstring("method HATL_Insert_Polygon")] HRESULT HATL_Insert_Polygon(int count, VARIANT *points_var, [out, retval]HC_KEY *retkey);
00366         [id(223), helpstring("method HATL_Insert_Polyline")] HRESULT HATL_Insert_Polyline(int count, VARIANT *points_var, [out, retval]HC_KEY *retkey);
00368         [id(224), helpstring("method HATL_Insert_Shell")] HRESULT HATL_Insert_Shell(int npoints, VARIANT *test, int flen, VARIANT *test2, [out, retval]HC_KEY *retkey);
00370         [id(225), helpstring("method HATL_Insert_Shell_By_Tristrips")] HRESULT HATL_Insert_Shell_By_Tristrips(int pcount, VARIANT *points_var, int tlen, VARIANT *tlist_var, int flen, VARIANT *flist_var, [out, retval]HC_KEY *retkey);
00372         [id(226), helpstring("method HATL_Insert_Shell_From_Region")] HRESULT HATL_Insert_Shell_From_Region(HC_KEY key1, int region, BSTR options, [out, retval]HC_KEY *retkey);
00374         [id(227), helpstring("method HATL_Insert_Sphere")] HRESULT HATL_Insert_Sphere( float c_x, float c_y, float c_z, float radius, float a_x, float a_y, float a_z, float o_x, float o_y, float o_z, [out, retval]HC_KEY *retkey);
00376         [id(228), helpstring("method HATL_Insert_Text")] HRESULT HATL_Insert_Text(float x, float y, float z, BSTR text, [out, retval]HC_KEY *retkey);
00378         [id(229), helpstring("method HATL_Insert_Text_With_Encoding")] HRESULT HATL_Insert_Text_With_Encoding(float x, float y, float z, BSTR encoding, VARIANT *text, [out, retval]HC_KEY *retkey);
00380         [id(230), helpstring("method HATL_Insert_Unicode_Text")] HRESULT HATL_Insert_Unicode_Text(float x, float y, float z, VARIANT *text, [out, retval]HC_KEY *retkey);
00382         [id(300), helpstring("method HATL_Open_Segment")] HRESULT HATL_Open_Segment(BSTR segment, [out, retval]HC_KEY *retkey);
00384         [id(301), helpstring("method HATL_Close_Segment")] HRESULT HATL_Close_Segment();
00386         [id(302), helpstring("method HATL_Open_Geometry")] HRESULT HATL_Open_Geometry(HC_KEY key);
00388         [id(303), helpstring("method HATL_Close_Geometry")] HRESULT HATL_Close_Geometry();
00390         [id(304), helpstring("method HATL_Open_Edge")] HRESULT HATL_Open_Edge(int offset1, int offset2);
00392         [id(305), helpstring("method HATL_Close_Edge")] HRESULT HATL_Close_Edge();
00394         [id(306), helpstring("method HATL_Open_Face")] HRESULT HATL_Open_Face(int offset);
00396         [id(307), helpstring("method HATL_Close_Face")] HRESULT HATL_Close_Face();
00398         [id(308), helpstring("method HATL_Include_Segment")] HRESULT HATL_Include_Segment(BSTR segment, [out, retval]HC_KEY *retkey);
00400         [id(309), helpstring("method HATL_Delete_By_Key")] HRESULT HATL_Delete_By_Key(HC_KEY key);
00402         [id(310), helpstring("method HATL_Flush_Contents")] HRESULT HATL_Flush_Contents(BSTR segment, BSTR filter);
00404         [id(400), helpstring("method HATL_Set_Camera")] HRESULT HATL_Set_Camera(float p_x, float p_y, float p_z, float t_x, float t_y, float t_z, float u_x, float u_y, float u_z, float width, float height, BSTR projection);
00406         [id(401), helpstring("method HATL_Set_Camera_By_Volume")] HRESULT HATL_Set_Camera_By_Volume(BSTR projection, float xmin, float xmax, float ymin, float ymax);
00408         [id(402), helpstring("method HATL_Set_Camera_Field")] HRESULT HATL_Set_Camera_Field(float width, float height);
00410         [id(403), helpstring("method HATL_Set_Camera_Near_Limit")] HRESULT HATL_Set_Camera_Near_Limit(float wlimit);
00412         [id(404), helpstring("method HATL_Set_Camera_Position")] HRESULT HATL_Set_Camera_Position(float p_x, float p_y, float p_z);
00414         [id(405), helpstring("method HATL_Set_Camera_Projection")] HRESULT HATL_Set_Camera_Projection(BSTR projection);
00416         [id(406), helpstring("method HATL_Set_Camera_Target")] HRESULT HATL_Set_Camera_Target(float t_x, float t_y, float t_z);
00418         [id(407), helpstring("method HATL_Set_Camera_Up_Vector")] HRESULT HATL_Set_Camera_Up_Vector(float u_x, float u_y, float u_z);
00420         [id(408), helpstring("method HATL_Set_Circular_Center")] HRESULT HATL_Set_Circular_Center(float x, float y, float z);
00422         [id(409), helpstring("method HATL_Set_Circular_Center_By_Key")] HRESULT HATL_Set_Circular_Center_By_Key(HC_KEY key, float x, float y, float z);
00424         [id(410), helpstring("method HATL_Set_Color")] HRESULT HATL_Set_Color(BSTR col);
00426         [id(411), helpstring("method HATL_Set_Color_By_FIndex")] HRESULT HATL_Set_Color_By_FIndex(BSTR types, float findex);
00428         [id(412), helpstring("method HATL_Set_Color_By_Index")] HRESULT HATL_Set_Color_By_Index(BSTR types, int index);
00430         [id(413), helpstring("method HATL_Set_Color_By_Value")] HRESULT HATL_Set_Color_By_Value(BSTR types, BSTR colspace, float a, float b, float c);
00432         [id(414), helpstring("method HATL_Set_Color_Map")] HRESULT HATL_Set_Color_Map(BSTR col);
00434         [id(415), helpstring("method HATL_Set_Color_Map_By_Value")] HRESULT HATL_Set_Color_Map_By_Value(BSTR col, int count, VARIANT *values_var);
00436         [id(416), helpstring("method HATL_Set_Conditions")] HRESULT HATL_Set_Conditions(BSTR conditions);
00438         [id(417), helpstring("method HATL_Set_Driver_Options")] HRESULT HATL_Set_Driver_Options(BSTR driver_options);
00440         [id(418), helpstring("method HATL_Set_Edge_Pattern")] HRESULT HATL_Set_Edge_Pattern(BSTR pattern);
00442         [id(419), helpstring("method HATL_Set_Edge_Weight")] HRESULT HATL_Set_Edge_Weight(float weight);
00444         [id(420), helpstring("method HATL_Set_Face_Pattern")] HRESULT HATL_Set_Face_Pattern(BSTR pattern);
00446         [id(421), helpstring("method HATL_Set_Faces")] HRESULT HATL_Set_Faces(int first_face, int face_count);
00448         [id(422), helpstring("method HATL_Set_Handedness")] HRESULT HATL_Set_Handedness(BSTR handedness);
00450         [id(423), helpstring("method HATL_Set_Heuristics")] HRESULT HATL_Set_Heuristics(BSTR heuristics);
00452         [id(424), helpstring("method HATL_Set_Line_Pattern")] HRESULT HATL_Set_Line_Pattern(BSTR pattern);
00454         [id(425), helpstring("method HATL_Set_Line_Weight")] HRESULT HATL_Set_Line_Weight(float weight);
00456         [id(426), helpstring("method HATL_Set_Marker_Size")] HRESULT HATL_Set_Marker_Size(float weight);
00458         [id(427), helpstring("method HATL_Set_Marker_Symbol")] HRESULT HATL_Set_Marker_Symbol(BSTR symbol);
00460         [id(428), helpstring("method HATL_Set_Modelling_Matrix")] HRESULT HATL_Set_Modelling_Matrix(VARIANT *matrix_var);
00462         [id(429), helpstring("method HATL_Set_Normal")] HRESULT HATL_Set_Normal(float x, float y, float z);
00464         [id(430), helpstring("method HATL_Set_Parameter")] HRESULT HATL_Set_Parameter(int number, VARIANT *parameters_var);
00466         [id(431), helpstring("method HATL_Set_Polygonal_Clip_Region")] HRESULT HATL_Set_Polygonal_Clip_Region(int count, VARIANT *points_var, BSTR options);
00468         [id(432), helpstring("method HATL_Set_Priority")] HRESULT HATL_Set_Priority(HC_KEY key, long priority);
00470         [id(433), helpstring("method HATL_Set_Region")] HRESULT HATL_Set_Region(int region);
00472         [id(434), helpstring("method HATL_Set_Rendering_Options")] HRESULT HATL_Set_Rendering_Options(BSTR rendering_options);
00474         [id(435), helpstring("method HATL_Set_Selectability")] HRESULT HATL_Set_Selectability(BSTR list);
00476         [id(436), helpstring("method HATL_Set_Streaming_Mode")] HRESULT HATL_Set_Streaming_Mode (BSTR flag);
00478         [id(437), helpstring("method HATL_Set_Text_Alignment")] HRESULT HATL_Set_Text_Alignment(BSTR locater);
00480         [id(438), helpstring("method HATL_Set_Text_Font")] HRESULT HATL_Set_Text_Font(BSTR text_font);
00482         [id(439), helpstring("method HATL_Set_Text_Path")] HRESULT HATL_Set_Text_Path(float x, float y, float z);
00484         [id(440), helpstring("method HATL_Set_Text_Region")] HRESULT HATL_Set_Text_Region(int pCount, VARIANT *points_var, BSTR options);
00486         [id(441), helpstring("method HATL_Set_Text_Spacing")] HRESULT HATL_Set_Text_Spacing(float spacing);
00488         [id(442), helpstring("method HATL_Set_Texture_Matrix")] HRESULT HATL_Set_Texture_Matrix(VARIANT *matrix_var);
00490         [id(443), helpstring("method HATL_Set_Trim_Operation")] HRESULT HATL_Set_Trim_Operation(int index, BSTR operation);
00492         [id(444), helpstring("method HATL_Set_Unicode_Options")] HRESULT HATL_Set_Unicode_Options(VARIANT *options_var);
00494         [id(445), helpstring("method HATL_Set_User_Index")] HRESULT HATL_Set_User_Index(int index, VARIANT *data_var);
00496         [id(446), helpstring("method HATL_Set_User_Options")] HRESULT HATL_Set_User_Options(BSTR list);
00498         [id(447), helpstring("method HATL_Set_Variable_Edge_Weight")] HRESULT HATL_Set_Variable_Edge_Weight(BSTR weight);
00500         [id(448), helpstring("method HATL_Set_Variable_Line_Weight")] HRESULT HATL_Set_Variable_Line_Weight(BSTR weight);
00502         [id(449), helpstring("method HATL_Set_Variable_Marker_Size")] HRESULT HATL_Set_Variable_Marker_Size(BSTR weight);
00504         [id(450), helpstring("method HATL_Set_Visibility")] HRESULT HATL_Set_Visibility(BSTR vis);
00506         [id(451), helpstring("method HATL_Set_Window")] HRESULT HATL_Set_Window(float left, float right, float bottom, float top);
00508         [id(452), helpstring("method HATL_Set_Window_Frame")] HRESULT HATL_Set_Window_Frame(BSTR flag);
00510         [id(453), helpstring("method HATL_Set_Window_Pattern")] HRESULT HATL_Set_Window_Pattern(BSTR pattern);
00512         [id(500), helpstring("method HATL_UnSet_Camera")] HRESULT HATL_UnSet_Camera();
00514         [id(501), helpstring("method HATL_UnSet_Color")] HRESULT HATL_UnSet_Color();
00516         [id(502), helpstring("method HATL_UnSet_Color_Map")] HRESULT HATL_UnSet_Color_Map();
00518         [id(503), helpstring("method HATL_UnSet_Driver_Options")] HRESULT HATL_UnSet_Driver_Options();
00520         [id(504), helpstring("method HATL_UnSet_Edge_Pattern")] HRESULT HATL_UnSet_Edge_Pattern();
00522         [id(505), helpstring("method HATL_UnSet_Edge_Weight")] HRESULT HATL_UnSet_Edge_Weight();
00524         [id(506), helpstring("method HATL_UnSet_Face_Pattern")] HRESULT HATL_UnSet_Face_Pattern();
00526         [id(507), helpstring("method HATL_UnSet_Handedness")] HRESULT HATL_UnSet_Handedness();
00528         [id(508), helpstring("method HATL_UnSet_Heuristics")] HRESULT HATL_UnSet_Heuristics();
00530         [id(509), helpstring("method HATL_UnSet_Line_Pattern")] HRESULT HATL_UnSet_Line_Pattern();
00532         [id(510), helpstring("method HATL_UnSet_Line_Weight")] HRESULT HATL_UnSet_Line_Weight();
00534         [id(511), helpstring("method HATL_UnSet_Marker_Size")] HRESULT HATL_UnSet_Marker_Size();
00536         [id(512), helpstring("method HATL_UnSet_Marker_Symbol")] HRESULT HATL_UnSet_Marker_Symbol();
00538         [id(513), helpstring("method HATL_UnSet_Modelling_Matrix")] HRESULT HATL_UnSet_Modelling_Matrix();
00540         [id(514), helpstring("method HATL_UnSet_Normal")] HRESULT HATL_UnSet_Normal();
00542         [id(515), helpstring("method HATL_UnSet_One_Color")] HRESULT HATL_UnSet_One_Color(BSTR which);
00544         [id(516), helpstring("method HATL_UnSet_One_Driver_Option")] HRESULT HATL_UnSet_One_Driver_Option(BSTR which);
00546         [id(517), helpstring("method HATL_UnSet_One_Heuristic")] HRESULT HATL_UnSet_One_Heuristic(BSTR which);
00548         [id(518), helpstring("method HATL_UnSet_One_Rendering_Option")] HRESULT HATL_UnSet_One_Rendering_Option(BSTR which);
00550         [id(519), helpstring("method HATL_UnSet_One_Selectability")] HRESULT HATL_UnSet_One_Selectability(BSTR which);
00552         [id(520), helpstring("method HATL_UnSet_One_Text_Font")] HRESULT HATL_UnSet_One_Text_Font(BSTR which);
00554         [id(521), helpstring("method HATL_UnSet_One_User_Index")] HRESULT HATL_UnSet_One_User_Index(long which);
00556         [id(522), helpstring("method HATL_UnSet_One_User_Option")] HRESULT HATL_UnSet_One_User_Option(BSTR which);
00558         [id(523), helpstring("method HATL_UnSet_One_Visibility")] HRESULT HATL_UnSet_One_Visibility(BSTR which);
00560         [id(524), helpstring("method HATL_UnSet_Parameter")] HRESULT HATL_UnSet_Parameter();
00562         [id(525), helpstring("method HATL_UnSet_Rendering_Options")] HRESULT HATL_UnSet_Rendering_Options();
00564         [id(526), helpstring("method HATL_UnSet_Selectability")] HRESULT HATL_UnSet_Selectability();
00566         [id(527), helpstring("method HATL_UnSet_Streaming_Mode")] HRESULT HATL_UnSet_Streaming_Mode();
00568         [id(528), helpstring("method HATL_UnSet_Text_Alignment")] HRESULT HATL_UnSet_Text_Alignment();
00570         [id(529), helpstring("method HATL_UnSet_Text_Font")] HRESULT HATL_UnSet_Text_Font();
00572         [id(530), helpstring("method HATL_UnSet_Text_Path")] HRESULT HATL_UnSet_Text_Path();
00574         [id(531), helpstring("method HATL_UnSet_Text_Spacing")] HRESULT HATL_UnSet_Text_Spacing();
00576         [id(532), helpstring("method HATL_UnSet_Texture_Matrix")] HRESULT HATL_UnSet_Texture_Matrix();
00578         [id(533), helpstring("method HATL_UnSet_User_Options")] HRESULT HATL_UnSet_User_Options();
00580         [id(534), helpstring("method HATL_UnSet_Visibility")] HRESULT HATL_UnSet_Visibility();
00582         [id(535), helpstring("method HATL_UnSet_Window")] HRESULT HATL_UnSet_Window();
00584         [id(536), helpstring("method HATL_UnSet_Window_Frame")] HRESULT HATL_UnSet_Window_Frame();
00586         [id(537), helpstring("method HATL_UnSet_Window_Pattern")] HRESULT HATL_UnSet_Window_Pattern();
00587              
00588 
00589         /*Define functions*/
00591         [id(600), helpstring("method HATL_Define_Alias")] HRESULT HATL_Define_Alias(BSTR name, BSTR expansion);
00593         [id(601), helpstring("method HATL_Define_Color_Name")] HRESULT HATL_Define_Color_Name(BSTR name, BSTR er_name, BSTR ish_name, BSTR definition);
00595         [id(602), helpstring("method HATL_Define_Font")] HRESULT HATL_Define_Font(BSTR name, BSTR options, int data_length, VARIANT *data_var);
00597         [id(603), helpstring("method HATL_Define_Glyph")] HRESULT HATL_Define_Glyph(BSTR name, int data_size, BSTR data);
00599         [id(604), helpstring("method HATL_Define_Line_Style")] HRESULT HATL_Define_Line_Style(BSTR name, BSTR definition);
00601         [id(605), helpstring("method HATL_Define_Local_Texture")] HRESULT HATL_Define_Local_Texture(BSTR name, BSTR definition);
00603         [id(606), helpstring("method HATL_Define_System_Options")] HRESULT HATL_Define_System_Options(BSTR list);
00605         [id(607), helpstring("method HATL_Define_Texture")] HRESULT HATL_Define_Texture(BSTR name, BSTR definition);
00606 
00607     
00608     };
00609  
00610 [
00611     uuid(CLSID_HOOPS3DSTREAMCTRL_TYPELIB),
00612     version(1.0),
00613     helpstring("Hoops3dStream 3.0 Type Library")
00614 ]
00615 library Hoops3dStreamLib
00616 {
00617     importlib("stdole32.tlb");
00618     importlib("stdole2.tlb");
00619 
00620     [
00621         uuid(CLSID_HOOPS3DSTREAMCTRL_EVENTS),
00622         helpstring("__IHoops3dStreamCtrlEvents Interface")
00623     ]
00624     dispinterface _IHoops3dStreamCtrlEvents
00625     {
00626         properties:
00627         methods:
00628         [id(1), helpstring("method OnBeginLoad")] HRESULT OnBeginLoad();
00629         [id(2), helpstring("method OnEndLoad")] HRESULT OnEndLoad();
00630         [id(3), helpstring("method OnSelect")] HRESULT OnSelect(BSTR sel_key);
00631         [id(4), helpstring("method OnUpdateWidget")] HRESULT OnUpdateWidget(BSTR name, BSTR state, BSTR data);
00632         [id(5), helpstring("method OnModelStructureParsed")] HRESULT OnModelStructureParsed();
00633     };
00634 
00635     [
00636         uuid(CLSID_HOOPS3DSTREAMCTRL_CLASS),
00637         helpstring("HOOPS 3D Stream Control Class")
00638     ]
00639     coclass Hoops3dStreamCtrl
00640     {
00641         [default] interface IHoops3dStreamCtrl;
00642         [default, source] dispinterface _IHoops3dStreamCtrlEvents;
00643     };
00644 
00645     [
00646         uuid(CLSID_HOOPS3DSTREAMPROPERTY_EVENTS),
00647         helpstring("_IHoops3dStreamPropertyEvents Interface")
00648     ]
00649     dispinterface _IHoops3dStreamPropertyEvents
00650     {
00651         properties:
00652         methods:
00653     };
00654 
00655     [
00656         uuid(CLSID_HOOPS3DSTREAMPROPERTY_CLASS),
00657         helpstring("Hoops3dStreamProperty Class")
00658     ]
00659     coclass Hoops3dStreamProperty
00660     {
00661         interface IUnknown;
00662         [default, source] dispinterface _IHoops3dStreamPropertyEvents;
00663     };
00664 };