[Insight-users] itk::Object::GetMTime

Luis Ibanez luis.ibanez at kitware.com
Sat Jul 5 12:04:31 EDT 2008


Hi Soosho,

The MTime is the "time" of the last modification of an object.

It is not really "clock" time, but simply an integer that gets
incremented every time that the "Modified()" method of a class
is called.

For example, if you modify the Sigma value of the Gaussian
filter, that will have as secondary effect a call to the
Modified() method, and will result in updating that integer
number.

As a user of ITK you should rarely (or never) be concerned
about this method. Only developers of new ITK classes are
supposed to call this method.

If you are looking for classes for profiling performance of
ITK algorithms, then you should rather look at the classes


    itkTimeProbe
    itkTimeProbeCollectorBase



    Regards,


       Luis


-------------
soosho wrote:
> Hi All 
> 
> Does anybody knows what is the use of the following method??
> 
>   virtual unsigned long itk::Object::GetMTime   (    )    const
>   [virtual]
>      
> Regards,
> Soosho


More information about the Insight-users mailing list