12 #ifndef HC_POINTER_SIZED_INT
13 #if defined(_M_IA64) || defined(_M_AMD64) || defined(WIN64) || defined(_WIN64) || defined(_M_X64)
14 # define HC_POINTER_SIZED_INT __int64
16 # define HC_POINTER_SIZED_INT long
22 # define HC_KEY HC_POINTER_SIZED_INT
27 uuid(CLSID_HOOPS3DSTREAMCTRL_MIDL),
29 helpstring(
"IHoops3dStreamCtrl Interface"),
30 pointer_default(unique)
38 [propput, id(DISPID_BACKCOLOR)]
39 HRESULT BackColor([in]OLE_COLOR clr);
40 [propget, id(DISPID_BACKCOLOR)]
41 HRESULT BackColor([out,retval]OLE_COLOR* pclr);
42 [propget, id(DISPID_HWND)]
43 HRESULT Window([out, retval]HC_POINTER_SIZED_INT* phwnd);
46 [propget, id(1), helpstring(
"property Filename")] HRESULT
Filename([out, retval] BSTR *pVal);
48 [propput, id(1), helpstring(
"property Filename")] HRESULT
Filename([in] BSTR newVal);
50 [propget, id(20), helpstring(
"property DLinProgress")] HRESULT DLinProgress([out, retval] BOOL *pVal);
51 [propget, id(21), helpstring(
"property DownloadDataReceived")] HRESULT DownloadDataReceived([out, retval]
long *pVal);
52 [propget, id(22), helpstring(
"property DownloadDataMax")] HRESULT DownloadDataMax([out, retval]
long *pVal);
54 [id(23), helpstring(
"method AbortDownload")] HRESULT AbortDownload();
57 [propget, id(27), helpstring(
"property CurrentOperator")] HRESULT
CurrentOperator([out, retval] BSTR *pVal);
60 [id(45), helpstring(
"method SaveRestoreMarkup")] HRESULT SaveRestoreMarkup(
int layernum);
63 [propget, id(30), helpstring(
"property CameraParameters")] HRESULT
CameraParameters([out, retval] BSTR *pVal);
66 [propget, id(31), helpstring(
"property Embed")] HRESULT
Embed([out, retval] BOOL *pVal);
68 [propput, id(31), helpstring(
"property Embed")] HRESULT
Embed([in] BOOL newVal);
71 [propget, id(33), helpstring(
"property FileType")] HRESULT
FileType([out, retval] BSTR *pVal);
73 [propput, id(33), helpstring(
"property FileType")] HRESULT
FileType([in] BSTR newVal);
76 [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);
81 [id(28), helpstring(
"method FitWorld")] HRESULT
FitWorld();
83 [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);
103 [propget, id(113), helpstring(
"property ProjectionMode")] HRESULT
ProjectionMode([out, retval] BSTR *pVal);
105 [propput, id(113), helpstring(
"property ProjectionMode")] HRESULT
ProjectionMode([in] BSTR newVal);
107 [id(35), helpstring(
"method SetOperator")] HRESULT
SetOperator(BSTR operator_name);
109 [id(36), helpstring(
"method SetRenderMode")] HRESULT
SetRenderMode(BSTR mode);
114 [id(111), helpstring(
"method ShowCuttingPlane")] HRESULT ShowCuttingPlane(BSTR name,
int onoff);
116 [propget, id(115), helpstring(
"property CuttingPlaneStatus")] HRESULT CuttingPlaneStatus(BSTR name, [out, retval] BOOL *pVal);
120 [id(70), helpstring(
"method FlushScene")] HRESULT
FlushScene();
124 [id(48), helpstring(
"method SetShadowMode")] HRESULT
SetShadowMode(BOOL onoff);
126 [id(49), helpstring(
"method AntialiasScene")] HRESULT
AntialiasScene();
136 [id(54), helpstring(
"method SetFramerateMode")] HRESULT
SetFramerateMode(BOOL onoff);
144 [id(60), helpstring(
"method Update")] HRESULT
Update();
147 [propget, id(62), helpstring(
"property NoOrbit")] HRESULT
NoOrbit([out, retval] BOOL *pVal);
149 [propput, id(62), helpstring(
"property NoOrbit")] HRESULT
NoOrbit([in] BOOL newVal);
151 [propget, id(63), helpstring(
"property ControlActive")] HRESULT
ControlActive([out, retval] BOOL *pVal);
154 [propget, id(68), helpstring(
"property Antialiasing")] HRESULT
Antialiasing([out, retval] BOOL *pVal);
156 [propput, id(68), helpstring(
"property Antialiasing")] HRESULT
Antialiasing([in] BOOL newVal);
158 [propget, id(69), helpstring(
"property AllowMenu")] HRESULT
AllowMenu([out, retval] BOOL *pVal);
160 [propput, id(69), helpstring(
"property AllowMenu")] HRESULT
AllowMenu([in] BOOL newVal);
165 [propput, id(73), helpstring(
"property HardwareAntialiasing")] HRESULT
HardwareAntialiasing([in] BOOL newVal);
167 [propget, id(73), helpstring(
"property HardwareAntialiasing")] HRESULT
HardwareAntialiasing([out, retval] BOOL *pVal);
169 [propput, id(74), helpstring(
"property AxisMode")] HRESULT
AxisMode([in] BOOL newVal);
171 [propget, id(74), helpstring(
"property AxisMode")] HRESULT
AxisMode([out, retval] BOOL *pVal);
174 [id(64), helpstring(
"method BhvPlay")] HRESULT
BhvPlay();
176 [id(65), helpstring(
"method BhvPause")] HRESULT
BhvPause();
178 [id(66), helpstring(
"method BhvRewind")] HRESULT
BhvRewind();
180 [propget, id(67), helpstring(
"property IsPlaying")] HRESULT
IsPlaying([out, retval] BOOL *pVal);
186 [id(77), helpstring(
"method BhvActivateAnimation")] HRESULT
BhvActivateAnimation(BSTR animationname, BOOL allowPartial);
188 [id(78), helpstring(
"method BhvDeactivateAnimation")] HRESULT
BhvDeactivateAnimation(BSTR animationname, BOOL allowPartial);
190 [id(79), helpstring(
"method BhvStartAnimation")] HRESULT
BhvStartAnimation(BSTR animationname);
192 [id(80), helpstring(
"method BhvStopAnimation")] HRESULT
BhvStopAnimation(BSTR animationname);
194 [id(82), helpstring(
"method BhvSetInfinitePlay")] HRESULT
BhvSetInfinitePlay(BOOL onoff);
196 [id(83), helpstring(
"method BhvRewindAnimation")] HRESULT
BhvRewindAnimation(BSTR animationname);
198 [propput, id(112), helpstring(
"property BhvContinuousPlay")] HRESULT
BhvContinuousPlay([in] BOOL newVal);
200 [propget, id(112), helpstring(
"property BhvContinuousPlay")] HRESULT
BhvContinuousPlay([out, retval] BOOL *pVal);
207 [id(105), helpstring(
"method CopyToClipboard")] HRESULT
CopyToClipboard();
209 [id(106), helpstring(
"method ShowPrintDialog")] HRESULT
ShowPrintDialog();
213 [id(108), helpstring(
"method GenerateNavigationInfo")] HRESULT GenerateNavigationInfo([in]
int level, [out, retval] BSTR *filepath);
215 [id(109), helpstring(
"method Select")] HRESULT Select(BSTR key);
218 [propput, id(110), helpstring(
"property AllowEntitySelection")] HRESULT
AllowEntitySelection([in] BOOL newVal);
220 [propget, id(110), helpstring(
"property AllowEntitySelection")] HRESULT
AllowEntitySelection([out, retval] BOOL *pVal);
223 [id(116), helpstring(
"method SelectFromIdentifier")] HRESULT SelectFromIdentifier(
int identifier);
225 [id(117), helpstring(
"method KeyToIndex")] HRESULT KeyToIndex([in] BSTR key, [out, retval]
int* pIndex);
227 [propget, id(118), helpstring(
"property ModelStructureTypeList")] HRESULT ModelStructureTypeList([out, retval] BSTR *pVal);
229 [propput, id(119), helpstring(
"property ModelStructureFilter")] HRESULT ModelStructureFilter([in] BSTR newVal);
231 [id(120), helpstring(
"method GenerateNavigationInfoFromNodePath")] HRESULT GenerateNavigationInfoFromNodePath([in] BSTR nodepath, [out, retval] BSTR *filepath);
233 [id(121), helpstring(
"method GetPathFromIndex")] HRESULT GetPathFromIndex([in]
int index, [out, retval] BSTR *pPath);
235 [id(122), helpstring(
"method SelectFromPath")] HRESULT SelectFromPath(BSTR path);
237 [propget, id(123), helpstring(
"property SmoothTransitionMode")] HRESULT
SmoothTransitionMode([out, retval] BOOL *pVal);
239 [propput, id(123), helpstring(
"property SmoothTransitionMode")] HRESULT
SmoothTransitionMode([in] BOOL newVal);
241 [id(124), helpstring(
"method SetSelectionFaceColor")] HRESULT
SetSelectionFaceColor(
float r,
float g,
float b,
float a);
243 [id(125), helpstring(
"method SetSelectionEdgeColor")] HRESULT
SetSelectionEdgeColor(
float r,
float g,
float b,
float a);
245 [id(126), helpstring(
"method SetSelectionMarkerColor")] HRESULT
SetSelectionMarkerColor(
float r,
float g,
float b,
float a);
247 [propget, id(127), helpstring(
"property SoftwareRendering")] HRESULT
SoftwareRendering([out, retval] BOOL *pVal);
249 [propput, id(127), helpstring(
"property SoftwareRendering")] HRESULT
SoftwareRendering([in] BOOL newVal);
251 [id(128), helpstring(
"method AddFileType")] HRESULT
AddFileType(BSTR filetype);
253 [propput, id(129), helpstring(
"property ConfigFile")] HRESULT ConfigFile([in] BSTR newVal);
254 [propget, id(129), helpstring(
"property ConfigFile")] HRESULT ConfigFile([out, retval] BSTR *pVal);
256 [id(130), helpstring(
"method ConfigureFromFile")] HRESULT ConfigureFromFile();
257 [id(131), helpstring(
"method ShowOptionsDialog")] HRESULT ShowOptionsDialog();
259 [propget, id(133), helpstring(
"property HasModelStructureInfo")] HRESULT HasModelStructureInfo([out, retval] BOOL *pVal);
261 [id(134), helpstring(
"method SetAmbientColor")] HRESULT SetAmbientColor(
float r,
float g,
float b);
263 [propget, id(135), helpstring(
"property DataNavigatorMode")] HRESULT DataNavigatorMode([out, retval] BOOL *pVal);
264 [propput, id(135), helpstring(
"property DataNavigatorMode")] HRESULT DataNavigatorMode([in] BOOL newVal);
265 [propget, id(136), helpstring(
"property UndoAvailable")] HRESULT UndoAvailable([out, retval] BOOL *pVal);
266 [propget, id(137), helpstring(
"property RedoAvailable")] HRESULT RedoAvailable([out, retval] BOOL *pVal);
269 [propget, id(138), helpstring(
"property Key")] HRESULT Key([out, retval] LONG *pVal);
270 [propget, id(139), helpstring(
"property String1")] HRESULT String1([out, retval] BSTR *pVal);
271 [propget, id(140), helpstring(
"property String2")] HRESULT String2([out, retval] BSTR *pVal);
272 [propget, id(141), helpstring(
"property String3")] HRESULT String3([out, retval] BSTR *pVal);
273 [propget, id(142), helpstring(
"property Int1")] HRESULT Int1([out, retval]
int *pVal);
276 [id(114), helpstring(
"method Run")] HRESULT Run(BSTR command);
278 [id(143), helpstring(
"method SetViewAxis")] HRESULT SetViewAxis(
float fx,
float fy,
float fz,
float tx,
float ty,
float tz);
283 [propput, id(144), helpstring(
"property FramerateType")] HRESULT
FramerateType([in] BSTR newVal);
287 [propget, id(144), helpstring(
"property FramerateType")] HRESULT
FramerateType([out, retval] BSTR *pVal);
289 [propput, id(145), helpstring(
"property DriverType")] HRESULT
DriverType([in] BSTR newVal);
290 [propget, id(145), helpstring(
"property DriverType")] HRESULT
DriverType([out, retval] BSTR *pVal);
291 [propput, id(146), helpstring(
"property DefaultConfigFile")] HRESULT DefaultConfigFile([in] BSTR newVal);
292 [propget, id(146), helpstring(
"property DefaultConfigFile")] HRESULT DefaultConfigFile([out, retval] BSTR *pVal);
294 [propput, id(132), helpstring(
"property SegmentDL")] HRESULT
SegmentDL([in] BOOL newVal);
295 [propget, id(132), helpstring(
"property SegmentDL")] HRESULT
SegmentDL([out, retval] BOOL *pVal);
298 [propput, id(147), helpstring(
"property StaticModel")] HRESULT
StaticModel([in] BOOL newVal);
299 [propget, id(147), helpstring(
"property StaticModel")] HRESULT
StaticModel([out, retval] BOOL *pVal);
301 [propput, id(148), helpstring(
"property AntialiasingLevel")] HRESULT
AntialiasingLevel([in]
int newVal);
302 [propget, id(148), helpstring(
"property AntialiasingLevel")] HRESULT
AntialiasingLevel([out, retval]
int *pVal);
304 [propput, id(149), helpstring(
"property CullingThreshold")] HRESULT
CullingThreshold([in]
int newVal);
305 [propget, id(149), helpstring(
"property CullingThreshold")] HRESULT
CullingThreshold([out, retval]
int *pVal);
308 [propput, id(150), helpstring(
"property FrameRate")] HRESULT
FrameRate([in]
float newVal);
309 [propget, id(150), helpstring(
"property FrameRate")] HRESULT
FrameRate([out, retval]
float *pVal);
312 [propput, id(151), helpstring(
"property MaximumThreshold")] HRESULT
MaximumThreshold([in]
int newVal);
313 [propget, id(151), helpstring(
"property MaximumThreshold")] HRESULT
MaximumThreshold([out, retval]
int *pVal);
314 [propput, id(152), helpstring(
"property TransparencyOptions")] HRESULT TransparencyOptions([in] BSTR newVal);
315 [propget, id(152), helpstring(
"property TransparencyOptions")] HRESULT TransparencyOptions([out, retval] BSTR *pVal);
320 [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);
322 [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);
324 [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);
326 [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);
328 [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);
330 [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);
332 [id(206), helpstring(
"method HATL_Insert_Cutting_Section")] HRESULT
HATL_Insert_Cutting_Section(
int count, VARIANT *planes_var, [out, retval]HC_KEY *retkey);
334 [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);
336 [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);
338 [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);
340 [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);
342 [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);
344 [id(212), helpstring(
"method HATL_Insert_Ink")] HRESULT
HATL_Insert_Ink(
float x,
float y,
float z, [out, retval]HC_KEY *retkey);
346 [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);
348 [id(214), helpstring(
"method HATL_Insert_Distant_Light")] HRESULT
HATL_Insert_Distant_Light(
float di,
float dj,
float dk, [out, retval]HC_KEY *retkey);
350 [id(215), helpstring(
"method HATL_Insert_Local_Light")] HRESULT
HATL_Insert_Local_Light(
float x,
float y,
float z, [out, retval]HC_KEY *retkey);
352 [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);
354 [id(217), helpstring(
"method HATL_Insert_Marker")] HRESULT
HATL_Insert_Marker(
float x,
float y,
float z, [out, retval]HC_KEY *retkey);
356 [id(218), helpstring(
"method HATL_Insert_Mesh")] HRESULT
HATL_Insert_Mesh(
int rows,
int columns, VARIANT *points, [out, retval]HC_KEY *retkey);
358 [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);
360 [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);
362 [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);
364 [id(222), helpstring(
"method HATL_Insert_Polygon")] HRESULT
HATL_Insert_Polygon(
int count, VARIANT *points_var, [out, retval]HC_KEY *retkey);
366 [id(223), helpstring(
"method HATL_Insert_Polyline")] HRESULT
HATL_Insert_Polyline(
int count, VARIANT *points_var, [out, retval]HC_KEY *retkey);
368 [id(224), helpstring(
"method HATL_Insert_Shell")] HRESULT
HATL_Insert_Shell(
int npoints, VARIANT *test,
int flen, VARIANT *test2, [out, retval]HC_KEY *retkey);
370 [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);
372 [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);
374 [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);
376 [id(228), helpstring(
"method HATL_Insert_Text")] HRESULT
HATL_Insert_Text(
float x,
float y,
float z, BSTR text, [out, retval]HC_KEY *retkey);
378 [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);
380 [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);
382 [id(300), helpstring(
"method HATL_Open_Segment")] HRESULT
HATL_Open_Segment(BSTR segment, [out, retval]HC_KEY *retkey);
386 [id(302), helpstring(
"method HATL_Open_Geometry")] HRESULT
HATL_Open_Geometry(HC_KEY key);
390 [id(304), helpstring(
"method HATL_Open_Edge")] HRESULT
HATL_Open_Edge(
int offset1,
int offset2);
392 [id(305), helpstring(
"method HATL_Close_Edge")] HRESULT
HATL_Close_Edge();
394 [id(306), helpstring(
"method HATL_Open_Face")] HRESULT
HATL_Open_Face(
int offset);
396 [id(307), helpstring(
"method HATL_Close_Face")] HRESULT
HATL_Close_Face();
398 [id(308), helpstring(
"method HATL_Include_Segment")] HRESULT
HATL_Include_Segment(BSTR segment, [out, retval]HC_KEY *retkey);
400 [id(309), helpstring(
"method HATL_Delete_By_Key")] HRESULT
HATL_Delete_By_Key(HC_KEY key);
402 [id(310), helpstring(
"method HATL_Flush_Contents")] HRESULT
HATL_Flush_Contents(BSTR segment, BSTR filter);
404 [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);
406 [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);
408 [id(402), helpstring(
"method HATL_Set_Camera_Field")] HRESULT
HATL_Set_Camera_Field(
float width,
float height);
412 [id(404), helpstring(
"method HATL_Set_Camera_Position")] HRESULT
HATL_Set_Camera_Position(
float p_x,
float p_y,
float p_z);
416 [id(406), helpstring(
"method HATL_Set_Camera_Target")] HRESULT
HATL_Set_Camera_Target(
float t_x,
float t_y,
float t_z);
418 [id(407), helpstring(
"method HATL_Set_Camera_Up_Vector")] HRESULT
HATL_Set_Camera_Up_Vector(
float u_x,
float u_y,
float u_z);
420 [id(408), helpstring(
"method HATL_Set_Circular_Center")] HRESULT
HATL_Set_Circular_Center(
float x,
float y,
float z);
424 [id(410), helpstring(
"method HATL_Set_Color")] HRESULT
HATL_Set_Color(BSTR col);
426 [id(411), helpstring(
"method HATL_Set_Color_By_FIndex")] HRESULT
HATL_Set_Color_By_FIndex(BSTR types,
float findex);
428 [id(412), helpstring(
"method HATL_Set_Color_By_Index")] HRESULT
HATL_Set_Color_By_Index(BSTR types,
int index);
430 [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);
432 [id(414), helpstring(
"method HATL_Set_Color_Map")] HRESULT
HATL_Set_Color_Map(BSTR col);
434 [id(415), helpstring(
"method HATL_Set_Color_Map_By_Value")] HRESULT
HATL_Set_Color_Map_By_Value(BSTR col,
int count, VARIANT *values_var);
436 [id(416), helpstring(
"method HATL_Set_Conditions")] HRESULT
HATL_Set_Conditions(BSTR conditions);
442 [id(419), helpstring(
"method HATL_Set_Edge_Weight")] HRESULT
HATL_Set_Edge_Weight(
float weight);
446 [id(421), helpstring(
"method HATL_Set_Faces")] HRESULT
HATL_Set_Faces(
int first_face,
int face_count);
448 [id(422), helpstring(
"method HATL_Set_Handedness")] HRESULT
HATL_Set_Handedness(BSTR handedness);
450 [id(423), helpstring(
"method HATL_Set_Heuristics")] HRESULT
HATL_Set_Heuristics(BSTR heuristics);
454 [id(425), helpstring(
"method HATL_Set_Line_Weight")] HRESULT
HATL_Set_Line_Weight(
float weight);
456 [id(426), helpstring(
"method HATL_Set_Marker_Size")] HRESULT
HATL_Set_Marker_Size(
float weight);
462 [id(429), helpstring(
"method HATL_Set_Normal")] HRESULT
HATL_Set_Normal(
float x,
float y,
float z);
464 [id(430), helpstring(
"method HATL_Set_Parameter")] HRESULT
HATL_Set_Parameter(
int number, VARIANT *parameters_var);
466 [id(431), helpstring(
"method HATL_Set_Polygonal_Clip_Region")] HRESULT
HATL_Set_Polygonal_Clip_Region(
int count, VARIANT *points_var, BSTR options);
468 [id(432), helpstring(
"method HATL_Set_Priority")] HRESULT
HATL_Set_Priority(HC_KEY key,
long priority);
470 [id(433), helpstring(
"method HATL_Set_Region")] HRESULT
HATL_Set_Region(
int region);
480 [id(438), helpstring(
"method HATL_Set_Text_Font")] HRESULT
HATL_Set_Text_Font(BSTR text_font);
482 [id(439), helpstring(
"method HATL_Set_Text_Path")] HRESULT
HATL_Set_Text_Path(
float x,
float y,
float z);
484 [id(440), helpstring(
"method HATL_Set_Text_Region")] HRESULT
HATL_Set_Text_Region(
int pCount, VARIANT *points_var, BSTR options);
490 [id(443), helpstring(
"method HATL_Set_Trim_Operation")] HRESULT
HATL_Set_Trim_Operation(
int index, BSTR operation);
494 [id(445), helpstring(
"method HATL_Set_User_Index")] HRESULT
HATL_Set_User_Index(
int index, VARIANT *data_var);
506 [id(451), helpstring(
"method HATL_Set_Window")] HRESULT
HATL_Set_Window(
float left,
float right,
float bottom,
float top);
514 [id(501), helpstring(
"method HATL_UnSet_Color")] HRESULT
HATL_UnSet_Color();
591 [id(600), helpstring(
"method HATL_Define_Alias")] HRESULT
HATL_Define_Alias(BSTR name, BSTR expansion);
593 [id(601), helpstring(
"method HATL_Define_Color_Name")] HRESULT
HATL_Define_Color_Name(BSTR name, BSTR er_name, BSTR ish_name, BSTR definition);
595 [id(602), helpstring(
"method HATL_Define_Font")] HRESULT
HATL_Define_Font(BSTR name, BSTR options,
int data_length, VARIANT *data_var);
597 [id(603), helpstring(
"method HATL_Define_Glyph")] HRESULT
HATL_Define_Glyph(BSTR name,
int data_size, BSTR data);
599 [id(604), helpstring(
"method HATL_Define_Line_Style")] HRESULT
HATL_Define_Line_Style(BSTR name, BSTR definition);
605 [id(607), helpstring(
"method HATL_Define_Texture")] HRESULT
HATL_Define_Texture(BSTR name, BSTR definition);
611 uuid(CLSID_HOOPS3DSTREAMCTRL_TYPELIB),
613 helpstring(
"Hoops3dStream 3.0 Type Library")
615 library Hoops3dStreamLib
617 importlib(
"stdole32.tlb");
618 importlib(
"stdole2.tlb");
621 uuid(CLSID_HOOPS3DSTREAMCTRL_EVENTS),
622 helpstring(
"__IHoops3dStreamCtrlEvents Interface")
624 dispinterface _IHoops3dStreamCtrlEvents
628 [id(1), helpstring(
"method OnBeginLoad")] HRESULT OnBeginLoad();
629 [id(2), helpstring(
"method OnEndLoad")] HRESULT OnEndLoad();
630 [id(3), helpstring(
"method OnSelect")] HRESULT OnSelect(BSTR sel_key);
631 [id(4), helpstring(
"method OnUpdateWidget")] HRESULT OnUpdateWidget(BSTR name, BSTR state, BSTR data);
632 [id(5), helpstring(
"method OnModelStructureParsed")] HRESULT OnModelStructureParsed();
636 uuid(CLSID_HOOPS3DSTREAMCTRL_CLASS),
637 helpstring(
"HOOPS 3D Stream Control Class")
639 coclass Hoops3dStreamCtrl
642 [
default, source] dispinterface _IHoops3dStreamCtrlEvents;
646 uuid(CLSID_HOOPS3DSTREAMPROPERTY_EVENTS),
647 helpstring(
"_IHoops3dStreamPropertyEvents Interface")
649 dispinterface _IHoops3dStreamPropertyEvents
656 uuid(CLSID_HOOPS3DSTREAMPROPERTY_CLASS),
657 helpstring(
"Hoops3dStreamProperty Class")
659 coclass Hoops3dStreamProperty
662 [
default, source] dispinterface _IHoops3dStreamPropertyEvents;
HRESULT HATL_Define_Line_Style(BSTR name, BSTR definition)
HRESULT HATL_Include_Segment(BSTR segment, [out, retval]HC_KEY *retkey)
HRESULT HATL_Set_Edge_Weight(float weight)
HRESULT HATL_Set_Window_Frame(BSTR flag)
HRESULT HATL_Flush_Contents(BSTR segment, BSTR filter)
HRESULT HATL_UnSet_Text_Path()
HRESULT SetFramerateMode(BOOL onoff)
HRESULT HATL_UnSet_One_User_Option(BSTR which)
HRESULT SetProjectionModeOrthographic()
HRESULT HATL_Set_Color_By_FIndex(BSTR types, float findex)
HRESULT HATL_Set_Text_Alignment(BSTR locater)
HRESULT HATL_Set_Region(int region)
HRESULT HATL_Delete_By_Key(HC_KEY key)
HRESULT BhvActivateAllAnimations()
HRESULT HATL_UnSet_User_Options()
HRESULT HATL_Set_Driver_Options(BSTR driver_options)
HRESULT SetPolygonHandednessNone()
HRESULT HATL_Set_User_Index(int index, VARIANT *data_var)
HRESULT CopyToClipboard()
HRESULT HATL_Set_Text_Path(float x, float y, float z)
HRESULT HATL_Set_Camera_Up_Vector(float u_x, float u_y, float u_z)
HRESULT BhvDeactivateAllAnimations()
HRESULT SetCameraToPlaneXZ()
HRESULT SetCameraToIsometric()
HRESULT HATL_UnSet_Edge_Weight()
HRESULT HATL_Define_Local_Texture(BSTR name, BSTR definition)
HRESULT SetCameraToPlaneYZ()
HRESULT HATL_UnSet_One_Text_Font(BSTR which)
HRESULT HATL_Set_Text_Spacing(float spacing)
HRESULT HATL_Insert_Mesh(int rows, int columns, VARIANT *points, [out, retval]HC_KEY *retkey)
HRESULT HATL_Set_Camera_Field(float width, float height)
HRESULT SetProjectionModePerspective()
BOOL AllowEntitySelection
HRESULT HATL_Set_Trim_Operation(int index, BSTR operation)
HRESULT HATL_Insert_Marker(float x, float y, float z, [out, retval]HC_KEY *retkey)
HRESULT InsertCuttingPlane()
HRESULT HATL_Insert_Image(float x, float y, float z, BSTR format, int width, int height, VARIANT *pixeldata_var, [out, retval]HC_KEY *retkey)
HRESULT HATL_Close_Geometry()
HRESULT SetPolygonHandednessLeft()
HRESULT HATL_Close_Face()
HRESULT HATL_Define_Alias(BSTR name, BSTR expansion)
HRESULT HATL_UnSet_Visibility()
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)
HRESULT HATL_Insert_Polygon(int count, VARIANT *points_var, [out, retval]HC_KEY *retkey)
HRESULT BhvActivateAnimation(BSTR animationname, BOOL allowPartial)
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)
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)
HRESULT HATL_Set_Circular_Center(float x, float y, float z)
HRESULT HATL_UnSet_Heuristics()
HRESULT HATL_UnSet_Color_Map()
HRESULT HATL_Set_Marker_Size(float weight)
HRESULT HATL_Insert_Local_Light(float x, float y, float z, [out, retval]HC_KEY *retkey)
HRESULT HATL_UnSet_One_Visibility(BSTR which)
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)
HRESULT BhvStopAnimation(BSTR animationname)
HRESULT HATL_Insert_Cutting_Plane(float a, float b, float c, float d, [out, retval]HC_KEY *retkey)
HRESULT HATL_UnSet_Marker_Size()
HRESULT HATL_Set_Camera_Projection(BSTR projection)
HRESULT SetBackplaneCullingMode(BOOL onoff)
HRESULT HATL_Define_Color_Name(BSTR name, BSTR er_name, BSTR ish_name, BSTR definition)
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)
HRESULT HATL_Open_Edge(int offset1, int offset2)
HRESULT HATL_UnSet_One_Selectability(BSTR which)
HRESULT HATL_UnSet_Text_Spacing()
HRESULT HATL_Insert_Cutting_Section(int count, VARIANT *planes_var, [out, retval]HC_KEY *retkey)
HRESULT HATL_Insert_Unicode_Text(float x, float y, float z, VARIANT *text, [out, retval]HC_KEY *retkey)
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)
HRESULT HATL_UnSet_One_Color(BSTR which)
HRESULT HATL_UnSet_Text_Font()
HRESULT SetShadowMode(BOOL onoff)
HRESULT ShowFileOpenDialog()
HRESULT HATL_Set_Rendering_Options(BSTR rendering_options)
HRESULT HATL_Set_Unicode_Options(VARIANT *options_var)
HRESULT HATL_UnSet_Text_Alignment()
HRESULT BhvStartAnimation(BSTR animationname)
HRESULT HATL_Set_Circular_Center_By_Key(HC_KEY key, float x, float y, float z)
HRESULT HATL_Set_Normal(float x, float y, float z)
HRESULT SetSelectionMarkerColor(float r, float g, float b, float a)
HRESULT HATL_Define_Font(BSTR name, BSTR options, int data_length, VARIANT *data_var)
HRESULT SetSelectionFaceColor(float r, float g, float b, float a)
HRESULT HATL_UnSet_Handedness()
HRESULT HATL_UnSet_Texture_Matrix()
HRESULT HATL_Define_System_Options(BSTR list)
HRESULT HATL_Set_Line_Pattern(BSTR pattern)
HRESULT HATL_Set_Color_Map_By_Value(BSTR col, int count, VARIANT *values_var)
HRESULT HATL_UnSet_Streaming_Mode()
HRESULT HATL_Set_Modelling_Matrix(VARIANT *matrix_var)
HRESULT BhvRewindAnimation(BSTR animationname)
HRESULT HATL_Set_Color_By_Index(BSTR types, int index)
HRESULT HATL_Insert_Text_With_Encoding(float x, float y, float z, BSTR encoding, VARIANT *text, [out, retval]HC_KEY *retkey)
HRESULT HATL_Set_Color(BSTR col)
HRESULT HATL_Set_Window(float left, float right, float bottom, float top)
HRESULT HATL_Insert_Shell(int npoints, VARIANT *test, int flen, VARIANT *test2, [out, retval]HC_KEY *retkey)
HRESULT HATL_Set_Edge_Pattern(BSTR pattern)
HRESULT HATL_Set_Priority(HC_KEY key, long priority)
HRESULT HATL_Set_Variable_Edge_Weight(BSTR weight)
HRESULT HATL_Close_Edge()
HRESULT HATL_Set_Text_Region(int pCount, VARIANT *points_var, BSTR options)
HRESULT HATL_UnSet_One_Driver_Option(BSTR which)
HRESULT HATL_Set_Streaming_Mode(BSTR flag)
HRESULT HATL_Set_Selectability(BSTR list)
HRESULT HATL_Set_Parameter(int number, VARIANT *parameters_var)
HRESULT SetRenderMode(BSTR mode)
HRESULT BhvSetInfinitePlay(BOOL onoff)
HRESULT HATL_UnSet_Marker_Symbol()
HRESULT SetPolygonHandednessRight()
HRESULT HATL_Insert_Shell_From_Region(HC_KEY key1, int region, BSTR options, [out, retval]HC_KEY *retkey)
HRESULT HATL_Set_Camera_Target(float t_x, float t_y, float t_z)
HRESULT HATL_Set_Camera_Near_Limit(float wlimit)
HRESULT HATL_UnSet_Modelling_Matrix()
HRESULT SetCamera(float px, float py, float pz, float tx, float ty, float tz, float ux, float uy, float uz, float width, float height)
HRESULT HATL_Insert_Polycylinder(int pcount, VARIANT *points_var, int r_count, VARIANT *radii_var, BSTR capping, [out, retval]HC_KEY *retkey)
HRESULT OpenModelSegment()
HRESULT AddFileType(BSTR filetype)
HRESULT HATL_UnSet_Window_Frame()
HRESULT HATL_Set_Variable_Marker_Size(BSTR weight)
HRESULT SetSelectionEdgeColor(float r, float g, float b, float a)
HRESULT HATL_Set_Variable_Line_Weight(BSTR weight)
HRESULT HATL_Set_Face_Pattern(BSTR pattern)
HRESULT HATL_Open_Geometry(HC_KEY key)
HRESULT HATL_Close_Segment()
HRESULT HATL_Set_Polygonal_Clip_Region(int count, VARIANT *points_var, BSTR options)
HRESULT HATL_UnSet_Selectability()
HRESULT HATL_UnSet_Line_Pattern()
HRESULT HATL_UnSet_One_Heuristic(BSTR which)
HRESULT SetBackgroundColors(float r_top, float g_top, float b_top, float r_bottom, float g_bottom, float b_bottom, int percentage)
HRESULT HATL_UnSet_Line_Weight()
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)
HRESULT HATL_Set_Camera_Position(float p_x, float p_y, float p_z)
HRESULT HATL_UnSet_Window_Pattern()
HRESULT HATL_Insert_Text(float x, float y, float z, BSTR text, [out, retval]HC_KEY *retkey)
HRESULT HATL_Set_Faces(int first_face, int face_count)
HRESULT HATL_Set_Camera_By_Volume(BSTR projection, float xmin, float xmax, float ymin, float ymax)
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)
HRESULT SetCameraToPlaneZY()
HRESULT HATL_Set_Heuristics(BSTR heuristics)
HRESULT HATL_Set_Marker_Symbol(BSTR symbol)
HRESULT HATL_Define_Texture(BSTR name, BSTR definition)
HRESULT SetCameraToPlaneZX()
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)
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)
HRESULT HATL_Set_Line_Weight(float weight)
HRESULT HATL_UnSet_Parameter()
BOOL HardwareAntialiasing
HRESULT OpenSceneSegment()
HRESULT HATL_Set_Color_By_Value(BSTR types, BSTR colspace, float a, float b, float c)
HRESULT HATL_UnSet_One_User_Index(long which)
HRESULT HATL_Open_Segment(BSTR segment, [out, retval]HC_KEY *retkey)
HRESULT HATL_UnSet_One_Rendering_Option(BSTR which)
HRESULT ShowFileSaveDialog()
HRESULT HATL_Set_Visibility(BSTR vis)
HRESULT HATL_UnSet_Driver_Options()
HRESULT BhvDeactivateAnimation(BSTR animationname, BOOL allowPartial)
HRESULT HATL_Define_Glyph(BSTR name, int data_size, BSTR data)
HRESULT HATL_Set_Window_Pattern(BSTR pattern)
HRESULT HATL_Insert_Ink(float x, float y, float z, [out, retval]HC_KEY *retkey)
HRESULT SetCameraToPlaneXY()
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)
HRESULT HATL_Insert_Polyline(int count, VARIANT *points_var, [out, retval]HC_KEY *retkey)
HRESULT HATL_Set_Conditions(BSTR conditions)
HRESULT HATL_Open_Face(int offset)
HRESULT SetOperator(BSTR operator_name)
HRESULT HATL_UnSet_Camera()
HRESULT ShowPageSetupDialog()
HRESULT HATL_Set_Texture_Matrix(VARIANT *matrix_var)
HRESULT HATL_UnSet_Edge_Pattern()
BOOL SmoothTransitionMode
HRESULT HATL_Set_User_Options(BSTR list)
HRESULT HATL_Set_Text_Font(BSTR text_font)
HRESULT ShowPrintDialog()
HRESULT HATL_Insert_Line(float xa, float ya, float za, float xb, float yb, float zb, [out, retval]HC_KEY *retkey)
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)
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)
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)
HRESULT HATL_Set_Handedness(BSTR handedness)
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)
HRESULT HATL_UnSet_Normal()
Definition: Hoops3dStream.idl:36
HRESULT SetCameraToPlaneYX()
HRESULT HATL_UnSet_Face_Pattern()
HRESULT HATL_Insert_Distant_Light(float di, float dj, float dk, [out, retval]HC_KEY *retkey)
HRESULT HATL_UnSet_Color()
HRESULT HATL_Set_Color_Map(BSTR col)
HRESULT HATL_UnSet_Window()
HRESULT HATL_UnSet_Rendering_Options()