Commit bc390d8d authored by Will Schroeder's avatar Will Schroeder
Browse files

*** empty log message ***

parent b4f2d1ad
......@@ -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);
......
......@@ -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();
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment