コード例 #1
0
 public ToneMappingEditor(ToneMappingOperators tone_mapping_operators)
 {
     InitializeComponent();
     this.tm_operators = tone_mapping_operators;
     this.build_gui();
     this.tm_operators.OperatorTypeChanged += new EventHandler(operator_OperatorTypeChanged);
 }
コード例 #2
0
 public ToneMappingEditor(ToneMappingOperators tone_mapping_operators)
 {
     InitializeComponent();
     this.tm_operators = tone_mapping_operators;
     this.build_gui();
     this.tm_operators.OperatorTypeChanged += new EventHandler(operator_OperatorTypeChanged);
 }
コード例 #3
0
ファイル: renmas.cs プロジェクト: mario007/renmas
 public Renmas(Image output_image)
 {
     int ret = Init();//throw exception if error ocured!!!
     if (ret != 0) throw new Exception("Interface to renmas if failed to create.");
     this.camera = new Camera(this);
     this.options = new Options(this);
     this.lights = new Lights(this);
     this.shapes = new Shapes(this);
     this.output_image = output_image;
     this.tone_mapping_operators = new ToneMappingOperators(this);
     this.materials = new Materials(this);
 }
コード例 #4
0
ファイル: renmas.cs プロジェクト: mario007/renmas
        public Renmas(Image output_image)
        {
            int ret = Init();//throw exception if error ocured!!!

            if (ret != 0)
            {
                throw new Exception("Interface to renmas if failed to create.");
            }
            this.camera                 = new Camera(this);
            this.options                = new Options(this);
            this.lights                 = new Lights(this);
            this.shapes                 = new Shapes(this);
            this.output_image           = output_image;
            this.tone_mapping_operators = new ToneMappingOperators(this);
            this.materials              = new Materials(this);
        }