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
Container Registry
Model registry
Operate
Environments
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
Antoine Belvire
otb
Commits
a6895c9a
Commit
a6895c9a
authored
13 years ago
by
OTB Bot
Browse files
Options
Downloads
Patches
Plain Diff
STYLE
parent
8f54185b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Simulation/otbImageSimulationMethod.h
+17
-17
17 additions, 17 deletions
Code/Simulation/otbImageSimulationMethod.h
Code/Simulation/otbVectorDataToLabelMapWithAttributesFilter.h
+15
-15
15 additions, 15 deletions
.../Simulation/otbVectorDataToLabelMapWithAttributesFilter.h
with
32 additions
and
32 deletions
Code/Simulation/otbImageSimulationMethod.h
+
17
−
17
View file @
a6895c9a
...
...
@@ -116,44 +116,44 @@ public:
/** Standard Macro*/
itkTypeMacro
(
ImageSimulationMethod
,
ImageSource
)
;
itkNewMacro
(
Self
)
;
;
itkNewMacro
(
Self
)
;
itkSetMacro
(
NumberOfComponentsPerPixel
,
unsigned
int
)
;
itkGetMacro
(
NumberOfComponentsPerPixel
,
unsigned
int
)
;
;
itkGetMacro
(
NumberOfComponentsPerPixel
,
unsigned
int
)
;
//prolate radius
itkSetMacro
(
Radius
,
unsigned
int
)
;
itkGetMacro
(
Radius
,
unsigned
int
)
;
;
itkGetMacro
(
Radius
,
unsigned
int
)
;
itkSetMacro
(
SatRSRFilename
,
std
::
string
)
;
itkGetMacro
(
SatRSRFilename
,
std
::
string
)
;
;
itkGetMacro
(
SatRSRFilename
,
std
::
string
)
;
itkSetMacro
(
PathRoot
,
std
::
string
)
;
itkGetMacro
(
PathRoot
,
std
::
string
)
;
;
itkGetMacro
(
PathRoot
,
std
::
string
)
;
itkSetMacro
(
Mean
,
double
)
;
itkGetMacro
(
Mean
,
double
)
;
;
itkGetMacro
(
Mean
,
double
)
;
itkSetMacro
(
Variance
,
double
)
;
itkGetMacro
(
Variance
,
double
)
;
;
itkGetMacro
(
Variance
,
double
)
;
itkSetObjectMacro
(
Spatialisation
,
SpatialisationType
)
;
;
// itkSetObjectMacro(LabelMapToSimulatedImage, LabelMapToSimulatedImageType);
// itkSetObjectMacro(FTM, FTMType);
/** Set/Get Input */
itkSetObjectMacro
(
InputVectorData
,
InputVectorDataType
)
;
itkGetConstObjectMacro
(
InputVectorData
,
InputVectorDataType
)
;
;
itkGetConstObjectMacro
(
InputVectorData
,
InputVectorDataType
)
;
// void SetInput(const InputVectorDataType *object);
// InputVectorDataType * GetInput();
...
...
This diff is collapsed.
Click to expand it.
Code/Simulation/otbVectorDataToLabelMapWithAttributesFilter.h
+
15
−
15
View file @
a6895c9a
...
...
@@ -113,44 +113,44 @@ public:
* Run-time type information (and related methods)
*/
itkTypeMacro
(
VectorDataToLabelMapWithAttributesFilter
,
ImageToImageFilter
)
;
;
/**
* Method for creation through the object factory.
*/
itkNewMacro
(
Self
)
;
;
/**
* Set/Get the value used as "background" in the output image.
* Defaults to NumericTraits<PixelType>::NonpositiveMin().
*/
itkSetMacro
(
BackgroundValue
,
OutputLabelMapPixelType
)
;
itkGetConstMacro
(
BackgroundValue
,
OutputLabelMapPixelType
)
;
;
itkGetConstMacro
(
BackgroundValue
,
OutputLabelMapPixelType
)
;
/** Set the size of the output image. */
itkSetMacro
(
Size
,
SizeType
)
;
;
/** Get the size of the output image. */
itkGetConstReferenceMacro
(
Size
,
SizeType
)
;
;
/** Set the origin of the vector data.
* \sa GetOrigin() */
itkSetMacro
(
Origin
,
OriginType
)
;
;
virtual
void
SetOrigin
(
const
double
origin
[
2
]);
virtual
void
SetOrigin
(
const
float
origin
[
2
]);
itkGetConstReferenceMacro
(
Origin
,
OriginType
)
;
;
/** Get/Set start index*/
itkGetConstReferenceMacro
(
StartIndex
,
IndexType
)
;
itkSetMacro
(
StartIndex
,
IndexType
)
;
;
itkSetMacro
(
StartIndex
,
IndexType
)
;
/** Set the spacing (size of a pixel) of the vector data.
* \sa GetSpacing() */
virtual
void
SetSpacing
(
const
SpacingType
&
spacing
);
...
...
@@ -158,7 +158,7 @@ public:
virtual
void
SetSpacing
(
const
float
spacing
[
2
]);
itkGetConstReferenceMacro
(
Spacing
,
SpacingType
)
;
;
/** Set/Get the Vector data input of this process object. */
virtual
void
SetInput
(
const
InputVectorDataType
*
input
);
...
...
@@ -168,13 +168,13 @@ public:
/** Set/Get Automatic size computation mode*/
itkSetMacro
(
AutomaticSizeComputation
,
bool
)
;
itkGetMacro
(
AutomaticSizeComputation
,
bool
)
;
;
itkGetMacro
(
AutomaticSizeComputation
,
bool
)
;
/** Set/Get Initial label value */
itkSetMacro
(
InitialLabel
,
LabelType
)
;
itkGetMacro
(
InitialLabel
,
LabelType
)
;
;
itkGetMacro
(
InitialLabel
,
LabelType
)
;
virtual
void
GenerateOutputInformation
();
...
...
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