419 PoTimeAxis(
const char *_startDate,
const char *_endDate,
float _coord,
421 { init(FALSE, _startDate, _endDate, _coord, _type) ; }
447 static void initClass() ;
448 static void exitClass() ;
450 enum Tdate_elem_form {
473 Tdate_elem_form form;
478 struct Tdate_axis_level_rep {
484 Tdate_elem *date_elems;
487 struct Tdate_axis_rep {
489 Tdate_axis_level_rep *level_rep;
492 struct Tdate_interv {
504 struct TimeAxisAttr {
505 PbDateFormatMapping *formatMapping ;
508 PiNumericFormat numericFormat ;
513 Tdate_axis_rep *date_axis_rep ;
520 virtual void setDefaultOnNonWritingFields() ;
523 virtual void basicObjectChange(PbBase *basicObj) ;
526 virtual void saveAxisAttr() ;
529 virtual void preRebuild() ;
530 virtual void addElementsAllCaches() ;
538 void computeTransfo(
const SbVec2f &refPoint, SoMatrixTransform *transfo,
539 float &deltaX,
float &deltaY) ;
542 void getDateAxisRep(
const PiDate &date_min,
const PiDate &date_max,
543 Tdate_axis_rep &date_rep) ;
546 static void copyDateRep(Tdate_axis_rep &dst_date_rep,
547 const Tdate_axis_rep &src_date_rep) ;
550 static void initDateStepOfLevel0(Tdate_axis_rep &date_rep,
const PiDate &date_delta) ;
553 static void initDateElem(Tdate_axis_level_rep &level_rep) ;
556 static void initDateNumStep(Tdate_axis_level_rep &level_rep,
const PiDate &date_delta) ;
559 static void freeDateAxisRep(Tdate_axis_rep &axis_rep) ;
562 static void freeDateAxisRepList(
int num_axis_rep, Tdate_axis_rep *axis_rep_list) ;
565 void initAutoRep(
const PiDate &date_delta, Tdate_axis_rep &date_rep) ;
568 void chooseBestDateRep(
int num_rep,
const Tdate_axis_rep *rep,
569 const PiDate &date_delta, Tdate_axis_rep &date_rep) ;
572 void getGradList(
const PiDate &date_1,
const PiDate &date_2,
574 const Tdate_axis_level_rep &level_rep,
575 int &num_gradu,
char ***gradu_string_list,
576 std::vector<float>& x_gradu_list) ;
579 void getFirstDateGrad(
const PiDate &date_1,
const PiDate &date_2,
580 Tdate_step step,
float float_step,
GradFit
581 grad_fit, PiDate &date_ref) ;
584 void getStringDate(
const PiDate &date,
int form_prefixe,
585 Tdate_elem_form form,
char *string_date) ;
588 void buildDateGrads(
const PiDate &date_1,
const PiDate &date_2,
589 const Tdate_axis_rep &date_rep, SoGroup *group) ;
593 void setDateAxisRep() ;
596 static void parseDateList(
char *form, Tdate_list *dl,
int *err_ind) ;
597 static void parseDateListNewDate(
double num_units,
int units) ;
598 static Tdate_list *date_list ;
603 static void parseAxisRep(
char *form,
int n_l, Tdate_axis_rep *da_rep,
605 static void parseAxisRepNewLevel(
double num_step,
int step,
char *append_str) ;
606 static void parseAxisRepAddToLevel(
int form_prefixe,
int form,
char *append_str) ;
607 static Tdate_axis_rep *date_axis_rep ;
612 TimeAxisAttr timeAxisAttr ;
618 FieldSensorList fieldSensorList ;