Commit f741fa3b authored by T.J. Corona's avatar T.J. Corona Committed by Kitware Robot
Browse files

Merge topic 'rename-multiscale-ops'

5a85a0c4

 Rename multiscale operators.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !548
parents d4874963 5a85a0c4
......@@ -7,19 +7,19 @@ list(APPEND CMAKE_MODULE_PATH "${VTK_MODULES_DIR}")
set(multiscaleSrcs
Session.cxx
Operator.cxx
operators/PartitionBoundariesOperator.cxx
operators/Dream3DPipelineOperator.cxx
operators/PythonScriptOperator.cxx
operators/RevolveOperator.cxx
operators/PartitionBoundaries.cxx
operators/Dream3DPipeline.cxx
operators/PythonScript.cxx
operators/Revolve.cxx
)
set(multiscaleHeaders
Session.h
Operator.h
operators/PartitionBoundariesOperator.h
operators/Dream3DPipelineOperator.h
operators/PythonScriptOperator.h
operators/RevolveOperator.h
operators/PartitionBoundaries.h
operators/Dream3DPipeline.h
operators/PythonScript.h
operators/Revolve.h
)
install(FILES PointerDefs.h DESTINATION include/smtk/${SMTK_VERSION}/smtk/bridge/multiscale)
......@@ -59,9 +59,9 @@ smtk_install_library(smtkMultiscaleSession)
# to multiscaleOperatorXML) since the operators themselves include
# the header in their implementations.
smtk_session_json("${CMAKE_CURRENT_SOURCE_DIR}/Session.json" multiscaleSessionJSON)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/PartitionBoundariesOperator.sbt" multiscaleOperatorXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/Dream3DPipelineOperator.sbt" multiscaleOperatorXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/RevolveOperator.sbt" multiscaleOperatorXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/PartitionBoundaries.sbt" multiscaleOperatorXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/Dream3DPipeline.sbt" multiscaleOperatorXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/Revolve.sbt" multiscaleOperatorXML)
# Install the headers
smtk_public_headers(${multiscaleHeaders})
......
......@@ -7,7 +7,7 @@
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#include "smtk/bridge/multiscale/operators/Dream3DPipelineOperator.h"
#include "smtk/bridge/multiscale/operators/Dream3DPipeline.h"
#include "smtk/attribute/FileItem.h"
#include "smtk/attribute/IntItem.h"
......@@ -43,7 +43,7 @@ namespace smtk {
namespace bridge {
namespace multiscale {
smtk::model::OperatorResult Dream3DPipelineOperator::operateInternal()
smtk::model::OperatorResult Dream3DPipeline::operateInternal()
{
smtk::model::OperatorResult result;
......@@ -160,13 +160,13 @@ smtk::model::OperatorResult Dream3DPipelineOperator::operateInternal()
#undef STRINGIFY
#undef TOSTRING
#include "smtk/bridge/multiscale/Dream3DPipelineOperator_xml.h"
#include "smtk/bridge/multiscale/Dream3DPipeline_xml.h"
#include "smtk/bridge/multiscale/Exports.h"
smtkImplementsModelOperator(
SMTKMULTISCALESESSION_EXPORT,
smtk::bridge::multiscale::Dream3DPipelineOperator,
smtk::bridge::multiscale::Dream3DPipeline,
multiscale_dream3d,
"dream3d",
Dream3DPipelineOperator_xml,
Dream3DPipeline_xml,
smtk::bridge::multiscale::Session);
......@@ -7,10 +7,10 @@
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef __smtk_session_multiscale_Dream3DPipelineOperator_h
#define __smtk_session_multiscale_Dream3DPipelineOperator_h
#ifndef __smtk_session_multiscale_Dream3DPipeline_h
#define __smtk_session_multiscale_Dream3DPipeline_h
#include "smtk/bridge/multiscale/operators/PythonScriptOperator.h"
#include "smtk/bridge/multiscale/operators/PythonScript.h"
#include "vtkObject.h"
namespace smtk {
......@@ -27,11 +27,11 @@ namespace smtk {
* profiles for each zone.
*/
class SMTKMULTISCALESESSION_EXPORT Dream3DPipelineOperator : public PythonScriptOperator
class SMTKMULTISCALESESSION_EXPORT Dream3DPipeline : public PythonScript
{
public:
smtkTypeMacro(Dream3DPipelineOperator);
smtkCreateMacro(Dream3DPipelineOperator);
smtkTypeMacro(Dream3DPipeline);
smtkCreateMacro(Dream3DPipeline);
smtkSharedFromThisMacro(Operator);
smtkDeclareModelOperator();
......@@ -43,4 +43,4 @@ protected:
} // namespace bridge
} // namespace smtk
#endif // __smtk_session_multiscale_Dream3DPipelineOperator_h
#endif // __smtk_session_multiscale_Dream3DPipeline_h
<?xml version="1.0" encoding="utf-8" ?>
<!-- Description of the Multiscale "Dream3DPipeline" Operator -->
<SMTK_AttributeSystem Version="2">
<Definitions>
<!-- Operator -->
<AttDef Type="dream3d" Label="Execute DREAM3D Pipeline" BaseType="operator">
<ItemDefinitions>
<File Name="point-file" Label="Point File" NumberOfRequiredValues="1"
ShouldExist="true"
FileFilters="DEFORM-2D V6.0+ Point Tracking Output Data (*.rst);;All files (*.*)">
<BriefDescription>DEFORM point tracking file</BriefDescription>
</File>
<File Name="step-file" Label="Step File" NumberOfRequiredValues="1"
ShouldExist="true"
FileFilters="DEFORM-2D V6.0+ Step File (*.dat);;All files (*.*)">
<BriefDescription>DEFORM step file</BriefDescription>
</File>
<File Name="pipeline-executable" Label="Pipeline Executable" NumberOfRequiredValues="1" ShouldExist="true">
<BriefDescription>Dream3D PipelineRunner executable</BriefDescription>
</File>
<File Name="stats-files" Label="Statistics Files" NumberOfRequiredValues="1" ShouldExist="true" Extensible="1"
FileFilters="DREAM3D data file (*.dream3d);;All files (*.*)">
<BriefDescription>stats generator data containers</BriefDescription>
</File>
<File Name="output-file" NumberOfRequiredValues="1" ShouldExist="false"
FileFilters="DREAM3D data file (*.dream3d);;All files (*.*)">
<BriefDescription>DREAM3D (xdmf) output file</BriefDescription>
</File>
<String Name="attribute">
<DiscreteInfo DefaultIndex="1">
<Value Enum="EffectiveStrainRates">EffectiveStrainRates</Value>
<Value Enum="EffectiveStrains">EffectiveStrains</Value>
<Value Enum="EffectiveStresses">EffectiveStresses</Value>
<Value Enum="StrainRates">StrainRates</Value>
<Value Enum="Strains">Strains</Value>
<Value Enum="Stresses">Stresses</Value>
</DiscreteInfo>
<BriefDescription>attribute to use for zoning</BriefDescription>
</String>
</ItemDefinitions>
</AttDef>
<!-- Result -->
<AttDef Type="result(dream3d)" BaseType="result">
<ItemDefinitions>
<!-- The model read from the file. -->
<ModelEntity Name="model" NumberOfRequiredValues="1" Extensible="1" MembershipMask="4096"/>
<ModelEntity Name="mesh_created" NumberOfRequiredValues="1"/>
</ItemDefinitions>
</AttDef>
</Definitions>
</SMTK_AttributeSystem>
......@@ -7,7 +7,7 @@
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#include "smtk/bridge/multiscale/operators/PartitionBoundariesOperator.h"
#include "smtk/bridge/multiscale/operators/PartitionBoundaries.h"
#include "smtk/attribute/DoubleItem.h"
#include "smtk/attribute/IntItem.h"
......@@ -219,7 +219,7 @@ namespace smtk {
namespace bridge {
namespace multiscale {
smtk::model::OperatorResult PartitionBoundariesOperator::operateInternal()
smtk::model::OperatorResult PartitionBoundaries::operateInternal()
{
smtk::model::OperatorResult result;
......@@ -314,12 +314,12 @@ smtk::model::OperatorResult PartitionBoundariesOperator::operateInternal()
} // namespace smtk
#include "smtk/bridge/multiscale/Exports.h"
#include "smtk/bridge/multiscale/PartitionBoundariesOperator_xml.h"
#include "smtk/bridge/multiscale/PartitionBoundaries_xml.h"
smtkImplementsModelOperator(
SMTKMULTISCALESESSION_EXPORT,
smtk::bridge::multiscale::PartitionBoundariesOperator,
smtk::bridge::multiscale::PartitionBoundaries,
multiscale_partition_boundaries,
"partition boundaries",
PartitionBoundariesOperator_xml,
PartitionBoundaries_xml,
smtk::bridge::multiscale::Session);
......@@ -7,8 +7,8 @@
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef __smtk_session_multiscale_PartitionBoundariesOperator_h
#define __smtk_session_multiscale_PartitionBoundariesOperator_h
#ifndef __smtk_session_multiscale_PartitionBoundaries_h
#define __smtk_session_multiscale_PartitionBoundaries_h
#include "smtk/bridge/multiscale/Operator.h"
#include "vtkObject.h"
......@@ -23,11 +23,11 @@ namespace smtk {
* cooling plate and ambient air Dirichlet boundaries.
*/
class SMTKMULTISCALESESSION_EXPORT PartitionBoundariesOperator : public Operator
class SMTKMULTISCALESESSION_EXPORT PartitionBoundaries : public Operator
{
public:
smtkTypeMacro(PartitionBoundariesOperator);
smtkCreateMacro(PartitionBoundariesOperator);
smtkTypeMacro(PartitionBoundaries);
smtkCreateMacro(PartitionBoundaries);
smtkSharedFromThisMacro(Operator);
smtkDeclareModelOperator();
......@@ -39,4 +39,4 @@ protected:
} // namespace bridge
} // namespace smtk
#endif // __smtk_session_multiscale_PartitionBoundariesOperator_h
#endif // __smtk_session_multiscale_PartitionBoundaries_h
......@@ -7,7 +7,7 @@
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#include "smtk/bridge/multiscale/operators/PythonScriptOperator.h"
#include "smtk/bridge/multiscale/operators/PythonScript.h"
#include "smtk/bridge/multiscale/Session.h"
......@@ -33,20 +33,20 @@ namespace smtk {
namespace multiscale {
std::string
PythonScriptOperator::listToArgList(std::vector<std::string>& tokens)
PythonScript::listToArgList(std::vector<std::string>& tokens)
{
return this->specToArgList(smtk::attribute::AttributePtr(),tokens);
}
std::string
PythonScriptOperator::specToArgList(smtk::attribute::AttributePtr spec)
PythonScript::specToArgList(smtk::attribute::AttributePtr spec)
{
std::vector<std::string> nullList;
return this->specToArgList(spec,nullList);
}
std::string
PythonScriptOperator::specToArgList(smtk::attribute::AttributePtr spec,
PythonScript::specToArgList(smtk::attribute::AttributePtr spec,
std::vector<std::string>& additionalTokens)
{
std::stringstream preamble;
......@@ -126,7 +126,7 @@ PythonScriptOperator::specToArgList(smtk::attribute::AttributePtr spec,
}
smtk::model::OperatorResult
PythonScriptOperator::executePythonScript(std::string preamble,
PythonScript::executePythonScript(std::string preamble,
std::string pythonScript)
{
if (vtkPythonInterpreter::IsInitialized())
......
......@@ -7,8 +7,8 @@
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef __smtk_session_multiscale_PythonScriptOperator_h
#define __smtk_session_multiscale_PythonScriptOperator_h
#ifndef __smtk_session_multiscale_PythonScript_h
#define __smtk_session_multiscale_PythonScript_h
#include "smtk/bridge/multiscale/Operator.h"
......@@ -22,7 +22,7 @@ namespace smtk {
* controlled using python's argparse module.
*/
class SMTKMULTISCALESESSION_EXPORT PythonScriptOperator : public Operator
class SMTKMULTISCALESESSION_EXPORT PythonScript : public Operator
{
protected:
// Convert a vector of arguments into a formatted argument list
......@@ -45,4 +45,4 @@ protected:
} // namespace bridge
} // namespace smtk
#endif // __smtk_session_multiscale_PythonScriptOperator_h
#endif // __smtk_session_multiscale_PythonScript_h
......@@ -7,7 +7,7 @@
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#include "smtk/bridge/multiscale/operators/RevolveOperator.h"
#include "smtk/bridge/multiscale/operators/Revolve.h"
#include "smtk/attribute/DoubleItem.h"
#include "smtk/attribute/IntItem.h"
......@@ -59,7 +59,7 @@ namespace smtk {
namespace bridge {
namespace multiscale {
smtk::model::OperatorResult RevolveOperator::operateInternal()
smtk::model::OperatorResult Revolve::operateInternal()
{
smtk::model::OperatorResult result;
......@@ -218,12 +218,12 @@ smtk::model::OperatorResult RevolveOperator::operateInternal()
} // namespace smtk
#include "smtk/bridge/multiscale/Exports.h"
#include "smtk/bridge/multiscale/RevolveOperator_xml.h"
#include "smtk/bridge/multiscale/Revolve_xml.h"
smtkImplementsModelOperator(
SMTKMULTISCALESESSION_EXPORT,
smtk::bridge::multiscale::RevolveOperator,
smtk::bridge::multiscale::Revolve,
multiscale_revolve,
"revolve",
RevolveOperator_xml,
Revolve_xml,
smtk::bridge::multiscale::Session);
......@@ -7,8 +7,8 @@
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef __smtk_session_multiscale_RevolveOperator_h
#define __smtk_session_multiscale_RevolveOperator_h
#ifndef __smtk_session_multiscale_Revolve_h
#define __smtk_session_multiscale_Revolve_h
#include "smtk/bridge/multiscale/Operator.h"
#include "vtkObject.h"
......@@ -23,11 +23,11 @@ namespace smtk {
* revolves it about an axis, generating a 3-dimensional mesh.
*/
class SMTKMULTISCALESESSION_EXPORT RevolveOperator : public Operator
class SMTKMULTISCALESESSION_EXPORT Revolve : public Operator
{
public:
smtkTypeMacro(RevolveOperator);
smtkCreateMacro(RevolveOperator);
smtkTypeMacro(Revolve);
smtkCreateMacro(Revolve);
smtkSharedFromThisMacro(Operator);
smtkDeclareModelOperator();
......@@ -39,4 +39,4 @@ protected:
} // namespace bridge
} // namespace smtk
#endif // __smtk_session_multiscale_RevolveOperator_h
#endif // __smtk_session_multiscale_Revolve_h
......@@ -8,33 +8,33 @@
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef pybind_smtk_bridge_multiscale_operators_Dream3DPipelineOperator_h
#define pybind_smtk_bridge_multiscale_operators_Dream3DPipelineOperator_h
#ifndef pybind_smtk_bridge_multiscale_operators_Dream3DPipeline_h
#define pybind_smtk_bridge_multiscale_operators_Dream3DPipeline_h
#include <pybind11/pybind11.h>
#include "smtk/bridge/multiscale/operators/Dream3DPipelineOperator.h"
#include "smtk/bridge/multiscale/operators/Dream3DPipeline.h"
#include "smtk/model/Operator.h"
namespace py = pybind11;
PySharedPtrClass< smtk::bridge::multiscale::Dream3DPipelineOperator, smtk::bridge::multiscale::PythonScriptOperator > pybind11_init_smtk_bridge_multiscale_Dream3DPipelineOperator(py::module &m)
PySharedPtrClass< smtk::bridge::multiscale::Dream3DPipeline, smtk::bridge::multiscale::PythonScript > pybind11_init_smtk_bridge_multiscale_Dream3DPipeline(py::module &m)
{
PySharedPtrClass< smtk::bridge::multiscale::Dream3DPipelineOperator, smtk::bridge::multiscale::PythonScriptOperator > instance(m, "Dream3DPipelineOperator");
PySharedPtrClass< smtk::bridge::multiscale::Dream3DPipeline, smtk::bridge::multiscale::PythonScript > instance(m, "Dream3DPipeline");
instance
.def(py::init<>())
.def(py::init<::smtk::bridge::multiscale::Dream3DPipelineOperator const &>())
.def("deepcopy", (smtk::bridge::multiscale::Dream3DPipelineOperator & (smtk::bridge::multiscale::Dream3DPipelineOperator::*)(::smtk::bridge::multiscale::Dream3DPipelineOperator const &)) &smtk::bridge::multiscale::Dream3DPipelineOperator::operator=)
.def_static("baseCreate", &smtk::bridge::multiscale::Dream3DPipelineOperator::baseCreate)
.def("className", &smtk::bridge::multiscale::Dream3DPipelineOperator::className)
.def("classname", &smtk::bridge::multiscale::Dream3DPipelineOperator::classname)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::Dream3DPipelineOperator> (*)()) &smtk::bridge::multiscale::Dream3DPipelineOperator::create)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::Dream3DPipelineOperator> (*)(::std::shared_ptr<smtk::bridge::multiscale::Dream3DPipelineOperator> &)) &smtk::bridge::multiscale::Dream3DPipelineOperator::create, py::arg("ref"))
.def("name", &smtk::bridge::multiscale::Dream3DPipelineOperator::name)
.def("shared_from_this", (std::shared_ptr<const smtk::bridge::multiscale::Dream3DPipelineOperator> (smtk::bridge::multiscale::Dream3DPipelineOperator::*)() const) &smtk::bridge::multiscale::Dream3DPipelineOperator::shared_from_this)
.def("shared_from_this", (std::shared_ptr<smtk::bridge::multiscale::Dream3DPipelineOperator> (smtk::bridge::multiscale::Dream3DPipelineOperator::*)()) &smtk::bridge::multiscale::Dream3DPipelineOperator::shared_from_this)
.def_readwrite_static("operatorName", &smtk::bridge::multiscale::Dream3DPipelineOperator::operatorName)
.def(py::init<::smtk::bridge::multiscale::Dream3DPipeline const &>())
.def("deepcopy", (smtk::bridge::multiscale::Dream3DPipeline & (smtk::bridge::multiscale::Dream3DPipeline::*)(::smtk::bridge::multiscale::Dream3DPipeline const &)) &smtk::bridge::multiscale::Dream3DPipeline::operator=)
.def_static("baseCreate", &smtk::bridge::multiscale::Dream3DPipeline::baseCreate)
.def("className", &smtk::bridge::multiscale::Dream3DPipeline::className)
.def("classname", &smtk::bridge::multiscale::Dream3DPipeline::classname)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::Dream3DPipeline> (*)()) &smtk::bridge::multiscale::Dream3DPipeline::create)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::Dream3DPipeline> (*)(::std::shared_ptr<smtk::bridge::multiscale::Dream3DPipeline> &)) &smtk::bridge::multiscale::Dream3DPipeline::create, py::arg("ref"))
.def("name", &smtk::bridge::multiscale::Dream3DPipeline::name)
.def("shared_from_this", (std::shared_ptr<const smtk::bridge::multiscale::Dream3DPipeline> (smtk::bridge::multiscale::Dream3DPipeline::*)() const) &smtk::bridge::multiscale::Dream3DPipeline::shared_from_this)
.def("shared_from_this", (std::shared_ptr<smtk::bridge::multiscale::Dream3DPipeline> (smtk::bridge::multiscale::Dream3DPipeline::*)()) &smtk::bridge::multiscale::Dream3DPipeline::shared_from_this)
.def_readwrite_static("operatorName", &smtk::bridge::multiscale::Dream3DPipeline::operatorName)
;
return instance;
}
......
......@@ -25,10 +25,10 @@ using PySharedPtrClass = py::class_<T, std::shared_ptr<T>, Args...>;
#include "PybindPointerDefs.h"
#include "PybindSession.h"
#include "PybindDream3DPipelineOperator.h"
#include "PybindPartitionBoundariesOperator.h"
#include "PybindPythonScriptOperator.h"
#include "PybindRevolveOperator.h"
#include "PybindDream3DPipeline.h"
#include "PybindPartitionBoundaries.h"
#include "PybindPythonScript.h"
#include "PybindRevolve.h"
PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>);
......@@ -41,10 +41,10 @@ PYBIND11_PLUGIN(smtkPybindMultiscaleSession)
PySharedPtrClass< smtk::bridge::multiscale::Operator, smtk::model::Operator > smtk_bridge_multiscale_Operator = pybind11_init_smtk_bridge_multiscale_Operator(multiscale);
PySharedPtrClass< smtk::bridge::multiscale::Session, smtk::bridge::mesh::Session > smtk_bridge_multiscale_Session = pybind11_init_smtk_bridge_multiscale_Session(multiscale);
PySharedPtrClass< smtk::bridge::multiscale::PythonScriptOperator, smtk::bridge::multiscale::Operator > smtk_bridge_multiscale_PythonScriptOperator = pybind11_init_smtk_bridge_multiscale_PythonScriptOperator(multiscale);
PySharedPtrClass< smtk::bridge::multiscale::RevolveOperator, smtk::bridge::multiscale::Operator > smtk_bridge_multiscale_RevolveOperator = pybind11_init_smtk_bridge_multiscale_RevolveOperator(multiscale);
PySharedPtrClass< smtk::bridge::multiscale::Dream3DPipelineOperator, smtk::bridge::multiscale::PythonScriptOperator > smtk_bridge_multiscale_Dream3DPipelineOperator = pybind11_init_smtk_bridge_multiscale_Dream3DPipelineOperator(multiscale);
PySharedPtrClass< smtk::bridge::multiscale::PartitionBoundariesOperator, smtk::bridge::multiscale::Operator > smtk_bridge_multiscale_PartitionBoundariesOperator = pybind11_init_smtk_bridge_multiscale_PartitionBoundariesOperator(multiscale);
PySharedPtrClass< smtk::bridge::multiscale::PythonScript, smtk::bridge::multiscale::Operator > smtk_bridge_multiscale_PythonScript = pybind11_init_smtk_bridge_multiscale_PythonScript(multiscale);
PySharedPtrClass< smtk::bridge::multiscale::Revolve, smtk::bridge::multiscale::Operator > smtk_bridge_multiscale_Revolve = pybind11_init_smtk_bridge_multiscale_Revolve(multiscale);
PySharedPtrClass< smtk::bridge::multiscale::Dream3DPipeline, smtk::bridge::multiscale::PythonScript > smtk_bridge_multiscale_Dream3DPipeline = pybind11_init_smtk_bridge_multiscale_Dream3DPipeline(multiscale);
PySharedPtrClass< smtk::bridge::multiscale::PartitionBoundaries, smtk::bridge::multiscale::Operator > smtk_bridge_multiscale_PartitionBoundaries = pybind11_init_smtk_bridge_multiscale_PartitionBoundaries(multiscale);
return multiscale.ptr();
}
......@@ -8,34 +8,34 @@
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef pybind_smtk_bridge_multiscale_operators_PartitionBoundariesOperator_h
#define pybind_smtk_bridge_multiscale_operators_PartitionBoundariesOperator_h
#ifndef pybind_smtk_bridge_multiscale_operators_PartitionBoundaries_h
#define pybind_smtk_bridge_multiscale_operators_PartitionBoundaries_h
#include <pybind11/pybind11.h>
#include "smtk/bridge/multiscale/operators/PartitionBoundariesOperator.h"
#include "smtk/bridge/multiscale/operators/PartitionBoundaries.h"
#include "smtk/bridge/multiscale/Operator.h"
#include "smtk/model/Operator.h"
namespace py = pybind11;
PySharedPtrClass< smtk::bridge::multiscale::PartitionBoundariesOperator, smtk::bridge::multiscale::Operator > pybind11_init_smtk_bridge_multiscale_PartitionBoundariesOperator(py::module &m)
PySharedPtrClass< smtk::bridge::multiscale::PartitionBoundaries, smtk::bridge::multiscale::Operator > pybind11_init_smtk_bridge_multiscale_PartitionBoundaries(py::module &m)
{
PySharedPtrClass< smtk::bridge::multiscale::PartitionBoundariesOperator, smtk::bridge::multiscale::Operator > instance(m, "PartitionBoundariesOperator");
PySharedPtrClass< smtk::bridge::multiscale::PartitionBoundaries, smtk::bridge::multiscale::Operator > instance(m, "PartitionBoundaries");
instance
.def(py::init<>())
.def(py::init<::smtk::bridge::multiscale::PartitionBoundariesOperator const &>())
.def("deepcopy", (smtk::bridge::multiscale::PartitionBoundariesOperator & (smtk::bridge::multiscale::PartitionBoundariesOperator::*)(::smtk::bridge::multiscale::PartitionBoundariesOperator const &)) &smtk::bridge::multiscale::PartitionBoundariesOperator::operator=)
.def_static("baseCreate", &smtk::bridge::multiscale::PartitionBoundariesOperator::baseCreate)
.def("className", &smtk::bridge::multiscale::PartitionBoundariesOperator::className)
.def("classname", &smtk::bridge::multiscale::PartitionBoundariesOperator::classname)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::PartitionBoundariesOperator> (*)()) &smtk::bridge::multiscale::PartitionBoundariesOperator::create)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::PartitionBoundariesOperator> (*)(::std::shared_ptr<smtk::bridge::multiscale::PartitionBoundariesOperator> &)) &smtk::bridge::multiscale::PartitionBoundariesOperator::create, py::arg("ref"))
.def("name", &smtk::bridge::multiscale::PartitionBoundariesOperator::name)
.def("shared_from_this", (std::shared_ptr<const smtk::bridge::multiscale::PartitionBoundariesOperator> (smtk::bridge::multiscale::PartitionBoundariesOperator::*)() const) &smtk::bridge::multiscale::PartitionBoundariesOperator::shared_from_this)
.def("shared_from_this", (std::shared_ptr<smtk::bridge::multiscale::PartitionBoundariesOperator> (smtk::bridge::multiscale::PartitionBoundariesOperator::*)()) &smtk::bridge::multiscale::PartitionBoundariesOperator::shared_from_this)
.def_readwrite_static("operatorName", &smtk::bridge::multiscale::PartitionBoundariesOperator::operatorName)
.def(py::init<::smtk::bridge::multiscale::PartitionBoundaries const &>())
.def("deepcopy", (smtk::bridge::multiscale::PartitionBoundaries & (smtk::bridge::multiscale::PartitionBoundaries::*)(::smtk::bridge::multiscale::PartitionBoundaries const &)) &smtk::bridge::multiscale::PartitionBoundaries::operator=)
.def_static("baseCreate", &smtk::bridge::multiscale::PartitionBoundaries::baseCreate)
.def("className", &smtk::bridge::multiscale::PartitionBoundaries::className)
.def("classname", &smtk::bridge::multiscale::PartitionBoundaries::classname)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::PartitionBoundaries> (*)()) &smtk::bridge::multiscale::PartitionBoundaries::create)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::PartitionBoundaries> (*)(::std::shared_ptr<smtk::bridge::multiscale::PartitionBoundaries> &)) &smtk::bridge::multiscale::PartitionBoundaries::create, py::arg("ref"))
.def("name", &smtk::bridge::multiscale::PartitionBoundaries::name)
.def("shared_from_this", (std::shared_ptr<const smtk::bridge::multiscale::PartitionBoundaries> (smtk::bridge::multiscale::PartitionBoundaries::*)() const) &smtk::bridge::multiscale::PartitionBoundaries::shared_from_this)
.def("shared_from_this", (std::shared_ptr<smtk::bridge::multiscale::PartitionBoundaries> (smtk::bridge::multiscale::PartitionBoundaries::*)()) &smtk::bridge::multiscale::PartitionBoundaries::shared_from_this)
.def_readwrite_static("operatorName", &smtk::bridge::multiscale::PartitionBoundaries::operatorName)
;
return instance;
}
......
......@@ -8,22 +8,22 @@
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef pybind_smtk_bridge_multiscale_operators_PythonScriptOperator_h
#define pybind_smtk_bridge_multiscale_operators_PythonScriptOperator_h
#ifndef pybind_smtk_bridge_multiscale_operators_PythonScript_h
#define pybind_smtk_bridge_multiscale_operators_PythonScript_h
#include <pybind11/pybind11.h>
#include "smtk/bridge/multiscale/operators/PythonScriptOperator.h"
#include "smtk/bridge/multiscale/operators/PythonScript.h"
#include "smtk/bridge/multiscale/Operator.h"
namespace py = pybind11;
PySharedPtrClass< smtk::bridge::multiscale::PythonScriptOperator, smtk::bridge::multiscale::Operator > pybind11_init_smtk_bridge_multiscale_PythonScriptOperator(py::module &m)
PySharedPtrClass< smtk::bridge::multiscale::PythonScript, smtk::bridge::multiscale::Operator > pybind11_init_smtk_bridge_multiscale_PythonScript(py::module &m)
{
PySharedPtrClass< smtk::bridge::multiscale::PythonScriptOperator, smtk::bridge::multiscale::Operator > instance(m, "PythonScriptOperator");
PySharedPtrClass< smtk::bridge::multiscale::PythonScript, smtk::bridge::multiscale::Operator > instance(m, "PythonScript");
instance
.def("deepcopy", (smtk::bridge::multiscale::PythonScriptOperator & (smtk::bridge::multiscale::PythonScriptOperator::*)(::smtk::bridge::multiscale::PythonScriptOperator const &)) &smtk::bridge::multiscale::PythonScriptOperator::operator=)
.def("deepcopy", (smtk::bridge::multiscale::PythonScript & (smtk::bridge::multiscale::PythonScript::*)(::smtk::bridge::multiscale::PythonScript const &)) &smtk::bridge::multiscale::PythonScript::operator=)
;
return instance;
}
......
......@@ -8,34 +8,34 @@
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef pybind_smtk_bridge_multiscale_operators_RevolveOperator_h
#define pybind_smtk_bridge_multiscale_operators_RevolveOperator_h
#ifndef pybind_smtk_bridge_multiscale_operators_Revolve_h
#define pybind_smtk_bridge_multiscale_operators_Revolve_h
#include <pybind11/pybind11.h>
#include "smtk/bridge/multiscale/operators/RevolveOperator.h"
#include "smtk/bridge/multiscale/operators/Revolve.h"
#include "smtk/bridge/multiscale/Operator.h"
#include "smtk/model/Operator.h"
namespace py = pybind11;
PySharedPtrClass< smtk::bridge::multiscale::RevolveOperator, smtk::bridge::multiscale::Operator > pybind11_init_smtk_bridge_multiscale_RevolveOperator(py::module &m)
PySharedPtrClass< smtk::bridge::multiscale::Revolve, smtk::bridge::multiscale::Operator > pybind11_init_smtk_bridge_multiscale_Revolve(py::module &m)
{
PySharedPtrClass< smtk::bridge::multiscale::RevolveOperator, smtk::bridge::multiscale::Operator > instance(m, "RevolveOperator");
PySharedPtrClass< smtk::bridge::multiscale::Revolve, smtk::bridge::multiscale::Operator > instance(m, "Revolve");
instance
.def(py::init<>())
.def(py::init<::smtk::bridge::multiscale::RevolveOperator const &>())
.def("deepcopy", (smtk::bridge::multiscale::RevolveOperator & (smtk::bridge::multiscale::RevolveOperator::*)(::smtk::bridge::multiscale::RevolveOperator const &)) &smtk::bridge::multiscale::RevolveOperator::operator=)
.def_static("baseCreate", &smtk::bridge::multiscale::RevolveOperator::baseCreate)
.def("className", &smtk::bridge::multiscale::RevolveOperator::className)
.def("classname", &smtk::bridge::multiscale::RevolveOperator::classname)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::RevolveOperator> (*)()) &smtk::bridge::multiscale::RevolveOperator::create)
.def_static("create", (std::shared_ptr<smtk::bridge::multiscale::RevolveOperator> (*)(::std::shared_ptr<smtk::bridge::multiscale::RevolveOperator> &)) &smtk::bridge::multiscale::RevolveOperator::create, py::arg("ref"))
.def("name", &smtk::bridge::multiscale::RevolveOperator::name)
.def("shared_from_this", (std::shared_ptr<const smtk::bridge::multiscale::RevolveOperator> (smtk::bridge::multiscale::RevolveOperator::*)() const) &smtk::bridge::multiscale::RevolveOperator::shared_from_this)
.def("shared_from_this", (std::shared_ptr<smtk::bridge::multiscale::RevolveOperator> (smtk::bridge::multiscale::RevolveOperator::*)()) &smtk::bridge::multiscale::RevolveOperator::shared_from_this)
.def_readwrite_static("operatorName", &smtk::bridge::multiscale::RevolveOperator::operatorName)
.def(py::init<::smtk::bridge::multiscale::Revolve const &>())
.def("deepcopy", (smtk::bridge::multiscale::Revolve & (smtk::bridge::multiscale::Revolve::*)(::smtk::bridge::multiscale::Revolve const &)) &smtk::bridge::multiscale::Revolve::operator=)
.def_static("baseCreate",