@@ -766,6 +766,58 @@ PYHELIOS_API void colorPrimitiveByDataPseudocolor(helios::Context* context, unsi
766766 */
767767PYHELIOS_API void colorPrimitiveByDataPseudocolorWithRange (helios::Context* context, unsigned int * uuids, size_t num_uuids, const char * primitive_data, const char * colormap, unsigned int ncolors, float data_min, float data_max);
768768
769+ /* *
770+ * @brief Set the simulation time using hour and minute
771+ * @param context Pointer to the Context
772+ * @param hour Hour (0-23)
773+ * @param minute Minute (0-59)
774+ */
775+ PYHELIOS_API void setTime_HourMinute (helios::Context* context, int hour, int minute);
776+
777+ /* *
778+ * @brief Set the simulation time using hour, minute, and second
779+ * @param context Pointer to the Context
780+ * @param hour Hour (0-23)
781+ * @param minute Minute (0-59)
782+ * @param second Second (0-59)
783+ */
784+ PYHELIOS_API void setTime_HourMinuteSecond (helios::Context* context, int hour, int minute, int second);
785+
786+ /* *
787+ * @brief Set the simulation date using day, month, and year
788+ * @param context Pointer to the Context
789+ * @param day Day (1-31)
790+ * @param month Month (1-12)
791+ * @param year Year (1900-3000)
792+ */
793+ PYHELIOS_API void setDate_DayMonthYear (helios::Context* context, int day, int month, int year);
794+
795+ /* *
796+ * @brief Set the simulation date using Julian day and year
797+ * @param context Pointer to the Context
798+ * @param julian_day Julian day (1-366)
799+ * @param year Year (1900-3000)
800+ */
801+ PYHELIOS_API void setDate_JulianDay (helios::Context* context, int julian_day, int year);
802+
803+ /* *
804+ * @brief Get the current simulation time
805+ * @param context Pointer to the Context
806+ * @param hour Output parameter for hour
807+ * @param minute Output parameter for minute
808+ * @param second Output parameter for second
809+ */
810+ PYHELIOS_API void getTime (helios::Context* context, int * hour, int * minute, int * second);
811+
812+ /* *
813+ * @brief Get the current simulation date
814+ * @param context Pointer to the Context
815+ * @param day Output parameter for day
816+ * @param month Output parameter for month
817+ * @param year Output parameter for year
818+ */
819+ PYHELIOS_API void getDate (helios::Context* context, int * day, int * month, int * year);
820+
769821#ifdef __cplusplus
770822}
771823#endif
0 commit comments