1 ///////////////////////////////////////////////////////////
2 // File : Sierpinsky.idl
3 // Author : Vadim SANDLER (OCN)
5 // Copyright (C) 2005 Open CASCADE
6 ///////////////////////////////////////////////////////////
8 #ifndef __SIERPINSKY_IDL
9 #define __SIERPINSKY_IDL
11 #include "SALOME_Component.idl"
13 module SIERPINSKY_ORB {
15 interface SIERPINSKY : Engines::Component {
17 // Initializes engine with three reference points
18 void Init( in double X1, in double Y1, in double X2, in double Y2, in double X3, in double Y3 );
20 // Initializes engine with three default reference points: (0.5, 1), (0, 0), (1, 0)
23 // Generates next iteration point
24 void NextPoint( in double X, in double Y, in long iter, out double nextX, out double nextY );
26 // Exports data to the JPEG image
27 boolean ExportToJPEG( in string fileName, in long size );
29 // Exports data to the MED file
30 boolean ExportToMED( in string fileName, in double size );
36 #endif // __SIERPINSKY_IDL