Alphabetical Class Index   File Members   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 
00013     [
00014         object,
00015         uuid(CLSID_HOOPS3DSTREAMCTRL_MIDL),
00016         dual,
00017         helpstring("IHoops3dStreamCtrl Interface"),
00018         pointer_default(unique)
00019     ]
00020 
00024     interface IHoops3dStreamCtrl : IDispatch
00025     {
00026         [propput, id(DISPID_BACKCOLOR)]
00027         HRESULT BackColor([in]OLE_COLOR clr);
00028         [propget, id(DISPID_BACKCOLOR)]
00029         HRESULT BackColor([out,retval]OLE_COLOR* pclr);
00030         [propget, id(DISPID_HWND)]
00031         HRESULT Window([out, retval]long* phwnd);
00032 
00034         [propget, id(1), helpstring("property Filename")] HRESULT Filename([out, retval] BSTR *pVal);
00036         [propput, id(1), helpstring("property Filename")] HRESULT Filename([in] BSTR newVal);
00037 
00038         [propget, id(20), helpstring("property DLinProgress")] HRESULT DLinProgress([out, retval] BOOL *pVal);
00039         [propget, id(21), helpstring("property DownloadDataReceived")] HRESULT DownloadDataReceived([out, retval] long *pVal);
00040         [propget, id(22), helpstring("property DownloadDataMax")] HRESULT DownloadDataMax([out, retval] long *pVal);
00041         
00042         [id(23), helpstring("method AbortDownload")] HRESULT AbortDownload();
00043         
00045         [propget, id(27), helpstring("property CurrentOperator")] HRESULT CurrentOperator([out, retval] BSTR *pVal);
00046 
00047                 
00048         [id(45), helpstring("method SaveRestoreMarkup")] HRESULT SaveRestoreMarkup(int layernum);
00049 
00051         [propget, id(30), helpstring("property CameraParameters")] HRESULT CameraParameters([out, retval] BSTR *pVal);
00052         
00054         [propget, id(31), helpstring("property Embed")] HRESULT Embed([out, retval] BOOL *pVal);
00056         [propput, id(31), helpstring("property Embed")] HRESULT Embed([in] BOOL newVal);
00057         
00059         [propget, id(33), helpstring("property FileType")] HRESULT FileType([out, retval] BSTR *pVal);
00061         [propput, id(33), helpstring("property FileType")] HRESULT FileType([in] BSTR newVal);
00062         
00064         [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);
00065         
00066 
00067         
00069         [id(28), helpstring("method FitWorld")] HRESULT FitWorld(); 
00071         [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);
00073         [id(38), helpstring("method SetCameraToPlaneXY")] HRESULT SetCameraToPlaneXY();
00075         [id(39), helpstring("method SetCameraToPlaneXZ")] HRESULT SetCameraToPlaneXZ();
00077         [id(40), helpstring("method SetCameraToPlaneYZ")] HRESULT SetCameraToPlaneYZ();
00079         [id(41), helpstring("method SetCameraToPlaneZX")] HRESULT SetCameraToPlaneZX();
00081         [id(42), helpstring("method SetCameraToPlaneZY")] HRESULT SetCameraToPlaneZY();
00083         [id(43), helpstring("method SetCameraToPlaneYX")] HRESULT SetCameraToPlaneYX();
00085         [id(44), helpstring("method SetCameraToIsometric")] HRESULT SetCameraToIsometric();
00087         [id(46), helpstring("method SetProjectionModePerspective")] HRESULT SetProjectionModePerspective();
00089         [id(47), helpstring("method SetProjectionModeOrthographic")] HRESULT SetProjectionModeOrthographic();
00091         [propget, id(113), helpstring("property ProjectionMode")] HRESULT ProjectionMode([out, retval] BSTR *pVal);
00093         [propput, id(113), helpstring("property ProjectionMode")] HRESULT ProjectionMode([in] BSTR newVal);
00095         [id(35), helpstring("method SetOperator")] HRESULT SetOperator(BSTR operator_name);
00097         [id(36), helpstring("method SetRenderMode")] HRESULT SetRenderMode(BSTR mode);
00098         
00100         [id(37), helpstring("method InsertCuttingPlane")] HRESULT InsertCuttingPlane();
00101         /* Toggles visibility of a named cutting plane */
00102         [id(111), helpstring("method ShowCuttingPlane")] HRESULT ShowCuttingPlane(BSTR name, int onoff);
00103         /* Get the status of whether a named cutting plane exists*/
00104         [propget, id(115), helpstring("property CuttingPlaneStatus")] HRESULT CuttingPlaneStatus(BSTR name, [out, retval] BOOL *pVal);
00105         
00106 
00108         [id(70), helpstring("method FlushScene")] HRESULT FlushScene();
00109 
00110 
00112         [id(48), helpstring("method SetShadowMode")] HRESULT SetShadowMode(BOOL onoff);
00114         [id(49), helpstring("method AntialiasScene")] HRESULT AntialiasScene();
00116         [id(50), helpstring("method SetPolygonHandednessLeft")] HRESULT SetPolygonHandednessLeft();
00118         [id(51), helpstring("method SetPolygonHandednessRight")] HRESULT SetPolygonHandednessRight();
00120         [id(52), helpstring("method SetPolygonHandednessNone")] HRESULT SetPolygonHandednessNone();
00122         [id(53), helpstring("method SetBackplaneCullingMode")] HRESULT SetBackplaneCullingMode(BOOL onoff);
00124         [id(54), helpstring("method SetFramerateMode")] HRESULT SetFramerateMode(BOOL onoff);
00125         
00127         [id(56), helpstring("method OpenSceneSegment")] HRESULT OpenSceneSegment();
00129         [id(57), helpstring("method OpenModelSegment")] HRESULT OpenModelSegment();
00130 
00132         [id(60), helpstring("method Update")] HRESULT Update();
00133         
00135         [propget, id(62), helpstring("property NoOrbit")] HRESULT NoOrbit([out, retval] BOOL *pVal);
00137         [propput, id(62), helpstring("property NoOrbit")] HRESULT NoOrbit([in] BOOL newVal);
00139         [propget, id(63), helpstring("property ControlActive")] HRESULT ControlActive([out, retval] BOOL *pVal);
00140 
00142         [propget, id(68), helpstring("property Antialiasing")] HRESULT Antialiasing([out, retval] BOOL *pVal);
00144         [propput, id(68), helpstring("property Antialiasing")] HRESULT Antialiasing([in] BOOL newVal); 
00146         [propget, id(69), helpstring("property AllowMenu")] HRESULT AllowMenu([out, retval] BOOL *pVal);
00148         [propput, id(69), helpstring("property AllowMenu")] HRESULT AllowMenu([in] BOOL newVal);
00149         
00150 
00151 
00153         [propput, id(73), helpstring("property HardwareAntialiasing")] HRESULT HardwareAntialiasing([in] BOOL newVal); 
00155         [propget, id(73), helpstring("property HardwareAntialiasing")] HRESULT HardwareAntialiasing([out, retval] BOOL *pVal);
00157         [propput, id(74), helpstring("property AxisMode")] HRESULT AxisMode([in] BOOL newVal); 
00159         [propget, id(74), helpstring("property AxisMode")] HRESULT AxisMode([out, retval] BOOL *pVal);
00160 
00162         [id(64), helpstring("method BhvPlay")] HRESULT BhvPlay();
00164         [id(65), helpstring("method BhvPause")] HRESULT BhvPause();
00166         [id(66), helpstring("method BhvRewind")] HRESULT BhvRewind();
00168         [propget, id(67), helpstring("property IsPlaying")] HRESULT IsPlaying([out, retval] BOOL *pVal);
00170         [id(75), helpstring("method BhvActivateAllAnimations")] HRESULT BhvActivateAllAnimations();
00172         [id(76), helpstring("method BhvDeactivateAllAnimations")] HRESULT BhvDeactivateAllAnimations();
00174         [id(77), helpstring("method BhvActivateAnimation")] HRESULT BhvActivateAnimation(BSTR animationname, BOOL allowPartial);
00176         [id(78), helpstring("method BhvDeactivateAnimation")] HRESULT BhvDeactivateAnimation(BSTR animationname, BOOL allowPartial);
00178         [id(79), helpstring("method BhvStartAnimation")] HRESULT BhvStartAnimation(BSTR animationname);
00180         [id(80), helpstring("method BhvStopAnimation")] HRESULT BhvStopAnimation(BSTR animationname);
00182         [id(82), helpstring("method BhvSetInfinitePlay")] HRESULT BhvSetInfinitePlay(BOOL onoff);
00184         [id(83), helpstring("method BhvRewindAnimation")] HRESULT BhvRewindAnimation(BSTR animationname);
00186         [propput, id(112), helpstring("property BhvContinuousPlay")] HRESULT BhvContinuousPlay([in] BOOL newVal); 
00188         [propget, id(112), helpstring("property BhvContinuousPlay")] HRESULT BhvContinuousPlay([out, retval] BOOL *pVal);
00189         
00191         [id(81), helpstring("method ShowFileOpenDialog")] HRESULT ShowFileOpenDialog();
00193         [id(104), helpstring("method ShowFileSaveDialog")] HRESULT ShowFileSaveDialog();
00195         [id(105), helpstring("method CopyToClipboard")] HRESULT CopyToClipboard();
00197         [id(106), helpstring("method ShowPrintDialog")] HRESULT ShowPrintDialog();
00199         [id(107), helpstring("method ShowPageSetupDialog")] HRESULT ShowPageSetupDialog();
00200         /* Sets an iso view camera */
00201         [id(108), helpstring("method GenerateNavigationInfo")] HRESULT GenerateNavigationInfo([in] int level, [out, retval] BSTR *filepath);
00202         /* Sets an iso view camera */
00203         [id(109), helpstring("method Select")] HRESULT Select(BSTR key);
00206         [propput, id(110), helpstring("property AllowEntitySelection")] HRESULT AllowEntitySelection([in] BOOL newVal); 
00208         [propget, id(110), helpstring("property AllowEntitySelection")] HRESULT AllowEntitySelection([out, retval] BOOL *pVal);
00209 
00210         /* Sets an iso view camera */
00211         [id(116), helpstring("method SelectFromIdentifier")] HRESULT SelectFromIdentifier(int identifier);
00212         /* Sets an iso view camera */
00213         [id(117), helpstring("method KeyToIndex")] HRESULT KeyToIndex([in] BSTR key, [out, retval] int* pIndex);
00214         /* Sets an iso view camera */
00215         [propget, id(118), helpstring("property ModelStructureTypeList")] HRESULT ModelStructureTypeList([out, retval] BSTR *pVal);
00216         /* Sets an iso view camera */
00217         [propput, id(119), helpstring("property ModelStructureFilter")] HRESULT ModelStructureFilter([in] BSTR newVal);
00218         /* Sets an iso view camera */
00219         [id(120), helpstring("method GenerateNavigationInfoFromNodePath")] HRESULT GenerateNavigationInfoFromNodePath([in] BSTR nodepath, [out, retval] BSTR *filepath);
00220         /* Sets an iso view camera */
00221         [id(121), helpstring("method GetPathFromIndex")] HRESULT GetPathFromIndex([in] int index, [out, retval] BSTR *pPath);
00222         /* Sets an iso view camera */
00223         [id(122), helpstring("method SelectFromPath")] HRESULT SelectFromPath(BSTR path);
00225         [propget, id(123), helpstring("property SmoothTransitionMode")] HRESULT SmoothTransitionMode([out, retval] BOOL *pVal);
00227         [propput, id(123), helpstring("property SmoothTransitionMode")] HRESULT SmoothTransitionMode([in] BOOL newVal);
00229         [id(124), helpstring("method SetSelectionFaceColor")] HRESULT SetSelectionFaceColor(float r, float g, float b, float a);
00231         [id(125), helpstring("method SetSelectionEdgeColor")] HRESULT SetSelectionEdgeColor(float r, float g, float b, float a);
00233         [id(126), helpstring("method SetSelectionMarkerColor")] HRESULT SetSelectionMarkerColor(float r, float g, float b, float a);
00235         [propget, id(127), helpstring("property SoftwareRendering")] HRESULT SoftwareRendering([out, retval] BOOL *pVal);
00237         [propput, id(127), helpstring("property SoftwareRendering")] HRESULT SoftwareRendering([in] BOOL newVal);
00239         [id(128), helpstring("method AddFileType")] HRESULT AddFileType(BSTR filetype);
00240         
00241         [propput, id(129), helpstring("property ConfigFile")] HRESULT ConfigFile([in] BSTR newVal);
00242         [propget, id(129), helpstring("property ConfigFile")] HRESULT ConfigFile([out, retval] BSTR *pVal);
00243         
00244         [id(130), helpstring("method ConfigureFromFile")] HRESULT ConfigureFromFile();
00245         [id(131), helpstring("method ShowOptionsDialog")] HRESULT ShowOptionsDialog();
00246         
00247         [propget, id(133), helpstring("property HasModelStructureInfo")] HRESULT HasModelStructureInfo([out, retval] BOOL *pVal);
00248         
00249         [id(134), helpstring("method SetAmbientColor")] HRESULT SetAmbientColor(float r, float g, float b);
00250         
00251         [propget, id(135), helpstring("property DataNavigatorMode")] HRESULT DataNavigatorMode([out, retval] BOOL *pVal);
00252         [propput, id(135), helpstring("property DataNavigatorMode")] HRESULT DataNavigatorMode([in] BOOL newVal);
00253         [propget, id(136), helpstring("property UndoAvailable")] HRESULT UndoAvailable([out, retval] BOOL *pVal);
00254         [propget, id(137), helpstring("property RedoAvailable")] HRESULT RedoAvailable([out, retval] BOOL *pVal);
00255 
00256         /*returns the last key that was set*/
00257         [propget, id(138), helpstring("property Key")] HRESULT Key([out, retval] LONG *pVal);
00258         [propget, id(139), helpstring("property String1")] HRESULT String1([out, retval] BSTR *pVal);
00259         [propget, id(140), helpstring("property String2")] HRESULT String2([out, retval] BSTR *pVal);
00260         [propget, id(141), helpstring("property String3")] HRESULT String3([out, retval] BSTR *pVal);
00261         [propget, id(142), helpstring("property Int1")] HRESULT Int1([out, retval] int *pVal);
00262 
00263 
00264         [id(114), helpstring("method Run")] HRESULT Run(BSTR command);
00265         
00266         [id(143), helpstring("method SetViewAxis")] HRESULT SetViewAxis(float fx, float fy, float fz, float tx, float ty, float tz);
00267 
00271         [propput, id(144), helpstring("property FramerateType")] HRESULT FramerateType([in] BSTR newVal);
00275         [propget, id(144), helpstring("property FramerateType")] HRESULT FramerateType([out, retval] BSTR *pVal);
00277         [propput, id(145), helpstring("property DriverType")] HRESULT DriverType([in] BSTR newVal);
00278         [propget, id(145), helpstring("property DriverType")] HRESULT DriverType([out, retval] BSTR *pVal);
00279         [propput, id(146), helpstring("property DefaultConfigFile")] HRESULT DefaultConfigFile([in] BSTR newVal);
00280         [propget, id(146), helpstring("property DefaultConfigFile")] HRESULT DefaultConfigFile([out, retval] BSTR *pVal);
00282         [propput, id(132), helpstring("property SegmentDL")] HRESULT SegmentDL([in] BOOL newVal);
00283         [propget, id(132), helpstring("property SegmentDL")] HRESULT SegmentDL([out, retval] BOOL *pVal);
00284 
00286         [propput, id(147), helpstring("property StaticModel")] HRESULT StaticModel([in] BOOL newVal);
00287         [propget, id(147), helpstring("property StaticModel")] HRESULT StaticModel([out, retval] BOOL *pVal);
00289         [propput, id(148), helpstring("property AntialiasingLevel")] HRESULT AntialiasingLevel([in] int newVal);
00290         [propget, id(148), helpstring("property AntialiasingLevel")] HRESULT AntialiasingLevel([out, retval] int *pVal);
00292         [propput, id(149), helpstring("property CullingThreshold")] HRESULT CullingThreshold([in] int newVal);
00293         [propget, id(149), helpstring("property CullingThreshold")] HRESULT CullingThreshold([out, retval] int *pVal);
00296         [propput, id(150), helpstring("property FrameRate")] HRESULT FrameRate([in] float newVal);
00297         [propget, id(150), helpstring("property FrameRate")] HRESULT FrameRate([out, retval] float *pVal);
00300         [propput, id(151), helpstring("property MaximumThreshold")] HRESULT MaximumThreshold([in] int newVal);
00301         [propget, id(151), helpstring("property MaximumThreshold")] HRESULT MaximumThreshold([out, retval] int *pVal);
00302         [propput, id(152), helpstring("property TransparencyOptions")] HRESULT TransparencyOptions([in] BSTR newVal);
00303         [propget, id(152), helpstring("property TransparencyOptions")] HRESULT TransparencyOptions([out, retval] BSTR *pVal);
00304 
00305 
00306         /*Insert functions*/
00308         [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]long *retkey);
00310         [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]long *retkey);
00312         [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]long *retkey);
00314         [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]long *retkey);
00316         [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]long *retkey);
00318         [id(205), helpstring("method HATL_Insert_Cutting_Plane")] HRESULT HATL_Insert_Cutting_Plane(float a, float b, float c, float d, [out, retval]long *retkey);
00320         [id(206), helpstring("method HATL_Insert_Cutting_Section")] HRESULT HATL_Insert_Cutting_Section(int count, VARIANT *planes_var, [out, retval]long *retkey);
00322         [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]long *retkey);
00324         [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]long *retkey);
00326         [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]long *retkey);
00328         [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]long *retkey);
00330         [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]long *retkey);
00332         [id(212), helpstring("method HATL_Insert_Ink")] HRESULT HATL_Insert_Ink(float x, float y, float z, [out, retval]long *retkey);
00334         [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]long *retkey);
00336         [id(214), helpstring("method HATL_Insert_Distant_Light")] HRESULT HATL_Insert_Distant_Light(float di, float dj, float dk, [out, retval]long *retkey);
00338         [id(215), helpstring("method HATL_Insert_Local_Light")] HRESULT HATL_Insert_Local_Light(float x, float y, float z, [out, retval]long *retkey);
00340         [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]long *retkey);
00342         [id(217), helpstring("method HATL_Insert_Marker")] HRESULT HATL_Insert_Marker(float x, float y, float z, [out, retval]long *retkey);
00344         [id(218), helpstring("method HATL_Insert_Mesh")] HRESULT HATL_Insert_Mesh(int rows, int columns, VARIANT *points, [out, retval]long *retkey);
00346         [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]long *retkey);
00348         [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, long *retkey);
00350         [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]long *retkey);
00352         [id(222), helpstring("method HATL_Insert_Polygon")] HRESULT HATL_Insert_Polygon(int count, VARIANT *points_var, [out, retval]long *retkey);
00354         [id(223), helpstring("method HATL_Insert_Polyline")] HRESULT HATL_Insert_Polyline(int count, VARIANT *points_var, [out, retval]long *retkey);
00356         [id(224), helpstring("method HATL_Insert_Shell")] HRESULT HATL_Insert_Shell(int npoints, VARIANT *test, int flen, VARIANT *test2, [out, retval]long *retkey);
00358         [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]long *retkey);
00360         [id(226), helpstring("method HATL_Insert_Shell_From_Region")] HRESULT HATL_Insert_Shell_From_Region(long key1, int region, BSTR options, [out, retval]long *retkey);
00362         [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]long *retkey);
00364         [id(228), helpstring("method HATL_Insert_Text")] HRESULT HATL_Insert_Text(float x, float y, float z, BSTR text, [out, retval]long *retkey);
00366         [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]long *retkey);
00368         [id(230), helpstring("method HATL_Insert_Unicode_Text")] HRESULT HATL_Insert_Unicode_Text(float x, float y, float z, VARIANT *text, [out, retval]long *retkey);
00370         [id(300), helpstring("method HATL_Open_Segment")] HRESULT HATL_Open_Segment(BSTR segment, [out, retval]long *retkey);
00372         [id(301), helpstring("method HATL_Close_Segment")] HRESULT HATL_Close_Segment();
00374         [id(302), helpstring("method HATL_Open_Geometry")] HRESULT HATL_Open_Geometry(long key);
00376         [id(303), helpstring("method HATL_Close_Geometry")] HRESULT HATL_Close_Geometry();
00378         [id(304), helpstring("method HATL_Open_Edge")] HRESULT HATL_Open_Edge(int offset1, int offset2);
00380         [id(305), helpstring("method HATL_Close_Edge")] HRESULT HATL_Close_Edge();
00382         [id(306), helpstring("method HATL_Open_Face")] HRESULT HATL_Open_Face(int offset);
00384         [id(307), helpstring("method HATL_Close_Face")] HRESULT HATL_Close_Face();
00386         [id(308), helpstring("method HATL_Include_Segment")] HRESULT HATL_Include_Segment(BSTR segment, [out, retval]long *retkey);
00388         [id(309), helpstring("method HATL_Delete_By_Key")] HRESULT HATL_Delete_By_Key(long key);
00390         [id(310), helpstring("method HATL_Flush_Contents")] HRESULT HATL_Flush_Contents(BSTR segment, BSTR filter);
00392         [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);
00394         [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);
00396         [id(402), helpstring("method HATL_Set_Camera_Field")] HRESULT HATL_Set_Camera_Field(float width, float height);
00398         [id(403), helpstring("method HATL_Set_Camera_Near_Limit")] HRESULT HATL_Set_Camera_Near_Limit(float wlimit);
00400         [id(404), helpstring("method HATL_Set_Camera_Position")] HRESULT HATL_Set_Camera_Position(float p_x, float p_y, float p_z);
00402         [id(405), helpstring("method HATL_Set_Camera_Projection")] HRESULT HATL_Set_Camera_Projection(BSTR projection);
00404         [id(406), helpstring("method HATL_Set_Camera_Target")] HRESULT HATL_Set_Camera_Target(float t_x, float t_y, float t_z);
00406         [id(407), helpstring("method HATL_Set_Camera_Up_Vector")] HRESULT HATL_Set_Camera_Up_Vector(float u_x, float u_y, float u_z);
00408         [id(408), helpstring("method HATL_Set_Circular_Center")] HRESULT HATL_Set_Circular_Center(float x, float y, float z);
00410         [id(409), helpstring("method HATL_Set_Circular_Center_By_Key")] HRESULT HATL_Set_Circular_Center_By_Key(long key, float x, float y, float z);
00412         [id(410), helpstring("method HATL_Set_Color")] HRESULT HATL_Set_Color(BSTR col);
00414         [id(411), helpstring("method HATL_Set_Color_By_FIndex")] HRESULT HATL_Set_Color_By_FIndex(BSTR types, float findex);
00416         [id(412), helpstring("method HATL_Set_Color_By_Index")] HRESULT HATL_Set_Color_By_Index(BSTR types, int index);
00418         [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);
00420         [id(414), helpstring("method HATL_Set_Color_Map")] HRESULT HATL_Set_Color_Map(BSTR col);
00422         [id(415), helpstring("method HATL_Set_Color_Map_By_Value")] HRESULT HATL_Set_Color_Map_By_Value(BSTR col, int count, VARIANT *values_var);
00424         [id(416), helpstring("method HATL_Set_Conditions")] HRESULT HATL_Set_Conditions(BSTR conditions);
00426         [id(417), helpstring("method HATL_Set_Driver_Options")] HRESULT HATL_Set_Driver_Options(BSTR driver_options);
00428         [id(418), helpstring("method HATL_Set_Edge_Pattern")] HRESULT HATL_Set_Edge_Pattern(BSTR pattern);
00430         [id(419), helpstring("method HATL_Set_Edge_Weight")] HRESULT HATL_Set_Edge_Weight(float weight);
00432         [id(420), helpstring("method HATL_Set_Face_Pattern")] HRESULT HATL_Set_Face_Pattern(BSTR pattern);
00434         [id(421), helpstring("method HATL_Set_Faces")] HRESULT HATL_Set_Faces(int first_face, int face_count);
00436         [id(422), helpstring("method HATL_Set_Handedness")] HRESULT HATL_Set_Handedness(BSTR handedness);
00438         [id(423), helpstring("method HATL_Set_Heuristics")] HRESULT HATL_Set_Heuristics(BSTR heuristics);
00440         [id(424), helpstring("method HATL_Set_Line_Pattern")] HRESULT HATL_Set_Line_Pattern(BSTR pattern);
00442         [id(425), helpstring("method HATL_Set_Line_Weight")] HRESULT HATL_Set_Line_Weight(float weight);
00444         [id(426), helpstring("method HATL_Set_Marker_Size")] HRESULT HATL_Set_Marker_Size(float weight);
00446         [id(427), helpstring("method HATL_Set_Marker_Symbol")] HRESULT HATL_Set_Marker_Symbol(BSTR symbol);
00448         [id(428), helpstring("method HATL_Set_Modelling_Matrix")] HRESULT HATL_Set_Modelling_Matrix(VARIANT *matrix_var);
00450         [id(429), helpstring("method HATL_Set_Normal")] HRESULT HATL_Set_Normal(float x, float y, float z);
00452         [id(430), helpstring("method HATL_Set_Parameter")] HRESULT HATL_Set_Parameter(int number, VARIANT *parameters_var);
00454         [id(431), helpstring("method HATL_Set_Polygonal_Clip_Region")] HRESULT HATL_Set_Polygonal_Clip_Region(int count, VARIANT *points_var, BSTR options);
00456         [id(432), helpstring("method HATL_Set_Priority")] HRESULT HATL_Set_Priority(long key, long priority);
00458         [id(433), helpstring("method HATL_Set_Region")] HRESULT HATL_Set_Region(int region);
00460         [id(434), helpstring("method HATL_Set_Rendering_Options")] HRESULT HATL_Set_Rendering_Options(BSTR rendering_options);
00462         [id(435), helpstring("method HATL_Set_Selectability")] HRESULT HATL_Set_Selectability(BSTR list);
00464         [id(436), helpstring("method HATL_Set_Streaming_Mode")] HRESULT HATL_Set_Streaming_Mode (BSTR flag);
00466         [id(437), helpstring("method HATL_Set_Text_Alignment")] HRESULT HATL_Set_Text_Alignment(BSTR locater);
00468         [id(438), helpstring("method HATL_Set_Text_Font")] HRESULT HATL_Set_Text_Font(BSTR text_font);
00470         [id(439), helpstring("method HATL_Set_Text_Path")] HRESULT HATL_Set_Text_Path(float x, float y, float z);
00472         [id(440), helpstring("method HATL_Set_Text_Region")] HRESULT HATL_Set_Text_Region(int pCount, VARIANT *points_var, BSTR options);
00474         [id(441), helpstring("method HATL_Set_Text_Spacing")] HRESULT HATL_Set_Text_Spacing(float spacing);
00476         [id(442), helpstring("method HATL_Set_Texture_Matrix")] HRESULT HATL_Set_Texture_Matrix(VARIANT *matrix_var);
00478         [id(443), helpstring("method HATL_Set_Trim_Operation")] HRESULT HATL_Set_Trim_Operation(int index, BSTR operation);
00480         [id(444), helpstring("method HATL_Set_Unicode_Options")] HRESULT HATL_Set_Unicode_Options(VARIANT *options_var);
00482         [id(445), helpstring("method HATL_Set_User_Index")] HRESULT HATL_Set_User_Index(int index, VARIANT *data_var);
00484         [id(446), helpstring("method HATL_Set_User_Options")] HRESULT HATL_Set_User_Options(BSTR list);
00486         [id(447), helpstring("method HATL_Set_Variable_Edge_Weight")] HRESULT HATL_Set_Variable_Edge_Weight(BSTR weight);
00488         [id(448), helpstring("method HATL_Set_Variable_Line_Weight")] HRESULT HATL_Set_Variable_Line_Weight(BSTR weight);
00490         [id(449), helpstring("method HATL_Set_Variable_Marker_Size")] HRESULT HATL_Set_Variable_Marker_Size(BSTR weight);
00492         [id(450), helpstring("method HATL_Set_Visibility")] HRESULT HATL_Set_Visibility(BSTR vis);
00494         [id(451), helpstring("method HATL_Set_Window")] HRESULT HATL_Set_Window(float left, float right, float bottom, float top);
00496         [id(452), helpstring("method HATL_Set_Window_Frame")] HRESULT HATL_Set_Window_Frame(BSTR flag);
00498         [id(453), helpstring("method HATL_Set_Window_Pattern")] HRESULT HATL_Set_Window_Pattern(BSTR pattern);
00500         [id(500), helpstring("method HATL_UnSet_Camera")] HRESULT HATL_UnSet_Camera();
00502         [id(501), helpstring("method HATL_UnSet_Color")] HRESULT HATL_UnSet_Color();
00504         [id(502), helpstring("method HATL_UnSet_Color_Map")] HRESULT HATL_UnSet_Color_Map();
00506         [id(503), helpstring("method HATL_UnSet_Driver_Options")] HRESULT HATL_UnSet_Driver_Options();
00508         [id(504), helpstring("method HATL_UnSet_Edge_Pattern")] HRESULT HATL_UnSet_Edge_Pattern();
00510         [id(505), helpstring("method HATL_UnSet_Edge_Weight")] HRESULT HATL_UnSet_Edge_Weight();
00512         [id(506), helpstring("method HATL_UnSet_Face_Pattern")] HRESULT HATL_UnSet_Face_Pattern();
00514         [id(507), helpstring("method HATL_UnSet_Handedness")] HRESULT HATL_UnSet_Handedness();
00516         [id(508), helpstring("method HATL_UnSet_Heuristics")] HRESULT HATL_UnSet_Heuristics();
00518         [id(509), helpstring("method HATL_UnSet_Line_Pattern")] HRESULT HATL_UnSet_Line_Pattern();
00520         [id(510), helpstring("method HATL_UnSet_Line_Weight")] HRESULT HATL_UnSet_Line_Weight();
00522         [id(511), helpstring("method HATL_UnSet_Marker_Size")] HRESULT HATL_UnSet_Marker_Size();
00524         [id(512), helpstring("method HATL_UnSet_Marker_Symbol")] HRESULT HATL_UnSet_Marker_Symbol();
00526         [id(513), helpstring("method HATL_UnSet_Modelling_Matrix")] HRESULT HATL_UnSet_Modelling_Matrix();
00528         [id(514), helpstring("method HATL_UnSet_Normal")] HRESULT HATL_UnSet_Normal();
00530         [id(515), helpstring("method HATL_UnSet_One_Color")] HRESULT HATL_UnSet_One_Color(BSTR which);
00532         [id(516), helpstring("method HATL_UnSet_One_Driver_Option")] HRESULT HATL_UnSet_One_Driver_Option(BSTR which);
00534         [id(517), helpstring("method HATL_UnSet_One_Heuristic")] HRESULT HATL_UnSet_One_Heuristic(BSTR which);
00536         [id(518), helpstring("method HATL_UnSet_One_Rendering_Option")] HRESULT HATL_UnSet_One_Rendering_Option(BSTR which);
00538         [id(519), helpstring("method HATL_UnSet_One_Selectability")] HRESULT HATL_UnSet_One_Selectability(BSTR which);
00540         [id(520), helpstring("method HATL_UnSet_One_Text_Font")] HRESULT HATL_UnSet_One_Text_Font(BSTR which);
00542         [id(521), helpstring("method HATL_UnSet_One_User_Index")] HRESULT HATL_UnSet_One_User_Index(long which);
00544         [id(522), helpstring("method HATL_UnSet_One_User_Option")] HRESULT HATL_UnSet_One_User_Option(BSTR which);
00546         [id(523), helpstring("method HATL_UnSet_One_Visibility")] HRESULT HATL_UnSet_One_Visibility(BSTR which);
00548         [id(524), helpstring("method HATL_UnSet_Parameter")] HRESULT HATL_UnSet_Parameter();
00550         [id(525), helpstring("method HATL_UnSet_Rendering_Options")] HRESULT HATL_UnSet_Rendering_Options();
00552         [id(526), helpstring("method HATL_UnSet_Selectability")] HRESULT HATL_UnSet_Selectability();
00554         [id(527), helpstring("method HATL_UnSet_Streaming_Mode")] HRESULT HATL_UnSet_Streaming_Mode();
00556         [id(528), helpstring("method HATL_UnSet_Text_Alignment")] HRESULT HATL_UnSet_Text_Alignment();
00558         [id(529), helpstring("method HATL_UnSet_Text_Font")] HRESULT HATL_UnSet_Text_Font();
00560         [id(530), helpstring("method HATL_UnSet_Text_Path")] HRESULT HATL_UnSet_Text_Path();
00562         [id(531), helpstring("method HATL_UnSet_Text_Spacing")] HRESULT HATL_UnSet_Text_Spacing();
00564         [id(532), helpstring("method HATL_UnSet_Texture_Matrix")] HRESULT HATL_UnSet_Texture_Matrix();
00566         [id(533), helpstring("method HATL_UnSet_User_Options")] HRESULT HATL_UnSet_User_Options();
00568         [id(534), helpstring("method HATL_UnSet_Visibility")] HRESULT HATL_UnSet_Visibility();
00570         [id(535), helpstring("method HATL_UnSet_Window")] HRESULT HATL_UnSet_Window();
00572         [id(536), helpstring("method HATL_UnSet_Window_Frame")] HRESULT HATL_UnSet_Window_Frame();
00574         [id(537), helpstring("method HATL_UnSet_Window_Pattern")] HRESULT HATL_UnSet_Window_Pattern();
00575              
00576 
00577         /*Define functions*/
00579         [id(600), helpstring("method HATL_Define_Alias")] HRESULT HATL_Define_Alias(BSTR name, BSTR expansion);
00581         [id(601), helpstring("method HATL_Define_Color_Name")] HRESULT HATL_Define_Color_Name(BSTR name, BSTR er_name, BSTR ish_name, BSTR definition);
00583         [id(602), helpstring("method HATL_Define_Font")] HRESULT HATL_Define_Font(BSTR name, BSTR options, int data_length, VARIANT *data_var);
00585         [id(603), helpstring("method HATL_Define_Glyph")] HRESULT HATL_Define_Glyph(BSTR name, int data_size, BSTR data);
00587         [id(604), helpstring("method HATL_Define_Line_Style")] HRESULT HATL_Define_Line_Style(BSTR name, BSTR definition);
00589         [id(605), helpstring("method HATL_Define_Local_Texture")] HRESULT HATL_Define_Local_Texture(BSTR name, BSTR definition);
00591         [id(606), helpstring("method HATL_Define_System_Options")] HRESULT HATL_Define_System_Options(BSTR list);
00593         [id(607), helpstring("method HATL_Define_Texture")] HRESULT HATL_Define_Texture(BSTR name, BSTR definition);
00594 
00595     
00596     };
00597  
00598 [
00599     uuid(CLSID_HOOPS3DSTREAMCTRL_TYPELIB),
00600     version(1.0),
00601     helpstring("Hoops3dStream 3.0 Type Library")
00602 ]
00603 library Hoops3dStreamLib
00604 {
00605     importlib("stdole32.tlb");
00606     importlib("stdole2.tlb");
00607 
00608     [
00609         uuid(CLSID_HOOPS3DSTREAMCTRL_EVENTS),
00610         helpstring("__IHoops3dStreamCtrlEvents Interface")
00611     ]
00612     dispinterface _IHoops3dStreamCtrlEvents
00613     {
00614         properties:
00615         methods:
00616         [id(1), helpstring("method OnBeginLoad")] HRESULT OnBeginLoad();
00617         [id(2), helpstring("method OnEndLoad")] HRESULT OnEndLoad();
00618         [id(3), helpstring("method OnSelect")] HRESULT OnSelect(BSTR sel_key);
00619         [id(4), helpstring("method OnUpdateWidget")] HRESULT OnUpdateWidget(BSTR name, BSTR state, BSTR data);
00620         [id(5), helpstring("method OnModelStructureParsed")] HRESULT OnModelStructureParsed();
00621     };
00622 
00623     [
00624         uuid(CLSID_HOOPS3DSTREAMCTRL_CLASS),
00625         helpstring("HOOPS 3D Stream Control Class")
00626     ]
00627     coclass Hoops3dStreamCtrl
00628     {
00629         [default] interface IHoops3dStreamCtrl;
00630         [default, source] dispinterface _IHoops3dStreamCtrlEvents;
00631     };
00632 
00633     [
00634         uuid(CLSID_HOOPS3DSTREAMPROPERTY_EVENTS),
00635         helpstring("_IHoops3dStreamPropertyEvents Interface")
00636     ]
00637     dispinterface _IHoops3dStreamPropertyEvents
00638     {
00639         properties:
00640         methods:
00641     };
00642 
00643     [
00644         uuid(CLSID_HOOPS3DSTREAMPROPERTY_CLASS),
00645         helpstring("Hoops3dStreamProperty Class")
00646     ]
00647     coclass Hoops3dStreamProperty
00648     {
00649         interface IUnknown;
00650         [default, source] dispinterface _IHoops3dStreamPropertyEvents;
00651     };
00652 };