Skip to content
GitLab
Menu
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
18c0fbb2
Commit
18c0fbb2
authored
Mar 03, 1994
by
Will Schroeder
Browse files
ENH: Proper treatment of Set/Get/Free source pointer.
parent
a00719d9
Changes
2
Show whitespace changes
Inline
Side-by-side
include/Glyph3D.hh
View file @
18c0fbb2
...
...
@@ -30,12 +30,12 @@ class vlGlyph3D : public vlDataSetToPolyFilter
{
public:
vlGlyph3D
();
~
vlGlyph3D
()
{}
;
~
vlGlyph3D
();
char
*
GetClassName
()
{
return
"vlGlyph3D"
;};
void
PrintSelf
(
ostream
&
os
,
vlIndent
indent
);
vlSetMacro
(
Source
,
vlPolyData
*
);
vlGetMacro
(
Source
,
vlPolyData
*
);
vlSet
Object
Macro
(
Source
,
vlPolyData
);
vlGet
Object
Macro
(
Source
,
vlPolyData
);
vlBooleanMacro
(
Scaling
,
int
);
vlSetMacro
(
Scaling
,
int
);
...
...
src/Glyph3D.cc
View file @
18c0fbb2
...
...
@@ -27,6 +27,14 @@ vlGlyph3D::vlGlyph3D()
this
->
Range
[
0
]
=
1.0
;
}
vlGlyph3D
::~
vlGlyph3D
()
{
if
(
this
->
Source
)
{
this
->
Source
->
UnRegister
((
void
*
)
this
);
}
}
void
vlGlyph3D
::
PrintSelf
(
ostream
&
os
,
vlIndent
indent
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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