ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkTimePointUtility Class Reference

vtkTimePointUtility - performs common time operations More...

Inheritance diagram for Kitware.VTK.vtkTimePointUtility:
[legend]
Collaboration diagram for Kitware.VTK.vtkTimePointUtility:
[legend]

List of all members.

Public Types

enum  ISO8601_DATE_WrapperEnum {
  ISO8601_DATE = 2, ISO8601_DATETIME = 1, ISO8601_DATETIME_MILLIS = 0, ISO8601_TIME = 4,
  ISO8601_TIME_MILLIS = 3
}
 Retrieve the milliseconds from the start of the last second. More...

Public Member Functions

 vtkTimePointUtility (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkTimePointUtility ()
 Undocumented Block.
override int IsA (string type)
 Undocumented Block.
new vtkTimePointUtility NewInstance ()
 Undocumented Block.

Static Public Member Functions

static new vtkTimePointUtility New ()
 Undocumented Block.
static ulong DateTimeToTimePoint (int year, int month, int day, int hour, int minute, int sec, int millis)
 Return the time point for a date and time.
static ulong DateToTimePoint (int year, int month, int day)
 Return the time point for 12:00am on a specified day.
static void GetDate (ulong time, ref int year, ref int month, ref int day)
 Retrieve the year, month, and day of a time point. Everything but the first argument are output parameters.
static void GetDateTime (ulong time, ref int year, ref int month, ref int day, ref int hour, ref int minute, ref int second, ref int millis)
 Retrieve the date and time of a time point. Everything but the first argument are output parameters.
static int GetDay (ulong time)
 Retrieve the day of the month from a time point.
static int GetHour (ulong time)
 Retrieve the hour of the day from the time point.
static int GetMillisecond (ulong time)
 Retrieve the milliseconds from the start of the last second.
static int GetMinute (ulong time)
 Retrieve the number of minutes from the start of the last hour.
static int GetMonth (ulong time)
 Retrieve the month from a time point.
static int GetSecond (ulong time)
 Retrieve the number of seconds from the start of the last minute.
static void GetTime (ulong time, ref int hour, ref int minute, ref int second, ref int millis)
 Retrieve the hour, minute, second, and milliseconds of a time point. Everything but the first argument are output parameters.
static int GetYear (ulong time)
 Retrieve the year from a time point.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkTimePointUtility SafeDownCast (vtkObjectBase o)
 Undocumented Block.
static string TimePointToISO8601 (ulong arg0, int format)
 Converts a VTK timepoint into one of the following ISO8601 formats. The default format is ISO8601_DATETIME_MILLIS.
static ulong TimeToTimePoint (int hour, int minute, int second, int millis)
 Return the time point for a time of day (the number of milliseconds from 12:00am. The hour should be from 0-23.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkTimePointUtility"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "19vtkTimePointUtility"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkTimePointUtility_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal ulong vtkTimePointUtility_DateTimeToTimePoint_01 (int year, int month, int day, int hour, int minute, int sec, int millis)
static internal ulong vtkTimePointUtility_DateToTimePoint_02 (int year, int month, int day)
static internal void vtkTimePointUtility_GetDate_03 (ulong time, ref int year, ref int month, ref int day)
static internal void vtkTimePointUtility_GetDateTime_04 (ulong time, ref int year, ref int month, ref int day, ref int hour, ref int minute, ref int second, ref int millis)
static internal int vtkTimePointUtility_GetDay_05 (ulong time)
static internal int vtkTimePointUtility_GetHour_06 (ulong time)
static internal int vtkTimePointUtility_GetMillisecond_07 (ulong time)
static internal int vtkTimePointUtility_GetMinute_08 (ulong time)
static internal int vtkTimePointUtility_GetMonth_09 (ulong time)
static internal int vtkTimePointUtility_GetSecond_10 (ulong time)
static internal void vtkTimePointUtility_GetTime_11 (ulong time, ref int hour, ref int minute, ref int second, ref int millis)
static internal int vtkTimePointUtility_GetYear_12 (ulong time)
static internal int vtkTimePointUtility_IsA_13 (HandleRef pThis, string type)
static internal int vtkTimePointUtility_IsTypeOf_14 (string type)
static internal IntPtr vtkTimePointUtility_NewInstance_16 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkTimePointUtility_SafeDownCast_17 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkTimePointUtility_TimePointToISO8601_18 (ulong arg0, int format)
static internal ulong vtkTimePointUtility_TimeToTimePoint_19 (int hour, int minute, int second, int millis)

Static Private Member Functions

static vtkTimePointUtility ()
 Automatically generated type registration mechanics.

Detailed Description

vtkTimePointUtility - performs common time operations

Description

vtkTimePointUtility is provides methods to perform common time operations.


Member Enumeration Documentation

Retrieve the milliseconds from the start of the last second.

Enumerator:
ISO8601_DATE 

enum member

ISO8601_DATETIME 

enum member

ISO8601_DATETIME_MILLIS 

enum member

ISO8601_TIME 

enum member

ISO8601_TIME_MILLIS 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Undocumented Block.


Member Function Documentation

static ulong Kitware.VTK.vtkTimePointUtility.DateTimeToTimePoint ( int  year,
int  month,
int  day,
int  hour,
int  minute,
int  sec,
int  millis 
) [static]

Return the time point for a date and time.

static ulong Kitware.VTK.vtkTimePointUtility.DateToTimePoint ( int  year,
int  month,
int  day 
) [static]

Return the time point for 12:00am on a specified day.

override void Kitware.VTK.vtkTimePointUtility.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkObject.

static void Kitware.VTK.vtkTimePointUtility.GetDate ( ulong  time,
ref int  year,
ref int  month,
ref int  day 
) [static]

Retrieve the year, month, and day of a time point. Everything but the first argument are output parameters.

static void Kitware.VTK.vtkTimePointUtility.GetDateTime ( ulong  time,
ref int  year,
ref int  month,
ref int  day,
ref int  hour,
ref int  minute,
ref int  second,
ref int  millis 
) [static]

Retrieve the date and time of a time point. Everything but the first argument are output parameters.

static int Kitware.VTK.vtkTimePointUtility.GetDay ( ulong  time) [static]

Retrieve the day of the month from a time point.

static int Kitware.VTK.vtkTimePointUtility.GetHour ( ulong  time) [static]

Retrieve the hour of the day from the time point.

static int Kitware.VTK.vtkTimePointUtility.GetMillisecond ( ulong  time) [static]

Retrieve the milliseconds from the start of the last second.

static int Kitware.VTK.vtkTimePointUtility.GetMinute ( ulong  time) [static]

Retrieve the number of minutes from the start of the last hour.

static int Kitware.VTK.vtkTimePointUtility.GetMonth ( ulong  time) [static]

Retrieve the month from a time point.

static int Kitware.VTK.vtkTimePointUtility.GetSecond ( ulong  time) [static]

Retrieve the number of seconds from the start of the last minute.

static void Kitware.VTK.vtkTimePointUtility.GetTime ( ulong  time,
ref int  hour,
ref int  minute,
ref int  second,
ref int  millis 
) [static]

Retrieve the hour, minute, second, and milliseconds of a time point. Everything but the first argument are output parameters.

static int Kitware.VTK.vtkTimePointUtility.GetYear ( ulong  time) [static]

Retrieve the year from a time point.

override int Kitware.VTK.vtkTimePointUtility.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

static new int Kitware.VTK.vtkTimePointUtility.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

static string Kitware.VTK.vtkTimePointUtility.TimePointToISO8601 ( ulong  arg0,
int  format 
) [static]

Converts a VTK timepoint into one of the following ISO8601 formats. The default format is ISO8601_DATETIME_MILLIS.

<PRE> Type Format / Example 0 ISO8601_DATETIME_MILLIS [YYYY]-[MM]-[DD]T[hh]:[mm]:[ss].[SSS] 2006-01-02T03:04:05.678 1 ISO8601_DATETIME [YYYY]-[MM]-[DD]T[hh]:[mm]:[ss] 2006-01-02T03:04:05 2 ISO8601_DATE [YYYY]-[MM]-[DD] 2006-01-02 3 ISO8601_TIME_MILLIS [hh]:[mm]:[ss].[SSS] 03:04:05.678 4 ISO8601_TIME [hh]:[mm]:[ss] 03:04:05 </PRE>

static ulong Kitware.VTK.vtkTimePointUtility.TimeToTimePoint ( int  hour,
int  minute,
int  second,
int  millis 
) [static]

Return the time point for a time of day (the number of milliseconds from 12:00am. The hour should be from 0-23.

static internal ulong Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_DateTimeToTimePoint_01 ( int  year,
int  month,
int  day,
int  hour,
int  minute,
int  sec,
int  millis 
) [private]
static internal ulong Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_DateToTimePoint_02 ( int  year,
int  month,
int  day 
) [private]
static internal void Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetDate_03 ( ulong  time,
ref int  year,
ref int  month,
ref int  day 
) [private]
static internal void Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetDateTime_04 ( ulong  time,
ref int  year,
ref int  month,
ref int  day,
ref int  hour,
ref int  minute,
ref int  second,
ref int  millis 
) [private]
static internal int Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetDay_05 ( ulong  time) [private]
static internal int Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetHour_06 ( ulong  time) [private]
static internal int Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetMillisecond_07 ( ulong  time) [private]
static internal int Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetMinute_08 ( ulong  time) [private]
static internal int Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetMonth_09 ( ulong  time) [private]
static internal int Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetSecond_10 ( ulong  time) [private]
static internal void Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetTime_11 ( ulong  time,
ref int  hour,
ref int  minute,
ref int  second,
ref int  millis 
) [private]
static internal int Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_GetYear_12 ( ulong  time) [private]
static internal int Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_IsA_13 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_IsTypeOf_14 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_NewInstance_16 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_SafeDownCast_17 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_TimePointToISO8601_18 ( ulong  arg0,
int  format 
) [private]
static internal ulong Kitware.VTK.vtkTimePointUtility.vtkTimePointUtility_TimeToTimePoint_19 ( int  hour,
int  minute,
int  second,
int  millis 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkTimePointUtility.MRClassNameKey = "19vtkTimePointUtility" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

new const string Kitware.VTK.vtkTimePointUtility.MRFullTypeName = "Kitware.VTK.vtkTimePointUtility"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


The documentation for this class was generated from the following file: