Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
7be70e48
Commit
7be70e48
authored
13 years ago
by
OTB Bot
Browse files
Options
Downloads
Patches
Plain Diff
STYLE
parent
00af6941
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Wrappers/SWIG/itkPyCommand.cxx
+3
-4
3 additions, 4 deletions
Code/Wrappers/SWIG/itkPyCommand.cxx
Code/Wrappers/SWIG/itkPyCommand.h
+7
-7
7 additions, 7 deletions
Code/Wrappers/SWIG/itkPyCommand.h
with
10 additions
and
11 deletions
Code/Wrappers/SWIG/itkPyCommand.cxx
+
3
−
4
View file @
7be70e48
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: itkPyCommand.cxx,v $
Module: $RCSfile: itkPyCommand.cxx,
v $
Language: C++
Date: $Date: 2006/09/06 20:58:42 $
Version: $Revision: 1.1 $
...
...
@@ -9,8 +9,8 @@
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
...
...
@@ -106,7 +106,6 @@ void PyCommand::PyExecute()
}
}
// namespace itk
This diff is collapsed.
Click to expand it.
Code/Wrappers/SWIG/itkPyCommand.h
+
7
−
7
View file @
7be70e48
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: itkPyCommand.h,v $
Module: $RCSfile: itkPyCommand.h,
v $
Language: C++
Date: $Date: 2006/09/06 20:58:42 $
Version: $Revision: 1.1 $
...
...
@@ -9,8 +9,8 @@
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
...
...
@@ -29,10 +29,10 @@ namespace itk
/** \class PyCommand
* \brief Command subclass that calls a Python callable object, e.g.
* a Python function.
*
*
* With this class, arbitrary Python callable objects (e.g. functions)
* can be associated with an instance to be used in AddObserver calls.
* This is analogous to itk::TclCommand, but then a tad more flexible.
;)
* This is analogous to itk::TclCommand, but then a tad more flexible.;
)
*
* This class was contributed by Charl P. Botha <cpbotha |AT| ieee.org>
*/
...
...
@@ -46,12 +46,12 @@ public:
typedef
SmartPointer
<
Self
>
Pointer
;
///! Run-time type information (and related methods).
itkTypeMacro
(
PyCommand
,
Command
);
itkTypeMacro
(
PyCommand
,
Command
);
///! Method for creation through the object factory.
itkNewMacro
(
Self
);
/**
/**
* Assign a Python callable object to be used. You don't have to keep
* a binding to the callable, PyCommand will also take out a reference
* to make sure the Callable sticks around.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment