Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK
Commits
73ecf2ed
Commit
73ecf2ed
authored
Jun 06, 1994
by
Will Schroeder
Browse files
*** empty log message ***
parent
85ae15ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/AppendF.hh
View file @
73ecf2ed
...
...
@@ -29,7 +29,7 @@ class vlAppendFilter : public vlUnstructuredGrid, public vlFilter
{
public:
vlAppendFilter
();
~
vlAppendFilter
()
{}
;
~
vlAppendFilter
();
char
*
GetClassName
()
{
return
"vlAppendFilter"
;};
void
PrintSelf
(
ostream
&
os
,
vlIndent
indent
);
...
...
include/RibbonF.hh
View file @
73ecf2ed
...
...
@@ -34,7 +34,7 @@ public:
vlSetClampMacro
(
Radius
,
float
,
0
,
LARGE_FLOAT
);
vlGetMacro
(
Radius
,
float
);
vlSetClampMacro
(
Angle
,
float
,
0
,
18
0
);
vlSetClampMacro
(
Angle
,
float
,
0
,
36
0
);
vlGetMacro
(
Angle
,
float
);
protected:
...
...
src/AppendF.cc
View file @
73ecf2ed
...
...
@@ -22,11 +22,23 @@ vlAppendFilter::vlAppendFilter()
}
vlAppendFilter
::~
vlAppendFilter
()
{
vlDataSet
*
ds
;
for
(
int
i
=
0
;
i
<
this
->
Input
.
GetNumberOfItems
();
i
++
)
{
ds
=
this
->
Input
.
GetItem
(
i
+
1
);
ds
->
UnRegister
(
this
);
}
}
void
vlAppendFilter
::
AddInput
(
vlDataSet
*
ds
)
{
if
(
!
this
->
Input
.
IsItemPresent
(
ds
)
)
{
this
->
Modified
();
ds
->
Register
(
this
);
this
->
Input
.
AddItem
(
ds
);
}
}
...
...
@@ -36,6 +48,7 @@ void vlAppendFilter::RemoveInput(vlDataSet *ds)
if
(
this
->
Input
.
IsItemPresent
(
ds
)
)
{
this
->
Modified
();
ds
->
UnRegister
(
this
);
this
->
Input
.
RemoveItem
(
ds
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment