Update();
}
+//----------------------------------------------------------------------------
+void
+VISU_GaussPtsAct
+::UpdateFromFactory()
+{
+ myUpdateFromFactoryTime.Modified();
+ myActorFactory->UpdateActor(this);
+ Update();
+}
+
+//----------------------------------------------------------------------------
+unsigned long int
+VISU_GaussPtsAct
+::GetMTime()
+{
+ unsigned long int aTime = Superclass::GetMTime();
+ aTime = std::max(aTime, myGaussPointsPL->GetPSMapper()->GetMTime() );
+ return aTime;
+}
+
//==============================================================================
vtkStandardNewMacro(VISU_GaussPtsAct1);
this->PointSpriteTexture = 0;
this->UseOpenGLMapper = false;
-
- this->TempMapper = vtkPolyDataMapper::New();
}
//-----------------------------------------------------------------------------
VISU_OpenGLPointSpriteMapper::~VISU_OpenGLPointSpriteMapper()
if( this->LastWindow )
this->ReleaseGraphicsResources(this->LastWindow);
-
- if( this->TempMapper )
- this->TempMapper->Delete();
}
//-----------------------------------------------------------------------------
return;
this->PrimitiveType = thePrimitiveType;
- this->Modified();
}
//-----------------------------------------------------------------------------
return;
this->PointSpriteClamp = theClamp;
- this->Modified();
}
//-----------------------------------------------------------------------------
return;
this->AverageCellSize = theSize;
- this->Modified();
}
//-----------------------------------------------------------------------------
return;
this->PointSpriteSize = theSize;
- this->Modified();
}
//-----------------------------------------------------------------------------
return;
this->PointSpriteMinSize = theMinSize;
- this->Modified();
}
//-----------------------------------------------------------------------------
return;
this->PointSpriteMaxSize = theMaxSize;
- this->Modified();
}
//-----------------------------------------------------------------------------
return;
this->PointSpriteMagnification = theMagnification;
- this->Modified();
}
//-----------------------------------------------------------------------------
return;
this->PointSpriteAlphaThreshold = theAlphaThreshold;
- this->Modified();
}
//-----------------------------------------------------------------------------
act->GetProperty()->GetMTime() > this->BuildTime ||
ren->GetRenderWindow() != this->LastWindow)
{
- /* To contol when the mapper is recalculated
+ /* To control when the mapper is recalculated
cout<<"VISU_OpenGLPointSpriteMapper::RenderPiece - "
<<(this->GetMTime() > this->BuildTime)<<"; "
<<(input->GetMTime() > this->BuildTime)<<"; "