Skip to content
Snippets Groups Projects
Commit 924f5aa8 authored by pospelov's avatar pospelov
Browse files

Restored python functionality

parent ac531048
No related branches found
No related tags found
No related merge requests found
Showing
with 15 additions and 583 deletions
// This file has been generated by Py++.
#ifndef Reflect3D_hpp__pyplusplus_wrapper
#define Reflect3D_hpp__pyplusplus_wrapper
void register_Reflect3D_class();
#endif//Reflect3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef ReflectX3D_hpp__pyplusplus_wrapper
#define ReflectX3D_hpp__pyplusplus_wrapper
void register_ReflectX3D_class();
#endif//ReflectX3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef ReflectY3D_hpp__pyplusplus_wrapper
#define ReflectY3D_hpp__pyplusplus_wrapper
void register_ReflectY3D_class();
#endif//ReflectY3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef ReflectZ3D_hpp__pyplusplus_wrapper
#define ReflectZ3D_hpp__pyplusplus_wrapper
void register_ReflectZ3D_class();
#endif//ReflectZ3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef Scale3D_hpp__pyplusplus_wrapper
#define Scale3D_hpp__pyplusplus_wrapper
void register_Scale3D_class();
#endif//Scale3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef ScaleX3D_hpp__pyplusplus_wrapper
#define ScaleX3D_hpp__pyplusplus_wrapper
void register_ScaleX3D_class();
#endif//ScaleX3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef ScaleY3D_hpp__pyplusplus_wrapper
#define ScaleY3D_hpp__pyplusplus_wrapper
void register_ScaleY3D_class();
#endif//ScaleY3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef ScaleZ3D_hpp__pyplusplus_wrapper
#define ScaleZ3D_hpp__pyplusplus_wrapper
void register_ScaleZ3D_class();
#endif//ScaleZ3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef Translate3D_hpp__pyplusplus_wrapper
#define Translate3D_hpp__pyplusplus_wrapper
void register_Translate3D_class();
#endif//Translate3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef TranslateX3D_hpp__pyplusplus_wrapper
#define TranslateX3D_hpp__pyplusplus_wrapper
void register_TranslateX3D_class();
#endif//TranslateX3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef TranslateY3D_hpp__pyplusplus_wrapper
#define TranslateY3D_hpp__pyplusplus_wrapper
void register_TranslateY3D_class();
#endif//TranslateY3D_hpp__pyplusplus_wrapper
// This file has been generated by Py++.
#ifndef TranslateZ3D_hpp__pyplusplus_wrapper
#define TranslateZ3D_hpp__pyplusplus_wrapper
void register_TranslateZ3D_class();
#endif//TranslateZ3D_hpp__pyplusplus_wrapper
...@@ -79,44 +79,17 @@ namespace bp = boost::python; ...@@ -79,44 +79,17 @@ namespace bp = boost::python;
void register_HomogeneousMaterial_class(){ void register_HomogeneousMaterial_class(){
{ //::HomogeneousMaterial bp::class_< HomogeneousMaterial, bp::bases< IMaterial > >( "HomogeneousMaterial", bp::init< >() )
typedef bp::class_< HomogeneousMaterial, bp::bases< IMaterial > > HomogeneousMaterial_exposer_t; .def( bp::init< complex_t const & >(( bp::arg("refractive_index") )) )
HomogeneousMaterial_exposer_t HomogeneousMaterial_exposer = HomogeneousMaterial_exposer_t( "HomogeneousMaterial", bp::init< >() ); .def( bp::init< std::string const &, complex_t const & >(( bp::arg("name"), bp::arg("refractive_index") )) )
bp::scope HomogeneousMaterial_scope( HomogeneousMaterial_exposer ); .def( bp::init< std::string const &, double, double >(( bp::arg("name"), bp::arg("refractive_index_real"), bp::arg("refractive_index_imag") )) )
HomogeneousMaterial_exposer.def( bp::init< complex_t const & >(( bp::arg("refractive_index") )) ); .def( bp::init< HomogeneousMaterial const & >(( bp::arg("other") )) )
HomogeneousMaterial_exposer.def( bp::init< std::string const &, complex_t const & >(( bp::arg("name"), bp::arg("refractive_index") )) ); .def(
HomogeneousMaterial_exposer.def( bp::init< std::string const &, double, double >(( bp::arg("name"), bp::arg("refractive_index_real"), bp::arg("refractive_index_imag") )) ); "getRefractiveIndex"
HomogeneousMaterial_exposer.def( bp::init< HomogeneousMaterial const & >(( bp::arg("other") )) ); , (::complex_t ( ::HomogeneousMaterial::* )( ) const)( &::HomogeneousMaterial::getRefractiveIndex ) )
{ //::HomogeneousMaterial::getRefractiveIndex .def(
"setRefractiveIndex"
typedef ::complex_t ( ::HomogeneousMaterial::*getRefractiveIndex_function_type )( ) const; , (void ( ::HomogeneousMaterial::* )( ::complex_t ) )( &::HomogeneousMaterial::setRefractiveIndex )
, ( bp::arg("refractive_index") ) );
HomogeneousMaterial_exposer.def(
"getRefractiveIndex"
, getRefractiveIndex_function_type( &::HomogeneousMaterial::getRefractiveIndex ) );
}
{ //::HomogeneousMaterial::operator=
typedef ::HomogeneousMaterial & ( ::HomogeneousMaterial::*assign_function_type )( ::HomogeneousMaterial const & ) ;
HomogeneousMaterial_exposer.def(
"assign"
, assign_function_type( &::HomogeneousMaterial::operator= )
, ( bp::arg("other") )
, bp::return_self< >() );
}
{ //::HomogeneousMaterial::setRefractiveIndex
typedef void ( ::HomogeneousMaterial::*setRefractiveIndex_function_type )( ::complex_t ) ;
HomogeneousMaterial_exposer.def(
"setRefractiveIndex"
, setRefractiveIndex_function_type( &::HomogeneousMaterial::setRefractiveIndex )
, ( bp::arg("refractive_index") ) );
}
}
} }
...@@ -70,18 +70,10 @@ ...@@ -70,18 +70,10 @@
#include "PythonInterface_free_functions.pypp.h" #include "PythonInterface_free_functions.pypp.h"
#include "PythonInterface_global_variables.pypp.h" #include "PythonInterface_global_variables.pypp.h"
#include "RealParameterWrapper.pypp.h" #include "RealParameterWrapper.pypp.h"
#include "Reflect3D.pypp.h"
#include "ReflectX3D.pypp.h"
#include "ReflectY3D.pypp.h"
#include "ReflectZ3D.pypp.h"
#include "Rotate3D.pypp.h" #include "Rotate3D.pypp.h"
#include "RotateX3D.pypp.h" #include "RotateX3D.pypp.h"
#include "RotateY3D.pypp.h" #include "RotateY3D.pypp.h"
#include "RotateZ3D.pypp.h" #include "RotateZ3D.pypp.h"
#include "Scale3D.pypp.h"
#include "ScaleX3D.pypp.h"
#include "ScaleY3D.pypp.h"
#include "ScaleZ3D.pypp.h"
#include "SimpleSelectionRule.pypp.h" #include "SimpleSelectionRule.pypp.h"
#include "Simulation.pypp.h" #include "Simulation.pypp.h"
#include "SimulationParameters.pypp.h" #include "SimulationParameters.pypp.h"
...@@ -90,10 +82,6 @@ ...@@ -90,10 +82,6 @@
#include "StochasticParameter_t.pypp.h" #include "StochasticParameter_t.pypp.h"
#include "StochasticSampledParameter.pypp.h" #include "StochasticSampledParameter.pypp.h"
#include "Transform3D.pypp.h" #include "Transform3D.pypp.h"
#include "Translate3D.pypp.h"
#include "TranslateX3D.pypp.h"
#include "TranslateY3D.pypp.h"
#include "TranslateZ3D.pypp.h"
#include "vdouble1d_t.pypp.h" #include "vdouble1d_t.pypp.h"
#include "vector_DiffuseParticleInfoPtr_t.pypp.h" #include "vector_DiffuseParticleInfoPtr_t.pypp.h"
#include "vector_IFormFactorPtr_t.pypp.h" #include "vector_IFormFactorPtr_t.pypp.h"
...@@ -140,22 +128,10 @@ BOOST_PYTHON_MODULE(libBornAgainCore){ ...@@ -140,22 +128,10 @@ BOOST_PYTHON_MODULE(libBornAgainCore){
register_kvector_t_class(); register_kvector_t_class();
register_IndexVector3D_class(); register_IndexVector3D_class();
register_cvector_t_class(); register_cvector_t_class();
register_Reflect3D_class();
register_ReflectX3D_class();
register_ReflectY3D_class();
register_ReflectZ3D_class();
register_Rotate3D_class(); register_Rotate3D_class();
register_RotateX3D_class(); register_RotateX3D_class();
register_RotateY3D_class(); register_RotateY3D_class();
register_RotateZ3D_class(); register_RotateZ3D_class();
register_Scale3D_class();
register_ScaleX3D_class();
register_ScaleY3D_class();
register_ScaleZ3D_class();
register_Translate3D_class();
register_TranslateX3D_class();
register_TranslateY3D_class();
register_TranslateZ3D_class();
register_IMaterial_class(); register_IMaterial_class();
register_HomogeneousMaterial_class(); register_HomogeneousMaterial_class();
register_IDecoration_class(); register_IDecoration_class();
......
// This file has been generated by Py++.
#include "Macros.h"
GCC_DIAG_OFF(unused-parameter);
GCC_DIAG_OFF(missing-field-initializers);
#include "boost/python.hpp"
#include "boost/python/suite/indexing/vector_indexing_suite.hpp"
GCC_DIAG_ON(unused-parameter);
GCC_DIAG_ON(missing-field-initializers);
#include "BasicVector3D.h"
#include "Bin.h"
#include "Crystal.h"
#include "DiffuseParticleInfo.h"
#include "FTDistributions.h"
#include "FormFactorBox.h"
#include "FormFactorCrystal.h"
#include "FormFactorCylinder.h"
#include "FormFactorDecoratorDebyeWaller.h"
#include "FormFactorFullSphere.h"
#include "FormFactorGauss.h"
#include "FormFactorLorentz.h"
#include "FormFactorParallelepiped.h"
#include "FormFactorPrism3.h"
#include "FormFactorPyramid.h"
#include "FormFactorSphereGaussianRadius.h"
#include "HomogeneousMaterial.h"
#include "ICloneable.h"
#include "IClusteredParticles.h"
#include "ICompositeSample.h"
#include "IDecoration.h"
#include "IFormFactor.h"
#include "IFormFactorBorn.h"
#include "IFormFactorDecorator.h"
#include "IInterferenceFunction.h"
#include "IMaterial.h"
#include "IParameterized.h"
#include "ISample.h"
#include "ISampleBuilder.h"
#include "ISelectionRule.h"
#include "ISingleton.h"
#include "Instrument.h"
#include "InterferenceFunction1DParaCrystal.h"
#include "InterferenceFunction2DLattice.h"
#include "InterferenceFunction2DParaCrystal.h"
#include "InterferenceFunctionNone.h"
#include "Lattice.h"
#include "Lattice2DIFParameters.h"
#include "LatticeBasis.h"
#include "Layer.h"
#include "LayerDecorator.h"
#include "LayerRoughness.h"
#include "Lattice2DIFParameters.h"
#include "MaterialManager.h"
#include "MesoCrystal.h"
#include "MultiLayer.h"
#include "OpticalFresnel.h"
#include "ParameterPool.h"
#include "Particle.h"
#include "ParticleBuilder.h"
#include "ParticleCoreShell.h"
#include "ParticleDecoration.h"
#include "ParticleInfo.h"
#include "PositionParticleInfo.h"
#include "PythonOutputData.h"
#include "PythonPlusplusHelper.h"
#include "RealParameterWrapper.h"
#include "Simulation.h"
#include "SimulationParameters.h"
#include "IStochasticParameter.h"
#include "StochasticGaussian.h"
#include "StochasticSampledParameter.h"
#include "StochasticDoubleGate.h"
#include "Transform3D.h"
#include "Types.h"
#include "Units.h"
#include "Reflect3D.pypp.h"
namespace bp = boost::python;
void register_Reflect3D_class(){
bp::class_< Geometry::Reflect3D, bp::bases< Geometry::Transform3D > >( "Reflect3D", bp::init< >() )
.def( bp::init< double, double, double, double >(( bp::arg("a"), bp::arg("b"), bp::arg("c"), bp::arg("d") )) );
}
// This file has been generated by Py++.
#include "Macros.h"
GCC_DIAG_OFF(unused-parameter);
GCC_DIAG_OFF(missing-field-initializers);
#include "boost/python.hpp"
#include "boost/python/suite/indexing/vector_indexing_suite.hpp"
GCC_DIAG_ON(unused-parameter);
GCC_DIAG_ON(missing-field-initializers);
#include "BasicVector3D.h"
#include "Bin.h"
#include "Crystal.h"
#include "DiffuseParticleInfo.h"
#include "FTDistributions.h"
#include "FormFactorBox.h"
#include "FormFactorCrystal.h"
#include "FormFactorCylinder.h"
#include "FormFactorDecoratorDebyeWaller.h"
#include "FormFactorFullSphere.h"
#include "FormFactorGauss.h"
#include "FormFactorLorentz.h"
#include "FormFactorParallelepiped.h"
#include "FormFactorPrism3.h"
#include "FormFactorPyramid.h"
#include "FormFactorSphereGaussianRadius.h"
#include "HomogeneousMaterial.h"
#include "ICloneable.h"
#include "IClusteredParticles.h"
#include "ICompositeSample.h"
#include "IDecoration.h"
#include "IFormFactor.h"
#include "IFormFactorBorn.h"
#include "IFormFactorDecorator.h"
#include "IInterferenceFunction.h"
#include "IMaterial.h"
#include "IParameterized.h"
#include "ISample.h"
#include "ISampleBuilder.h"
#include "ISelectionRule.h"
#include "ISingleton.h"
#include "Instrument.h"
#include "InterferenceFunction1DParaCrystal.h"
#include "InterferenceFunction2DLattice.h"
#include "InterferenceFunction2DParaCrystal.h"
#include "InterferenceFunctionNone.h"
#include "Lattice.h"
#include "Lattice2DIFParameters.h"
#include "LatticeBasis.h"
#include "Layer.h"
#include "LayerDecorator.h"
#include "LayerRoughness.h"
#include "Lattice2DIFParameters.h"
#include "MaterialManager.h"
#include "MesoCrystal.h"
#include "MultiLayer.h"
#include "OpticalFresnel.h"
#include "ParameterPool.h"
#include "Particle.h"
#include "ParticleBuilder.h"
#include "ParticleCoreShell.h"
#include "ParticleDecoration.h"
#include "ParticleInfo.h"
#include "PositionParticleInfo.h"
#include "PythonOutputData.h"
#include "PythonPlusplusHelper.h"
#include "RealParameterWrapper.h"
#include "Simulation.h"
#include "SimulationParameters.h"
#include "IStochasticParameter.h"
#include "StochasticGaussian.h"
#include "StochasticSampledParameter.h"
#include "StochasticDoubleGate.h"
#include "Transform3D.h"
#include "Types.h"
#include "Units.h"
#include "ReflectX3D.pypp.h"
namespace bp = boost::python;
void register_ReflectX3D_class(){
bp::class_< Geometry::ReflectX3D, bp::bases< Geometry::Reflect3D > >( "ReflectX3D", bp::init< bp::optional< double > >(( bp::arg("x")=0 )) );
}
// This file has been generated by Py++.
#include "Macros.h"
GCC_DIAG_OFF(unused-parameter);
GCC_DIAG_OFF(missing-field-initializers);
#include "boost/python.hpp"
#include "boost/python/suite/indexing/vector_indexing_suite.hpp"
GCC_DIAG_ON(unused-parameter);
GCC_DIAG_ON(missing-field-initializers);
#include "BasicVector3D.h"
#include "Bin.h"
#include "Crystal.h"
#include "DiffuseParticleInfo.h"
#include "FTDistributions.h"
#include "FormFactorBox.h"
#include "FormFactorCrystal.h"
#include "FormFactorCylinder.h"
#include "FormFactorDecoratorDebyeWaller.h"
#include "FormFactorFullSphere.h"
#include "FormFactorGauss.h"
#include "FormFactorLorentz.h"
#include "FormFactorParallelepiped.h"
#include "FormFactorPrism3.h"
#include "FormFactorPyramid.h"
#include "FormFactorSphereGaussianRadius.h"
#include "HomogeneousMaterial.h"
#include "ICloneable.h"
#include "IClusteredParticles.h"
#include "ICompositeSample.h"
#include "IDecoration.h"
#include "IFormFactor.h"
#include "IFormFactorBorn.h"
#include "IFormFactorDecorator.h"
#include "IInterferenceFunction.h"
#include "IMaterial.h"
#include "IParameterized.h"
#include "ISample.h"
#include "ISampleBuilder.h"
#include "ISelectionRule.h"
#include "ISingleton.h"
#include "Instrument.h"
#include "InterferenceFunction1DParaCrystal.h"
#include "InterferenceFunction2DLattice.h"
#include "InterferenceFunction2DParaCrystal.h"
#include "InterferenceFunctionNone.h"
#include "Lattice.h"
#include "Lattice2DIFParameters.h"
#include "LatticeBasis.h"
#include "Layer.h"
#include "LayerDecorator.h"
#include "LayerRoughness.h"
#include "Lattice2DIFParameters.h"
#include "MaterialManager.h"
#include "MesoCrystal.h"
#include "MultiLayer.h"
#include "OpticalFresnel.h"
#include "ParameterPool.h"
#include "Particle.h"
#include "ParticleBuilder.h"
#include "ParticleCoreShell.h"
#include "ParticleDecoration.h"
#include "ParticleInfo.h"
#include "PositionParticleInfo.h"
#include "PythonOutputData.h"
#include "PythonPlusplusHelper.h"
#include "RealParameterWrapper.h"
#include "Simulation.h"
#include "SimulationParameters.h"
#include "IStochasticParameter.h"
#include "StochasticGaussian.h"
#include "StochasticSampledParameter.h"
#include "StochasticDoubleGate.h"
#include "Transform3D.h"
#include "Types.h"
#include "Units.h"
#include "ReflectY3D.pypp.h"
namespace bp = boost::python;
void register_ReflectY3D_class(){
bp::class_< Geometry::ReflectY3D, bp::bases< Geometry::Reflect3D > >( "ReflectY3D", bp::init< bp::optional< double > >(( bp::arg("y")=0 )) );
}
// This file has been generated by Py++.
#include "Macros.h"
GCC_DIAG_OFF(unused-parameter);
GCC_DIAG_OFF(missing-field-initializers);
#include "boost/python.hpp"
#include "boost/python/suite/indexing/vector_indexing_suite.hpp"
GCC_DIAG_ON(unused-parameter);
GCC_DIAG_ON(missing-field-initializers);
#include "BasicVector3D.h"
#include "Bin.h"
#include "Crystal.h"
#include "DiffuseParticleInfo.h"
#include "FTDistributions.h"
#include "FormFactorBox.h"
#include "FormFactorCrystal.h"
#include "FormFactorCylinder.h"
#include "FormFactorDecoratorDebyeWaller.h"
#include "FormFactorFullSphere.h"
#include "FormFactorGauss.h"
#include "FormFactorLorentz.h"
#include "FormFactorParallelepiped.h"
#include "FormFactorPrism3.h"
#include "FormFactorPyramid.h"
#include "FormFactorSphereGaussianRadius.h"
#include "HomogeneousMaterial.h"
#include "ICloneable.h"
#include "IClusteredParticles.h"
#include "ICompositeSample.h"
#include "IDecoration.h"
#include "IFormFactor.h"
#include "IFormFactorBorn.h"
#include "IFormFactorDecorator.h"
#include "IInterferenceFunction.h"
#include "IMaterial.h"
#include "IParameterized.h"
#include "ISample.h"
#include "ISampleBuilder.h"
#include "ISelectionRule.h"
#include "ISingleton.h"
#include "Instrument.h"
#include "InterferenceFunction1DParaCrystal.h"
#include "InterferenceFunction2DLattice.h"
#include "InterferenceFunction2DParaCrystal.h"
#include "InterferenceFunctionNone.h"
#include "Lattice.h"
#include "Lattice2DIFParameters.h"
#include "LatticeBasis.h"
#include "Layer.h"
#include "LayerDecorator.h"
#include "LayerRoughness.h"
#include "Lattice2DIFParameters.h"
#include "MaterialManager.h"
#include "MesoCrystal.h"
#include "MultiLayer.h"
#include "OpticalFresnel.h"
#include "ParameterPool.h"
#include "Particle.h"
#include "ParticleBuilder.h"
#include "ParticleCoreShell.h"
#include "ParticleDecoration.h"
#include "ParticleInfo.h"
#include "PositionParticleInfo.h"
#include "PythonOutputData.h"
#include "PythonPlusplusHelper.h"
#include "RealParameterWrapper.h"
#include "Simulation.h"
#include "SimulationParameters.h"
#include "IStochasticParameter.h"
#include "StochasticGaussian.h"
#include "StochasticSampledParameter.h"
#include "StochasticDoubleGate.h"
#include "Transform3D.h"
#include "Types.h"
#include "Units.h"
#include "ReflectZ3D.pypp.h"
namespace bp = boost::python;
void register_ReflectZ3D_class(){
bp::class_< Geometry::ReflectZ3D, bp::bases< Geometry::Reflect3D > >( "ReflectZ3D", bp::init< bp::optional< double > >(( bp::arg("z")=0 )) );
}
...@@ -80,6 +80,8 @@ namespace bp = boost::python; ...@@ -80,6 +80,8 @@ namespace bp = boost::python;
void register_Rotate3D_class(){ void register_Rotate3D_class(){
bp::class_< Geometry::Rotate3D, bp::bases< Geometry::Transform3D > >( "Rotate3D", bp::init< >() ) bp::class_< Geometry::Rotate3D, bp::bases< Geometry::Transform3D > >( "Rotate3D", bp::init< >() )
.def( bp::init< double, Geometry::Vector3D< double > const & >(( bp::arg("a"), bp::arg("v") )) ); .def( bp::init< double, Geometry::BasicVector3D< double > const &, Geometry::BasicVector3D< double > const & >(( bp::arg("a"), bp::arg("p1"), bp::arg("p2") )) )
.def( bp::init< Geometry::BasicVector3D< double > const &, Geometry::BasicVector3D< double > const &, Geometry::BasicVector3D< double > const &, Geometry::BasicVector3D< double > const & >(( bp::arg("fr1"), bp::arg("fr2"), bp::arg("to1"), bp::arg("to2") )) )
.def( bp::init< double, Geometry::BasicVector3D< double > const & >(( bp::arg("a"), bp::arg("v") )) );
} }
// This file has been generated by Py++.
#include "Macros.h"
GCC_DIAG_OFF(unused-parameter);
GCC_DIAG_OFF(missing-field-initializers);
#include "boost/python.hpp"
#include "boost/python/suite/indexing/vector_indexing_suite.hpp"
GCC_DIAG_ON(unused-parameter);
GCC_DIAG_ON(missing-field-initializers);
#include "BasicVector3D.h"
#include "Bin.h"
#include "Crystal.h"
#include "DiffuseParticleInfo.h"
#include "FTDistributions.h"
#include "FormFactorBox.h"
#include "FormFactorCrystal.h"
#include "FormFactorCylinder.h"
#include "FormFactorDecoratorDebyeWaller.h"
#include "FormFactorFullSphere.h"
#include "FormFactorGauss.h"
#include "FormFactorLorentz.h"
#include "FormFactorParallelepiped.h"
#include "FormFactorPrism3.h"
#include "FormFactorPyramid.h"
#include "FormFactorSphereGaussianRadius.h"
#include "HomogeneousMaterial.h"
#include "ICloneable.h"
#include "IClusteredParticles.h"
#include "ICompositeSample.h"
#include "IDecoration.h"
#include "IFormFactor.h"
#include "IFormFactorBorn.h"
#include "IFormFactorDecorator.h"
#include "IInterferenceFunction.h"
#include "IMaterial.h"
#include "IParameterized.h"
#include "ISample.h"
#include "ISampleBuilder.h"
#include "ISelectionRule.h"
#include "ISingleton.h"
#include "Instrument.h"
#include "InterferenceFunction1DParaCrystal.h"
#include "InterferenceFunction2DLattice.h"
#include "InterferenceFunction2DParaCrystal.h"
#include "InterferenceFunctionNone.h"
#include "Lattice.h"
#include "Lattice2DIFParameters.h"
#include "LatticeBasis.h"
#include "Layer.h"
#include "LayerDecorator.h"
#include "LayerRoughness.h"
#include "Lattice2DIFParameters.h"
#include "MaterialManager.h"
#include "MesoCrystal.h"
#include "MultiLayer.h"
#include "OpticalFresnel.h"
#include "ParameterPool.h"
#include "Particle.h"
#include "ParticleBuilder.h"
#include "ParticleCoreShell.h"
#include "ParticleDecoration.h"
#include "ParticleInfo.h"
#include "PositionParticleInfo.h"
#include "PythonOutputData.h"
#include "PythonPlusplusHelper.h"
#include "RealParameterWrapper.h"
#include "Simulation.h"
#include "SimulationParameters.h"
#include "IStochasticParameter.h"
#include "StochasticGaussian.h"
#include "StochasticSampledParameter.h"
#include "StochasticDoubleGate.h"
#include "Transform3D.h"
#include "Types.h"
#include "Units.h"
#include "Scale3D.pypp.h"
namespace bp = boost::python;
void register_Scale3D_class(){
bp::class_< Geometry::Scale3D, bp::bases< Geometry::Transform3D > >( "Scale3D", bp::init< >() )
.def( bp::init< double, double, double >(( bp::arg("x"), bp::arg("y"), bp::arg("z") )) )
.def( bp::init< double >(( bp::arg("s") )) );
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment