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
Andrew Bauer
VTK
Commits
bc390d8d
Commit
bc390d8d
authored
Aug 23, 1994
by
Will Schroeder
Browse files
*** empty log message ***
parent
b4f2d1ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/Mapper.hh
View file @
bc390d8d
...
...
@@ -39,6 +39,9 @@ public:
char
*
GetClassName
()
{
return
"vlMapper"
;};
void
PrintSelf
(
ostream
&
os
,
vlIndent
indent
);
void
operator
=
(
const
vlMapper
&
m
);
unsigned
long
int
GetMTime
();
void
SetStartRender
(
void
(
*
f
)(
void
*
),
void
*
arg
);
void
SetEndRender
(
void
(
*
f
)(
void
*
),
void
*
arg
);
...
...
@@ -59,7 +62,7 @@ public:
vlGetObjectMacro
(
LookupTable
,
vlLookupTable
);
// Description:
//
Set
flag to control whether scalar data is used to color objects.
//
Turn on/off
flag to control whether scalar data is used to color objects.
vlSetMacro
(
ScalarsVisible
,
int
);
vlGetMacro
(
ScalarsVisible
,
int
);
vlBooleanMacro
(
ScalarsVisible
,
int
);
...
...
src/Cutter.cc
View file @
bc390d8d
...
...
@@ -30,6 +30,9 @@ vlCutter::~vlCutter()
if
(
this
->
CutFunction
)
this
->
CutFunction
->
UnRegister
(
this
);
}
// Description:
// Overload standard modified time function. If cut functions is modified,
// then we are modified as well.
unsigned
long
vlCutter
::
GetMTime
()
{
unsigned
long
mTime
=
this
->
MTime
.
GetMTime
();
...
...
src/Mapper.cc
View file @
bc390d8d
...
...
@@ -38,6 +38,23 @@ vlMapper::~vlMapper()
}
}
// Description:
// Overload standard modified time function. If cut functions is modified,
// then we are modified as well.
unsigned
long
vlMapper
::
GetMTime
()
{
unsigned
long
mTime
=
this
->
MTime
.
GetMTime
();
unsigned
long
lutMTime
;
if
(
this
->
LookupTable
!=
NULL
)
{
lutMTime
=
this
->
LookupTable
->
GetMTime
();
mTime
=
(
lutMTime
>
mTime
?
lutMTime
:
mTime
);
}
return
mTime
;
}
void
vlMapper
::
operator
=
(
const
vlMapper
&
m
)
{
this
->
SetLookupTable
(
m
.
LookupTable
);
...
...
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