6 : beingdeleted (
"beingdeleted", mh,
"off"),
7 busyaction (
"busyaction", mh,
"{queue}|cancel"),
8 buttondownfcn (
"buttondownfcn", mh,
Matrix ()),
9 children (
"children", mh,
Matrix ()),
10 clipping (
"clipping", mh,
"on"),
11 createfcn (
"createfcn", mh,
Matrix ()),
12 deletefcn (
"deletefcn", mh,
Matrix ()),
13 handlevisibility (
"handlevisibility", mh,
"{on}|callback|off"),
14 hittest (
"hittest", mh,
"on"),
15 interruptible (
"interruptible", mh,
"on"),
16 parent (
"parent", mh, p),
17 selected (
"selected", mh,
"off"),
18 selectionhighlight (
"selectionhighlight", mh,
"on"),
20 type (
"type", mh, ty),
22 userdata (
"userdata", mh,
Matrix ()),
23 visible (
"visible", mh,
"on"),
24 __modified__ (
"__modified__", mh,
"on"),
52 if (pname.
compare (
"beingdeleted"))
54 else if (pname.
compare (
"busyaction"))
56 else if (pname.
compare (
"buttondownfcn"))
58 else if (pname.
compare (
"children"))
60 else if (pname.
compare (
"clipping"))
62 else if (pname.
compare (
"createfcn"))
64 else if (pname.
compare (
"deletefcn"))
66 else if (pname.
compare (
"handlevisibility"))
68 else if (pname.
compare (
"hittest"))
70 else if (pname.
compare (
"interruptible"))
72 else if (pname.
compare (
"parent"))
74 else if (pname.
compare (
"selected"))
76 else if (pname.
compare (
"selectionhighlight"))
80 else if (pname.
compare (
"uicontextmenu"))
82 else if (pname.
compare (
"userdata"))
84 else if (pname.
compare (
"visible"))
86 else if (pname.
compare (
"__modified__"))
127 if (pname.
compare (
"beingdeleted"))
129 else if (pname.
compare (
"busyaction"))
131 else if (pname.
compare (
"buttondownfcn"))
133 else if (pname.
compare (
"children"))
135 else if (pname.
compare (
"clipping"))
137 else if (pname.
compare (
"createfcn"))
139 else if (pname.
compare (
"deletefcn"))
141 else if (pname.
compare (
"handlevisibility"))
143 else if (pname.
compare (
"hittest"))
145 else if (pname.
compare (
"interruptible"))
147 else if (pname.
compare (
"parent"))
149 else if (pname.
compare (
"selected"))
151 else if (pname.
compare (
"selectionhighlight"))
153 else if (pname.
compare (
"tag"))
155 else if (pname.
compare (
"type"))
157 else if (pname.
compare (
"uicontextmenu"))
159 else if (pname.
compare (
"userdata"))
161 else if (pname.
compare (
"visible"))
163 else if (pname.
compare (
"__modified__"))
165 else if (pname.
compare (
"__myhandle__"))
176 if (pname.
compare (
"beingdeleted"))
178 else if (pname.
compare (
"busyaction"))
180 else if (pname.
compare (
"buttondownfcn"))
182 else if (pname.
compare (
"children"))
184 else if (pname.
compare (
"clipping"))
186 else if (pname.
compare (
"createfcn"))
188 else if (pname.
compare (
"deletefcn"))
190 else if (pname.
compare (
"handlevisibility"))
192 else if (pname.
compare (
"hittest"))
194 else if (pname.
compare (
"interruptible"))
196 else if (pname.
compare (
"parent"))
198 else if (pname.
compare (
"selected"))
200 else if (pname.
compare (
"selectionhighlight"))
202 else if (pname.
compare (
"tag"))
204 else if (pname.
compare (
"type"))
206 else if (pname.
compare (
"uicontextmenu"))
208 else if (pname.
compare (
"userdata"))
210 else if (pname.
compare (
"visible"))
212 else if (pname.
compare (
"__modified__"))
223 m[
"beingdeleted"] =
"off";
224 m[
"busyaction"] =
"queue";
225 m[
"buttondownfcn"] =
Matrix ();
226 m[
"clipping"] =
"on";
227 m[
"createfcn"] =
Matrix ();
228 m[
"deletefcn"] =
Matrix ();
229 m[
"handlevisibility"] =
"on";
231 m[
"interruptible"] =
"on";
232 m[
"selected"] =
"off";
233 m[
"selectionhighlight"] =
"on";
236 m[
"userdata"] =
Matrix ();
238 m[
"__modified__"] =
"on";
243 std::set<std::string>
246 static std::set<std::string> all_pnames;
252 all_pnames.insert (
"beingdeleted");
253 all_pnames.insert (
"busyaction");
254 all_pnames.insert (
"buttondownfcn");
255 all_pnames.insert (
"children");
256 all_pnames.insert (
"clipping");
257 all_pnames.insert (
"createfcn");
258 all_pnames.insert (
"deletefcn");
259 all_pnames.insert (
"handlevisibility");
260 all_pnames.insert (
"hittest");
261 all_pnames.insert (
"interruptible");
262 all_pnames.insert (
"parent");
263 all_pnames.insert (
"selected");
264 all_pnames.insert (
"selectionhighlight");
265 all_pnames.insert (
"tag");
266 all_pnames.insert (
"type");
267 all_pnames.insert (
"uicontextmenu");
268 all_pnames.insert (
"userdata");
269 all_pnames.insert (
"visible");
270 all_pnames.insert (
"__modified__");
271 all_pnames.insert (
"__myhandle__");
284 return pnames.find (pname) != pnames.end ();
287 std::set<std::string>
292 std::set<std::string> retval = all_pnames;
294 retval.insert (dyn_props.begin (), dyn_props.end ());
295 for (std::map<caseless_str, property, cmp_caseless_str>::const_iterator p =
all_props.begin ();
297 retval.insert (p->first);
307 commandwindowsize (
"commandwindowsize", mh,
Matrix (1, 2, 0)),
309 diary (
"diary", mh,
"off"),
310 diaryfile (
"diaryfile", mh,
"diary"),
311 echo (
"echo", mh,
"off"),
312 errormessage (
"errormessage", mh,
""),
313 fixedwidthfontname (
"fixedwidthfontname", mh,
"Courier"),
314 format (
"format", mh,
"+|bank|bit|hex|long|longe|longeng|longg|native-bit|native-hex|none|rational|{short}|shorte|shorteng|shortg"),
315 formatspacing (
"formatspacing", mh,
"compact|{loose}"),
316 language (
"language", mh,
"ascii"),
317 monitorpositions (
"monitorpositions", mh,
Matrix (1, 4, 0)),
318 pointerlocation (
"pointerlocation", mh,
Matrix (1, 2, 0)),
319 pointerwindow (
"pointerwindow", mh, 0.0),
320 recursionlimit (
"recursionlimit", mh, 256.0),
324 showhiddenhandles (
"showhiddenhandles", mh,
"off"),
325 units (
"units", mh,
"inches|centimeters|normalized|points|{pixels}")
353 const std::set<std::string>& pnames = all_property_names ();
360 if (pname.
compare (
"currentfigure"))
361 set_currentfigure (val);
362 else if (pname.
compare (
"diary"))
364 else if (pname.
compare (
"diaryfile"))
366 else if (pname.
compare (
"echo"))
368 else if (pname.
compare (
"errormessage"))
369 set_errormessage (val);
370 else if (pname.
compare (
"fixedwidthfontname"))
371 set_fixedwidthfontname (val);
372 else if (pname.
compare (
"format"))
374 else if (pname.
compare (
"formatspacing"))
375 set_formatspacing (val);
376 else if (pname.
compare (
"language"))
378 else if (pname.
compare (
"monitorpositions"))
379 set_monitorpositions (val);
380 else if (pname.
compare (
"pointerlocation"))
381 set_pointerlocation (val);
382 else if (pname.
compare (
"recursionlimit"))
383 set_recursionlimit (val);
384 else if (pname.
compare (
"showhiddenhandles"))
385 set_showhiddenhandles (val);
386 else if (pname.
compare (
"units"))
426 const std::set<std::string>& pnames = all_property_names ();
433 if (pname.
compare (
"callbackobject"))
434 retval = get_callbackobject ().as_octave_value ();
435 else if (pname.
compare (
"commandwindowsize"))
436 retval = get_commandwindowsize ();
437 else if (pname.
compare (
"currentfigure"))
438 retval = get_currentfigure ().as_octave_value ();
439 else if (pname.
compare (
"diary"))
440 retval = get_diary ();
441 else if (pname.
compare (
"diaryfile"))
442 retval = get_diaryfile ();
443 else if (pname.
compare (
"echo"))
444 retval = get_echo ();
445 else if (pname.
compare (
"errormessage"))
446 retval = get_errormessage ();
447 else if (pname.
compare (
"fixedwidthfontname"))
448 retval = get_fixedwidthfontname ();
449 else if (pname.
compare (
"format"))
450 retval = get_format ();
451 else if (pname.
compare (
"formatspacing"))
452 retval = get_formatspacing ();
453 else if (pname.
compare (
"language"))
454 retval = get_language ();
455 else if (pname.
compare (
"monitorpositions"))
456 retval = get_monitorpositions ();
457 else if (pname.
compare (
"pointerlocation"))
458 retval = get_pointerlocation ();
459 else if (pname.
compare (
"pointerwindow"))
460 retval = get_pointerwindow ();
461 else if (pname.
compare (
"recursionlimit"))
462 retval = get_recursionlimit ();
463 else if (pname.
compare (
"screendepth"))
464 retval = get_screendepth ();
465 else if (pname.
compare (
"screenpixelsperinch"))
466 retval = get_screenpixelsperinch ();
467 else if (pname.
compare (
"screensize"))
468 retval = get_screensize ();
469 else if (pname.
compare (
"showhiddenhandles"))
470 retval = get_showhiddenhandles ();
471 else if (pname.
compare (
"units"))
472 retval = get_units ();
482 const std::set<std::string>& pnames = all_property_names ();
489 if (pname.
compare (
"callbackobject"))
490 return property (&callbackobject,
true);
491 else if (pname.
compare (
"commandwindowsize"))
492 return property (&commandwindowsize,
true);
493 else if (pname.
compare (
"currentfigure"))
494 return property (¤tfigure,
true);
495 else if (pname.
compare (
"diary"))
497 else if (pname.
compare (
"diaryfile"))
499 else if (pname.
compare (
"echo"))
501 else if (pname.
compare (
"errormessage"))
502 return property (&errormessage,
true);
503 else if (pname.
compare (
"fixedwidthfontname"))
504 return property (&fixedwidthfontname,
true);
505 else if (pname.
compare (
"format"))
507 else if (pname.
compare (
"formatspacing"))
508 return property (&formatspacing,
true);
509 else if (pname.
compare (
"language"))
511 else if (pname.
compare (
"monitorpositions"))
512 return property (&monitorpositions,
true);
513 else if (pname.
compare (
"pointerlocation"))
514 return property (&pointerlocation,
true);
515 else if (pname.
compare (
"pointerwindow"))
516 return property (&pointerwindow,
true);
517 else if (pname.
compare (
"recursionlimit"))
518 return property (&recursionlimit,
true);
519 else if (pname.
compare (
"screendepth"))
520 return property (&screendepth,
true);
521 else if (pname.
compare (
"screenpixelsperinch"))
522 return property (&screenpixelsperinch,
true);
523 else if (pname.
compare (
"screensize"))
524 return property (&screensize,
true);
525 else if (pname.
compare (
"showhiddenhandles"))
526 return property (&showhiddenhandles,
true);
527 else if (pname.
compare (
"units"))
539 m[
"commandwindowsize"] =
Matrix (1, 2, 0);
542 m[
"diaryfile"] =
"diary";
544 m[
"errormessage"] =
"";
545 m[
"fixedwidthfontname"] =
"Courier";
546 m[
"format"] =
"short";
547 m[
"formatspacing"] =
"loose";
548 m[
"language"] =
"ascii";
549 m[
"monitorpositions"] =
Matrix (1, 4, 0);
550 m[
"pointerlocation"] =
Matrix (1, 2, 0);
551 m[
"pointerwindow"] = 0.0;
552 m[
"recursionlimit"] = 256.0;
556 m[
"showhiddenhandles"] =
"off";
557 m[
"units"] =
"pixels";
564 std::set<std::string>
567 static std::set<std::string> all_pnames;
573 all_pnames.insert (
"callbackobject");
574 all_pnames.insert (
"commandwindowsize");
575 all_pnames.insert (
"currentfigure");
576 all_pnames.insert (
"diary");
577 all_pnames.insert (
"diaryfile");
578 all_pnames.insert (
"echo");
579 all_pnames.insert (
"errormessage");
580 all_pnames.insert (
"fixedwidthfontname");
581 all_pnames.insert (
"format");
582 all_pnames.insert (
"formatspacing");
583 all_pnames.insert (
"language");
584 all_pnames.insert (
"monitorpositions");
585 all_pnames.insert (
"pointerlocation");
586 all_pnames.insert (
"pointerwindow");
587 all_pnames.insert (
"recursionlimit");
588 all_pnames.insert (
"screendepth");
589 all_pnames.insert (
"screenpixelsperinch");
590 all_pnames.insert (
"screensize");
591 all_pnames.insert (
"showhiddenhandles");
592 all_pnames.insert (
"units");
595 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
606 std::set<std::string> pnames = core_property_names ();
608 return pnames.find (pname) != pnames.end ();
611 std::set<std::string>
614 static std::set<std::string> all_pnames = core_property_names ();
616 std::set<std::string> retval = all_pnames;
618 retval.insert (base_props.begin (), base_props.end ());
626 std::set<std::string> pnames = all_property_names ();
628 return pnames.find (pname) != pnames.end ();
635 alphamap (
"alphamap", mh,
Matrix (64, 1, 1)),
636 buttondownfcn (
"buttondownfcn", mh,
Matrix ()),
637 closerequestfcn (
"closerequestfcn", mh,
"closereq"),
641 currentcharacter (
"currentcharacter", mh,
""),
643 currentpoint (
"currentpoint", mh,
Matrix (2, 1, 0)),
644 dockcontrols (
"dockcontrols", mh,
"off"),
645 doublebuffer (
"doublebuffer", mh,
"on"),
646 filename (
"filename", mh,
""),
647 integerhandle (
"integerhandle", mh,
"on"),
648 inverthardcopy (
"inverthardcopy", mh,
"off"),
649 keypressfcn (
"keypressfcn", mh,
Matrix ()),
650 keyreleasefcn (
"keyreleasefcn", mh,
Matrix ()),
651 menubar (
"menubar", mh,
"none|{figure}"),
652 mincolormap (
"mincolormap", mh, 64),
653 name (
"name", mh,
""),
654 nextplot (
"nextplot", mh,
"new|{add}|replacechildren|replace"),
655 numbertitle (
"numbertitle", mh,
"on"),
656 outerposition (
"outerposition", mh,
Matrix (1, 4, -1.0)),
657 paperorientation (
"paperorientation", mh,
"{portrait}|landscape|rotated"),
659 paperpositionmode (
"paperpositionmode", mh,
"auto|{manual}"),
661 papertype (
"papertype", mh,
"{usletter}|uslegal|a0|a1|a2|a3|a4|a5|b0|b1|b2|b3|b4|b5|arch-a|arch-b|arch-c|arch-d|arch-e|a|b|c|d|e|tabloid|<custom>"),
662 paperunits (
"paperunits", mh,
"{inches}|centimeters|normalized|points"),
663 pointer (
"pointer", mh,
"crosshair|fullcrosshair|{arrow}|ibeam|watch|topl|topr|botl|botr|left|top|right|bottom|circle|cross|fleur|custom|hand"),
664 pointershapecdata (
"pointershapecdata", mh,
Matrix (16, 16, 0)),
665 pointershapehotspot (
"pointershapehotspot", mh,
Matrix (1, 2, 0)),
667 renderer (
"renderer", mh,
"{painters}|zbuffer|opengl|none"),
668 renderermode (
"renderermode", mh,
"{auto}|manual"),
669 resize (
"resize", mh,
"on"),
670 resizefcn (
"resizefcn", mh,
Matrix ()),
671 selectiontype (
"selectiontype", mh,
"{normal}|open|alt|extend"),
672 toolbar (
"toolbar", mh,
"none|{auto}|figure"),
673 units (
"units", mh,
"inches|centimeters|normalized|points|{pixels}|characters"),
674 windowbuttondownfcn (
"windowbuttondownfcn", mh,
Matrix ()),
675 windowbuttonmotionfcn (
"windowbuttonmotionfcn", mh,
Matrix ()),
676 windowbuttonupfcn (
"windowbuttonupfcn", mh,
Matrix ()),
677 windowkeypressfcn (
"windowkeypressfcn", mh,
Matrix ()),
678 windowkeyreleasefcn (
"windowkeyreleasefcn", mh,
Matrix ()),
679 windowscrollwheelfcn (
"windowscrollwheelfcn", mh,
Matrix ()),
680 windowstyle (
"windowstyle", mh,
"{normal}|modal|docked"),
681 wvisual (
"wvisual", mh,
""),
682 wvisualmode (
"wvisualmode", mh,
"{auto}|manual"),
683 xdisplay (
"xdisplay", mh,
""),
684 xvisual (
"xvisual", mh,
""),
685 xvisualmode (
"xvisualmode", mh,
"{auto}|manual"),
686 __enhanced__ (
"__enhanced__", mh,
"on"),
687 __graphics_toolkit__ (
"__graphics_toolkit__", mh,
gtk_manager::default_toolkit ()),
688 __guidata__ (
"__guidata__", mh,
Matrix ()),
689 __plot_stream__ (
"__plot_stream__", mh,
Matrix ())
755 const std::set<std::string>& pnames = all_property_names ();
762 if (pname.
compare (
"alphamap"))
764 else if (pname.
compare (
"buttondownfcn"))
765 set_buttondownfcn (val);
766 else if (pname.
compare (
"closerequestfcn"))
767 set_closerequestfcn (val);
768 else if (pname.
compare (
"color"))
770 else if (pname.
compare (
"colormap"))
772 else if (pname.
compare (
"currentaxes"))
773 set_currentaxes (val);
774 else if (pname.
compare (
"dockcontrols"))
775 set_dockcontrols (val);
776 else if (pname.
compare (
"doublebuffer"))
777 set_doublebuffer (val);
778 else if (pname.
compare (
"filename"))
780 else if (pname.
compare (
"integerhandle"))
781 set_integerhandle (val);
782 else if (pname.
compare (
"inverthardcopy"))
783 set_inverthardcopy (val);
784 else if (pname.
compare (
"keypressfcn"))
785 set_keypressfcn (val);
786 else if (pname.
compare (
"keyreleasefcn"))
787 set_keyreleasefcn (val);
788 else if (pname.
compare (
"menubar"))
790 else if (pname.
compare (
"mincolormap"))
791 set_mincolormap (val);
792 else if (pname.
compare (
"name"))
794 else if (pname.
compare (
"nextplot"))
796 else if (pname.
compare (
"numbertitle"))
797 set_numbertitle (val);
798 else if (pname.
compare (
"outerposition"))
799 set_outerposition (val);
800 else if (pname.
compare (
"paperorientation"))
801 set_paperorientation (val);
802 else if (pname.
compare (
"paperposition"))
803 set_paperposition (val);
804 else if (pname.
compare (
"paperpositionmode"))
805 set_paperpositionmode (val);
806 else if (pname.
compare (
"papersize"))
808 else if (pname.
compare (
"papertype"))
810 else if (pname.
compare (
"paperunits"))
811 set_paperunits (val);
812 else if (pname.
compare (
"pointer"))
814 else if (pname.
compare (
"pointershapecdata"))
815 set_pointershapecdata (val);
816 else if (pname.
compare (
"pointershapehotspot"))
817 set_pointershapehotspot (val);
818 else if (pname.
compare (
"position"))
820 else if (pname.
compare (
"renderer"))
822 else if (pname.
compare (
"renderermode"))
823 set_renderermode (val);
824 else if (pname.
compare (
"resize"))
826 else if (pname.
compare (
"resizefcn"))
828 else if (pname.
compare (
"selectiontype"))
829 set_selectiontype (val);
830 else if (pname.
compare (
"toolbar"))
832 else if (pname.
compare (
"units"))
834 else if (pname.
compare (
"windowbuttondownfcn"))
835 set_windowbuttondownfcn (val);
836 else if (pname.
compare (
"windowbuttonmotionfcn"))
837 set_windowbuttonmotionfcn (val);
838 else if (pname.
compare (
"windowbuttonupfcn"))
839 set_windowbuttonupfcn (val);
840 else if (pname.
compare (
"windowkeypressfcn"))
841 set_windowkeypressfcn (val);
842 else if (pname.
compare (
"windowkeyreleasefcn"))
843 set_windowkeyreleasefcn (val);
844 else if (pname.
compare (
"windowscrollwheelfcn"))
845 set_windowscrollwheelfcn (val);
846 else if (pname.
compare (
"windowstyle"))
847 set_windowstyle (val);
848 else if (pname.
compare (
"wvisual"))
850 else if (pname.
compare (
"wvisualmode"))
851 set_wvisualmode (val);
852 else if (pname.
compare (
"xdisplay"))
854 else if (pname.
compare (
"xvisual"))
856 else if (pname.
compare (
"xvisualmode"))
857 set_xvisualmode (val);
858 else if (pname.
compare (
"__enhanced__"))
859 set___enhanced__ (val);
860 else if (pname.
compare (
"__graphics_toolkit__"))
861 set___graphics_toolkit__ (val);
862 else if (pname.
compare (
"__guidata__"))
863 set___guidata__ (val);
864 else if (pname.
compare (
"__plot_stream__"))
865 set___plot_stream__ (val);
942 const std::set<std::string>& pnames = all_property_names ();
949 if (pname.
compare (
"alphamap"))
950 retval = get_alphamap ();
951 else if (pname.
compare (
"buttondownfcn"))
952 retval = get_buttondownfcn ();
953 else if (pname.
compare (
"closerequestfcn"))
954 retval = get_closerequestfcn ();
955 else if (pname.
compare (
"color"))
956 retval = get_color ();
957 else if (pname.
compare (
"colormap"))
958 retval = get_colormap ();
959 else if (pname.
compare (
"currentaxes"))
960 retval = get_currentaxes ().as_octave_value ();
961 else if (pname.
compare (
"currentcharacter"))
962 retval = get_currentcharacter ();
963 else if (pname.
compare (
"currentobject"))
964 retval = get_currentobject ().as_octave_value ();
965 else if (pname.
compare (
"currentpoint"))
966 retval = get_currentpoint ();
967 else if (pname.
compare (
"dockcontrols"))
968 retval = get_dockcontrols ();
969 else if (pname.
compare (
"doublebuffer"))
970 retval = get_doublebuffer ();
971 else if (pname.
compare (
"filename"))
972 retval = get_filename ();
973 else if (pname.
compare (
"integerhandle"))
974 retval = get_integerhandle ();
975 else if (pname.
compare (
"inverthardcopy"))
976 retval = get_inverthardcopy ();
977 else if (pname.
compare (
"keypressfcn"))
978 retval = get_keypressfcn ();
979 else if (pname.
compare (
"keyreleasefcn"))
980 retval = get_keyreleasefcn ();
981 else if (pname.
compare (
"menubar"))
982 retval = get_menubar ();
983 else if (pname.
compare (
"mincolormap"))
984 retval = get_mincolormap ();
985 else if (pname.
compare (
"name"))
986 retval = get_name ();
987 else if (pname.
compare (
"nextplot"))
988 retval = get_nextplot ();
989 else if (pname.
compare (
"numbertitle"))
990 retval = get_numbertitle ();
991 else if (pname.
compare (
"outerposition"))
992 retval = get_outerposition ();
993 else if (pname.
compare (
"paperorientation"))
994 retval = get_paperorientation ();
995 else if (pname.
compare (
"paperposition"))
996 retval = get_paperposition ();
997 else if (pname.
compare (
"paperpositionmode"))
998 retval = get_paperpositionmode ();
999 else if (pname.
compare (
"papersize"))
1000 retval = get_papersize ();
1001 else if (pname.
compare (
"papertype"))
1002 retval = get_papertype ();
1003 else if (pname.
compare (
"paperunits"))
1004 retval = get_paperunits ();
1005 else if (pname.
compare (
"pointer"))
1006 retval = get_pointer ();
1007 else if (pname.
compare (
"pointershapecdata"))
1008 retval = get_pointershapecdata ();
1009 else if (pname.
compare (
"pointershapehotspot"))
1010 retval = get_pointershapehotspot ();
1011 else if (pname.
compare (
"position"))
1012 retval = get_position ();
1013 else if (pname.
compare (
"renderer"))
1014 retval = get_renderer ();
1015 else if (pname.
compare (
"renderermode"))
1016 retval = get_renderermode ();
1017 else if (pname.
compare (
"resize"))
1018 retval = get_resize ();
1019 else if (pname.
compare (
"resizefcn"))
1020 retval = get_resizefcn ();
1021 else if (pname.
compare (
"selectiontype"))
1022 retval = get_selectiontype ();
1023 else if (pname.
compare (
"toolbar"))
1024 retval = get_toolbar ();
1025 else if (pname.
compare (
"units"))
1026 retval = get_units ();
1027 else if (pname.
compare (
"windowbuttondownfcn"))
1028 retval = get_windowbuttondownfcn ();
1029 else if (pname.
compare (
"windowbuttonmotionfcn"))
1030 retval = get_windowbuttonmotionfcn ();
1031 else if (pname.
compare (
"windowbuttonupfcn"))
1032 retval = get_windowbuttonupfcn ();
1033 else if (pname.
compare (
"windowkeypressfcn"))
1034 retval = get_windowkeypressfcn ();
1035 else if (pname.
compare (
"windowkeyreleasefcn"))
1036 retval = get_windowkeyreleasefcn ();
1037 else if (pname.
compare (
"windowscrollwheelfcn"))
1038 retval = get_windowscrollwheelfcn ();
1039 else if (pname.
compare (
"windowstyle"))
1040 retval = get_windowstyle ();
1041 else if (pname.
compare (
"wvisual"))
1042 retval = get_wvisual ();
1043 else if (pname.
compare (
"wvisualmode"))
1044 retval = get_wvisualmode ();
1045 else if (pname.
compare (
"xdisplay"))
1046 retval = get_xdisplay ();
1047 else if (pname.
compare (
"xvisual"))
1048 retval = get_xvisual ();
1049 else if (pname.
compare (
"xvisualmode"))
1050 retval = get_xvisualmode ();
1051 else if (pname.
compare (
"__enhanced__"))
1052 retval = get___enhanced__ ();
1053 else if (pname.
compare (
"__graphics_toolkit__"))
1054 retval = get___graphics_toolkit__ ();
1055 else if (pname.
compare (
"__guidata__"))
1056 retval = get___guidata__ ();
1057 else if (pname.
compare (
"__plot_stream__"))
1058 retval = get___plot_stream__ ();
1068 const std::set<std::string>& pnames = all_property_names ();
1075 if (pname.
compare (
"alphamap"))
1077 else if (pname.
compare (
"buttondownfcn"))
1078 return property (&buttondownfcn,
true);
1079 else if (pname.
compare (
"closerequestfcn"))
1080 return property (&closerequestfcn,
true);
1081 else if (pname.
compare (
"color"))
1083 else if (pname.
compare (
"colormap"))
1085 else if (pname.
compare (
"currentaxes"))
1086 return property (¤taxes,
true);
1087 else if (pname.
compare (
"currentcharacter"))
1088 return property (¤tcharacter,
true);
1089 else if (pname.
compare (
"currentobject"))
1090 return property (¤tobject,
true);
1091 else if (pname.
compare (
"currentpoint"))
1092 return property (¤tpoint,
true);
1093 else if (pname.
compare (
"dockcontrols"))
1094 return property (&dockcontrols,
true);
1095 else if (pname.
compare (
"doublebuffer"))
1096 return property (&doublebuffer,
true);
1097 else if (pname.
compare (
"filename"))
1099 else if (pname.
compare (
"integerhandle"))
1100 return property (&integerhandle,
true);
1101 else if (pname.
compare (
"inverthardcopy"))
1102 return property (&inverthardcopy,
true);
1103 else if (pname.
compare (
"keypressfcn"))
1104 return property (&keypressfcn,
true);
1105 else if (pname.
compare (
"keyreleasefcn"))
1106 return property (&keyreleasefcn,
true);
1107 else if (pname.
compare (
"menubar"))
1109 else if (pname.
compare (
"mincolormap"))
1110 return property (&mincolormap,
true);
1111 else if (pname.
compare (
"name"))
1113 else if (pname.
compare (
"nextplot"))
1115 else if (pname.
compare (
"numbertitle"))
1116 return property (&numbertitle,
true);
1117 else if (pname.
compare (
"outerposition"))
1118 return property (&outerposition,
true);
1119 else if (pname.
compare (
"paperorientation"))
1120 return property (&paperorientation,
true);
1121 else if (pname.
compare (
"paperposition"))
1122 return property (&paperposition,
true);
1123 else if (pname.
compare (
"paperpositionmode"))
1124 return property (&paperpositionmode,
true);
1125 else if (pname.
compare (
"papersize"))
1126 return property (&papersize,
true);
1127 else if (pname.
compare (
"papertype"))
1128 return property (&papertype,
true);
1129 else if (pname.
compare (
"paperunits"))
1130 return property (&paperunits,
true);
1131 else if (pname.
compare (
"pointer"))
1133 else if (pname.
compare (
"pointershapecdata"))
1134 return property (&pointershapecdata,
true);
1135 else if (pname.
compare (
"pointershapehotspot"))
1136 return property (&pointershapehotspot,
true);
1137 else if (pname.
compare (
"position"))
1139 else if (pname.
compare (
"renderer"))
1141 else if (pname.
compare (
"renderermode"))
1142 return property (&renderermode,
true);
1143 else if (pname.
compare (
"resize"))
1145 else if (pname.
compare (
"resizefcn"))
1146 return property (&resizefcn,
true);
1147 else if (pname.
compare (
"selectiontype"))
1148 return property (&selectiontype,
true);
1149 else if (pname.
compare (
"toolbar"))
1151 else if (pname.
compare (
"units"))
1153 else if (pname.
compare (
"windowbuttondownfcn"))
1154 return property (&windowbuttondownfcn,
true);
1155 else if (pname.
compare (
"windowbuttonmotionfcn"))
1156 return property (&windowbuttonmotionfcn,
true);
1157 else if (pname.
compare (
"windowbuttonupfcn"))
1158 return property (&windowbuttonupfcn,
true);
1159 else if (pname.
compare (
"windowkeypressfcn"))
1160 return property (&windowkeypressfcn,
true);
1161 else if (pname.
compare (
"windowkeyreleasefcn"))
1162 return property (&windowkeyreleasefcn,
true);
1163 else if (pname.
compare (
"windowscrollwheelfcn"))
1164 return property (&windowscrollwheelfcn,
true);
1165 else if (pname.
compare (
"windowstyle"))
1166 return property (&windowstyle,
true);
1167 else if (pname.
compare (
"wvisual"))
1169 else if (pname.
compare (
"wvisualmode"))
1170 return property (&wvisualmode,
true);
1171 else if (pname.
compare (
"xdisplay"))
1173 else if (pname.
compare (
"xvisual"))
1175 else if (pname.
compare (
"xvisualmode"))
1176 return property (&xvisualmode,
true);
1177 else if (pname.
compare (
"__enhanced__"))
1178 return property (&__enhanced__,
true);
1179 else if (pname.
compare (
"__graphics_toolkit__"))
1180 return property (&__graphics_toolkit__,
true);
1181 else if (pname.
compare (
"__guidata__"))
1182 return property (&__guidata__,
true);
1183 else if (pname.
compare (
"__plot_stream__"))
1184 return property (&__plot_stream__,
true);
1194 m[
"alphamap"] =
Matrix (64, 1, 1);
1195 m[
"buttondownfcn"] =
Matrix ();
1196 m[
"closerequestfcn"] =
"closereq";
1200 m[
"currentcharacter"] =
"";
1202 m[
"currentpoint"] =
Matrix (2, 1, 0);
1203 m[
"dockcontrols"] =
"off";
1204 m[
"doublebuffer"] =
"on";
1206 m[
"integerhandle"] =
"on";
1207 m[
"inverthardcopy"] =
"off";
1208 m[
"keypressfcn"] =
Matrix ();
1209 m[
"keyreleasefcn"] =
Matrix ();
1210 m[
"menubar"] =
"figure";
1211 m[
"mincolormap"] = 64;
1213 m[
"nextplot"] =
"add";
1214 m[
"numbertitle"] =
"on";
1215 m[
"outerposition"] =
Matrix (1, 4, -1.0);
1216 m[
"paperorientation"] =
"portrait";
1218 m[
"paperpositionmode"] =
"manual";
1220 m[
"papertype"] =
"usletter";
1221 m[
"paperunits"] =
"inches";
1222 m[
"pointer"] =
"arrow";
1223 m[
"pointershapecdata"] =
Matrix (16, 16, 0);
1224 m[
"pointershapehotspot"] =
Matrix (1, 2, 0);
1226 m[
"renderer"] =
"painters";
1227 m[
"renderermode"] =
"auto";
1229 m[
"resizefcn"] =
Matrix ();
1230 m[
"selectiontype"] =
"normal";
1231 m[
"toolbar"] =
"auto";
1232 m[
"units"] =
"pixels";
1233 m[
"windowbuttondownfcn"] =
Matrix ();
1234 m[
"windowbuttonmotionfcn"] =
Matrix ();
1235 m[
"windowbuttonupfcn"] =
Matrix ();
1236 m[
"windowkeypressfcn"] =
Matrix ();
1237 m[
"windowkeyreleasefcn"] =
Matrix ();
1238 m[
"windowscrollwheelfcn"] =
Matrix ();
1239 m[
"windowstyle"] =
"normal";
1241 m[
"wvisualmode"] =
"auto";
1244 m[
"xvisualmode"] =
"auto";
1245 m[
"__enhanced__"] =
"on";
1247 m[
"__guidata__"] =
Matrix ();
1248 m[
"__plot_stream__"] =
Matrix ();
1255 std::set<std::string>
1258 static std::set<std::string> all_pnames;
1264 all_pnames.insert (
"alphamap");
1265 all_pnames.insert (
"buttondownfcn");
1266 all_pnames.insert (
"closerequestfcn");
1267 all_pnames.insert (
"color");
1268 all_pnames.insert (
"colormap");
1269 all_pnames.insert (
"currentaxes");
1270 all_pnames.insert (
"currentcharacter");
1271 all_pnames.insert (
"currentobject");
1272 all_pnames.insert (
"currentpoint");
1273 all_pnames.insert (
"dockcontrols");
1274 all_pnames.insert (
"doublebuffer");
1275 all_pnames.insert (
"filename");
1276 all_pnames.insert (
"integerhandle");
1277 all_pnames.insert (
"inverthardcopy");
1278 all_pnames.insert (
"keypressfcn");
1279 all_pnames.insert (
"keyreleasefcn");
1280 all_pnames.insert (
"menubar");
1281 all_pnames.insert (
"mincolormap");
1282 all_pnames.insert (
"name");
1283 all_pnames.insert (
"nextplot");
1284 all_pnames.insert (
"numbertitle");
1285 all_pnames.insert (
"outerposition");
1286 all_pnames.insert (
"paperorientation");
1287 all_pnames.insert (
"paperposition");
1288 all_pnames.insert (
"paperpositionmode");
1289 all_pnames.insert (
"papersize");
1290 all_pnames.insert (
"papertype");
1291 all_pnames.insert (
"paperunits");
1292 all_pnames.insert (
"pointer");
1293 all_pnames.insert (
"pointershapecdata");
1294 all_pnames.insert (
"pointershapehotspot");
1295 all_pnames.insert (
"position");
1296 all_pnames.insert (
"renderer");
1297 all_pnames.insert (
"renderermode");
1298 all_pnames.insert (
"resize");
1299 all_pnames.insert (
"resizefcn");
1300 all_pnames.insert (
"selectiontype");
1301 all_pnames.insert (
"toolbar");
1302 all_pnames.insert (
"units");
1303 all_pnames.insert (
"windowbuttondownfcn");
1304 all_pnames.insert (
"windowbuttonmotionfcn");
1305 all_pnames.insert (
"windowbuttonupfcn");
1306 all_pnames.insert (
"windowkeypressfcn");
1307 all_pnames.insert (
"windowkeyreleasefcn");
1308 all_pnames.insert (
"windowscrollwheelfcn");
1309 all_pnames.insert (
"windowstyle");
1310 all_pnames.insert (
"wvisual");
1311 all_pnames.insert (
"wvisualmode");
1312 all_pnames.insert (
"xdisplay");
1313 all_pnames.insert (
"xvisual");
1314 all_pnames.insert (
"xvisualmode");
1315 all_pnames.insert (
"__enhanced__");
1316 all_pnames.insert (
"__graphics_toolkit__");
1317 all_pnames.insert (
"__guidata__");
1318 all_pnames.insert (
"__plot_stream__");
1321 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
1332 std::set<std::string> pnames = core_property_names ();
1334 return pnames.find (pname) != pnames.end ();
1337 std::set<std::string>
1340 static std::set<std::string> all_pnames = core_property_names ();
1342 std::set<std::string> retval = all_pnames;
1344 retval.insert (base_props.begin (), base_props.end ());
1352 std::set<std::string> pnames = all_property_names ();
1354 return pnames.find (pname) != pnames.end ();
1361 activepositionproperty (
"activepositionproperty", mh,
"{outerposition}|position"),
1363 alimmode (
"alimmode", mh,
"{auto}|manual"),
1364 ambientlightcolor (
"ambientlightcolor", mh,
color_values (1, 1, 1)),
1365 box (
"box", mh,
"on"),
1366 cameraposition (
"cameraposition", mh,
Matrix (1, 3, 0.0)),
1367 camerapositionmode (
"camerapositionmode", mh,
"{auto}|manual"),
1368 cameratarget (
"cameratarget", mh,
Matrix (1, 3, 0.0)),
1369 cameratargetmode (
"cameratargetmode", mh,
"{auto}|manual"),
1370 cameraupvector (
"cameraupvector", mh,
Matrix ()),
1371 cameraupvectormode (
"cameraupvectormode", mh,
"{auto}|manual"),
1372 cameraviewangle (
"cameraviewangle", mh, 10.0),
1373 cameraviewanglemode (
"cameraviewanglemode", mh,
"{auto}|manual"),
1375 climmode (
"climmode", mh,
"{auto}|manual"),
1378 currentpoint (
"currentpoint", mh,
Matrix (2, 3, 0.0)),
1379 dataaspectratio (
"dataaspectratio", mh,
Matrix (1, 3, 1.0)),
1380 dataaspectratiomode (
"dataaspectratiomode", mh,
"{auto}|manual"),
1381 drawmode (
"drawmode", mh,
"{normal}|fast"),
1382 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
1384 fontsize (
"fontsize", mh, 10),
1385 fontunits (
"fontunits", mh,
"{points}|normalized|inches|centimeters|pixels"),
1386 fontweight (
"fontweight", mh,
"{normal}|light|demi|bold"),
1387 gridlinestyle (
"gridlinestyle", mh,
"-|--|{:}|-.|none"),
1388 interpreter (
"interpreter", mh,
"tex|{none}|latex"),
1389 layer (
"layer", mh,
"{bottom}|top"),
1390 linestyleorder (
"linestyleorder", mh,
"-"),
1391 linewidth (
"linewidth", mh, 0.5),
1392 minorgridlinestyle (
"minorgridlinestyle", mh,
"-|--|{:}|-.|none"),
1393 nextplot (
"nextplot", mh,
"add|replacechildren|{replace}"),
1395 plotboxaspectratio (
"plotboxaspectratio", mh,
Matrix (1, 3, 1.0)),
1396 plotboxaspectratiomode (
"plotboxaspectratiomode", mh,
"{auto}|manual"),
1398 projection (
"projection", mh,
"{orthographic}|perpective"),
1399 tickdir (
"tickdir", mh,
"{in}|out"),
1400 tickdirmode (
"tickdirmode", mh,
"{auto}|manual"),
1402 tightinset (
"tightinset", mh,
Matrix (1, 4, 0.0)),
1403 title (
"title", mh,
gh_manager::make_graphics_handle (
"text", __myhandle__, false, false, false)),
1404 units (
"units", mh,
"{normalized}|inches|centimeters|points|pixels|characters"),
1405 view (
"view", mh,
Matrix ()),
1406 xaxislocation (
"xaxislocation", mh,
"{bottom}|top|zero"),
1408 xdir (
"xdir", mh,
"{normal}|reverse"),
1409 xgrid (
"xgrid", mh,
"off"),
1410 xlabel (
"xlabel", mh,
gh_manager::make_graphics_handle (
"text", __myhandle__, false, false, false)),
1412 xlimmode (
"xlimmode", mh,
"{auto}|manual"),
1413 xminorgrid (
"xminorgrid", mh,
"off"),
1414 xminortick (
"xminortick", mh,
"off"),
1415 xscale (
"xscale", mh,
"{linear}|log"),
1417 xticklabel (
"xticklabel", mh,
""),
1418 xticklabelmode (
"xticklabelmode", mh,
"{auto}|manual"),
1419 xtickmode (
"xtickmode", mh,
"{auto}|manual"),
1420 yaxislocation (
"yaxislocation", mh,
"{left}|right|zero"),
1422 ydir (
"ydir", mh,
"{normal}|reverse"),
1423 ygrid (
"ygrid", mh,
"off"),
1424 ylabel (
"ylabel", mh,
gh_manager::make_graphics_handle (
"text", __myhandle__, false, false, false)),
1426 ylimmode (
"ylimmode", mh,
"{auto}|manual"),
1427 yminorgrid (
"yminorgrid", mh,
"off"),
1428 yminortick (
"yminortick", mh,
"off"),
1429 yscale (
"yscale", mh,
"{linear}|log"),
1431 yticklabel (
"yticklabel", mh,
""),
1432 yticklabelmode (
"yticklabelmode", mh,
"{auto}|manual"),
1433 ytickmode (
"ytickmode", mh,
"{auto}|manual"),
1435 zdir (
"zdir", mh,
"{normal}|reverse"),
1436 zgrid (
"zgrid", mh,
"off"),
1437 zlabel (
"zlabel", mh,
gh_manager::make_graphics_handle (
"text", __myhandle__, false, false, false)),
1439 zlimmode (
"zlimmode", mh,
"{auto}|manual"),
1440 zminorgrid (
"zminorgrid", mh,
"off"),
1441 zminortick (
"zminortick", mh,
"off"),
1442 zscale (
"zscale", mh,
"{linear}|log"),
1444 zticklabel (
"zticklabel", mh,
""),
1445 zticklabelmode (
"zticklabelmode", mh,
"{auto}|manual"),
1446 ztickmode (
"ztickmode", mh,
"{auto}|manual"),
1447 __hold_all__ (
"__hold_all__", mh,
"off"),
1448 autopos_tag (
"autopos_tag", mh,
"{none}|subplot"),
1449 looseinset (
"looseinset", mh,
Matrix (1, 4, 0.0)),
1450 x_viewtransform (
"x_viewtransform", mh,
Matrix (4, 4, 0.0)),
1451 x_projectiontransform (
"x_projectiontransform", mh,
Matrix (4, 4, 0.0)),
1452 x_viewporttransform (
"x_viewporttransform", mh,
Matrix (4, 4, 0.0)),
1453 x_normrendertransform (
"x_normrendertransform", mh,
Matrix (4, 4, 0.0)),
1454 x_rendertransform (
"x_rendertransform", mh,
Matrix (4, 4, 0.0)),
1455 xmtick (
"xmtick", mh,
Matrix ()),
1456 ymtick (
"ymtick", mh,
Matrix ()),
1457 zmtick (
"zmtick", mh,
Matrix ())
1573 const std::set<std::string>& pnames = all_property_names ();
1580 if (pname.
compare (
"activepositionproperty"))
1581 set_activepositionproperty (val);
1582 else if (pname.
compare (
"alim"))
1584 else if (pname.
compare (
"alimmode"))
1586 else if (pname.
compare (
"ambientlightcolor"))
1587 set_ambientlightcolor (val);
1588 else if (pname.
compare (
"box"))
1590 else if (pname.
compare (
"cameraposition"))
1591 set_cameraposition (val);
1592 else if (pname.
compare (
"camerapositionmode"))
1593 set_camerapositionmode (val);
1594 else if (pname.
compare (
"cameratarget"))
1595 set_cameratarget (val);
1596 else if (pname.
compare (
"cameratargetmode"))
1597 set_cameratargetmode (val);
1598 else if (pname.
compare (
"cameraupvector"))
1599 set_cameraupvector (val);
1600 else if (pname.
compare (
"cameraupvectormode"))
1601 set_cameraupvectormode (val);
1602 else if (pname.
compare (
"cameraviewangle"))
1603 set_cameraviewangle (val);
1604 else if (pname.
compare (
"cameraviewanglemode"))
1605 set_cameraviewanglemode (val);
1606 else if (pname.
compare (
"clim"))
1608 else if (pname.
compare (
"climmode"))
1610 else if (pname.
compare (
"color"))
1612 else if (pname.
compare (
"colororder"))
1613 set_colororder (val);
1614 else if (pname.
compare (
"currentpoint"))
1615 set_currentpoint (val);
1616 else if (pname.
compare (
"dataaspectratio"))
1617 set_dataaspectratio (val);
1618 else if (pname.
compare (
"dataaspectratiomode"))
1619 set_dataaspectratiomode (val);
1620 else if (pname.
compare (
"drawmode"))
1622 else if (pname.
compare (
"fontangle"))
1623 set_fontangle (val);
1624 else if (pname.
compare (
"fontname"))
1626 else if (pname.
compare (
"fontsize"))
1628 else if (pname.
compare (
"fontunits"))
1629 set_fontunits (val);
1630 else if (pname.
compare (
"fontweight"))
1631 set_fontweight (val);
1632 else if (pname.
compare (
"gridlinestyle"))
1633 set_gridlinestyle (val);
1634 else if (pname.
compare (
"interpreter"))
1635 set_interpreter (val);
1636 else if (pname.
compare (
"layer"))
1638 else if (pname.
compare (
"linestyleorder"))
1639 set_linestyleorder (val);
1640 else if (pname.
compare (
"linewidth"))
1641 set_linewidth (val);
1642 else if (pname.
compare (
"minorgridlinestyle"))
1643 set_minorgridlinestyle (val);
1644 else if (pname.
compare (
"nextplot"))
1646 else if (pname.
compare (
"outerposition"))
1647 set_outerposition (val);
1648 else if (pname.
compare (
"plotboxaspectratio"))
1649 set_plotboxaspectratio (val);
1650 else if (pname.
compare (
"plotboxaspectratiomode"))
1651 set_plotboxaspectratiomode (val);
1652 else if (pname.
compare (
"position"))
1654 else if (pname.
compare (
"projection"))
1655 set_projection (val);
1656 else if (pname.
compare (
"tickdir"))
1658 else if (pname.
compare (
"tickdirmode"))
1659 set_tickdirmode (val);
1660 else if (pname.
compare (
"ticklength"))
1661 set_ticklength (val);
1662 else if (pname.
compare (
"title"))
1664 else if (pname.
compare (
"units"))
1666 else if (pname.
compare (
"view"))
1668 else if (pname.
compare (
"xaxislocation"))
1669 set_xaxislocation (val);
1670 else if (pname.
compare (
"xcolor"))
1672 else if (pname.
compare (
"xdir"))
1674 else if (pname.
compare (
"xgrid"))
1676 else if (pname.
compare (
"xlabel"))
1678 else if (pname.
compare (
"xlim"))
1680 else if (pname.
compare (
"xlimmode"))
1682 else if (pname.
compare (
"xminorgrid"))
1683 set_xminorgrid (val);
1684 else if (pname.
compare (
"xminortick"))
1685 set_xminortick (val);
1686 else if (pname.
compare (
"xscale"))
1688 else if (pname.
compare (
"xtick"))
1690 else if (pname.
compare (
"xticklabel"))
1691 set_xticklabel (val);
1692 else if (pname.
compare (
"xticklabelmode"))
1693 set_xticklabelmode (val);
1694 else if (pname.
compare (
"xtickmode"))
1695 set_xtickmode (val);
1696 else if (pname.
compare (
"yaxislocation"))
1697 set_yaxislocation (val);
1698 else if (pname.
compare (
"ycolor"))
1700 else if (pname.
compare (
"ydir"))
1702 else if (pname.
compare (
"ygrid"))
1704 else if (pname.
compare (
"ylabel"))
1706 else if (pname.
compare (
"ylim"))
1708 else if (pname.
compare (
"ylimmode"))
1710 else if (pname.
compare (
"yminorgrid"))
1711 set_yminorgrid (val);
1712 else if (pname.
compare (
"yminortick"))
1713 set_yminortick (val);
1714 else if (pname.
compare (
"yscale"))
1716 else if (pname.
compare (
"ytick"))
1718 else if (pname.
compare (
"yticklabel"))
1719 set_yticklabel (val);
1720 else if (pname.
compare (
"yticklabelmode"))
1721 set_yticklabelmode (val);
1722 else if (pname.
compare (
"ytickmode"))
1723 set_ytickmode (val);
1724 else if (pname.
compare (
"zcolor"))
1726 else if (pname.
compare (
"zdir"))
1728 else if (pname.
compare (
"zgrid"))
1730 else if (pname.
compare (
"zlabel"))
1732 else if (pname.
compare (
"zlim"))
1734 else if (pname.
compare (
"zlimmode"))
1736 else if (pname.
compare (
"zminorgrid"))
1737 set_zminorgrid (val);
1738 else if (pname.
compare (
"zminortick"))
1739 set_zminortick (val);
1740 else if (pname.
compare (
"zscale"))
1742 else if (pname.
compare (
"ztick"))
1744 else if (pname.
compare (
"zticklabel"))
1745 set_zticklabel (val);
1746 else if (pname.
compare (
"zticklabelmode"))
1747 set_zticklabelmode (val);
1748 else if (pname.
compare (
"ztickmode"))
1749 set_ztickmode (val);
1750 else if (pname.
compare (
"__hold_all__"))
1751 set___hold_all__ (val);
1752 else if (pname.
compare (
"autopos_tag"))
1753 set_autopos_tag (val);
1754 else if (pname.
compare (
"looseinset"))
1755 set_looseinset (val);
1756 else if (pname.
compare (
"x_viewtransform"))
1757 set_x_viewtransform (val);
1758 else if (pname.
compare (
"x_projectiontransform"))
1759 set_x_projectiontransform (val);
1760 else if (pname.
compare (
"x_viewporttransform"))
1761 set_x_viewporttransform (val);
1762 else if (pname.
compare (
"x_normrendertransform"))
1763 set_x_normrendertransform (val);
1764 else if (pname.
compare (
"x_rendertransform"))
1765 set_x_rendertransform (val);
1766 else if (pname.
compare (
"xmtick"))
1768 else if (pname.
compare (
"ymtick"))
1770 else if (pname.
compare (
"zmtick"))
1898 const std::set<std::string>& pnames = all_property_names ();
1905 if (pname.
compare (
"activepositionproperty"))
1906 retval = get_activepositionproperty ();
1907 else if (pname.
compare (
"alim"))
1908 retval = get_alim ();
1909 else if (pname.
compare (
"alimmode"))
1910 retval = get_alimmode ();
1911 else if (pname.
compare (
"ambientlightcolor"))
1912 retval = get_ambientlightcolor ();
1913 else if (pname.
compare (
"box"))
1914 retval = get_box ();
1915 else if (pname.
compare (
"cameraposition"))
1916 retval = get_cameraposition ();
1917 else if (pname.
compare (
"camerapositionmode"))
1918 retval = get_camerapositionmode ();
1919 else if (pname.
compare (
"cameratarget"))
1920 retval = get_cameratarget ();
1921 else if (pname.
compare (
"cameratargetmode"))
1922 retval = get_cameratargetmode ();
1923 else if (pname.
compare (
"cameraupvector"))
1924 retval = get_cameraupvector ();
1925 else if (pname.
compare (
"cameraupvectormode"))
1926 retval = get_cameraupvectormode ();
1927 else if (pname.
compare (
"cameraviewangle"))
1928 retval = get_cameraviewangle ();
1929 else if (pname.
compare (
"cameraviewanglemode"))
1930 retval = get_cameraviewanglemode ();
1931 else if (pname.
compare (
"clim"))
1932 retval = get_clim ();
1933 else if (pname.
compare (
"climmode"))
1934 retval = get_climmode ();
1935 else if (pname.
compare (
"color"))
1936 retval = get_color ();
1937 else if (pname.
compare (
"colororder"))
1938 retval = get_colororder ();
1939 else if (pname.
compare (
"currentpoint"))
1940 retval = get_currentpoint ();
1941 else if (pname.
compare (
"dataaspectratio"))
1942 retval = get_dataaspectratio ();
1943 else if (pname.
compare (
"dataaspectratiomode"))
1944 retval = get_dataaspectratiomode ();
1945 else if (pname.
compare (
"drawmode"))
1946 retval = get_drawmode ();
1947 else if (pname.
compare (
"fontangle"))
1948 retval = get_fontangle ();
1949 else if (pname.
compare (
"fontname"))
1950 retval = get_fontname ();
1951 else if (pname.
compare (
"fontsize"))
1952 retval = get_fontsize ();
1953 else if (pname.
compare (
"fontunits"))
1954 retval = get_fontunits ();
1955 else if (pname.
compare (
"fontweight"))
1956 retval = get_fontweight ();
1957 else if (pname.
compare (
"gridlinestyle"))
1958 retval = get_gridlinestyle ();
1959 else if (pname.
compare (
"interpreter"))
1960 retval = get_interpreter ();
1961 else if (pname.
compare (
"layer"))
1962 retval = get_layer ();
1963 else if (pname.
compare (
"linestyleorder"))
1964 retval = get_linestyleorder ();
1965 else if (pname.
compare (
"linewidth"))
1966 retval = get_linewidth ();
1967 else if (pname.
compare (
"minorgridlinestyle"))
1968 retval = get_minorgridlinestyle ();
1969 else if (pname.
compare (
"nextplot"))
1970 retval = get_nextplot ();
1971 else if (pname.
compare (
"outerposition"))
1972 retval = get_outerposition ();
1973 else if (pname.
compare (
"plotboxaspectratio"))
1974 retval = get_plotboxaspectratio ();
1975 else if (pname.
compare (
"plotboxaspectratiomode"))
1976 retval = get_plotboxaspectratiomode ();
1977 else if (pname.
compare (
"position"))
1978 retval = get_position ();
1979 else if (pname.
compare (
"projection"))
1980 retval = get_projection ();
1981 else if (pname.
compare (
"tickdir"))
1982 retval = get_tickdir ();
1983 else if (pname.
compare (
"tickdirmode"))
1984 retval = get_tickdirmode ();
1985 else if (pname.
compare (
"ticklength"))
1986 retval = get_ticklength ();
1987 else if (pname.
compare (
"tightinset"))
1988 retval = get_tightinset ();
1989 else if (pname.
compare (
"title"))
1990 retval = get_title ().as_octave_value ();
1991 else if (pname.
compare (
"units"))
1992 retval = get_units ();
1993 else if (pname.
compare (
"view"))
1994 retval = get_view ();
1995 else if (pname.
compare (
"xaxislocation"))
1996 retval = get_xaxislocation ();
1997 else if (pname.
compare (
"xcolor"))
1998 retval = get_xcolor ();
1999 else if (pname.
compare (
"xdir"))
2000 retval = get_xdir ();
2001 else if (pname.
compare (
"xgrid"))
2002 retval = get_xgrid ();
2003 else if (pname.
compare (
"xlabel"))
2004 retval = get_xlabel ().as_octave_value ();
2005 else if (pname.
compare (
"xlim"))
2006 retval = get_xlim ();
2007 else if (pname.
compare (
"xlimmode"))
2008 retval = get_xlimmode ();
2009 else if (pname.
compare (
"xminorgrid"))
2010 retval = get_xminorgrid ();
2011 else if (pname.
compare (
"xminortick"))
2012 retval = get_xminortick ();
2013 else if (pname.
compare (
"xscale"))
2014 retval = get_xscale ();
2015 else if (pname.
compare (
"xtick"))
2016 retval = get_xtick ();
2017 else if (pname.
compare (
"xticklabel"))
2018 retval = get_xticklabel ();
2019 else if (pname.
compare (
"xticklabelmode"))
2020 retval = get_xticklabelmode ();
2021 else if (pname.
compare (
"xtickmode"))
2022 retval = get_xtickmode ();
2023 else if (pname.
compare (
"yaxislocation"))
2024 retval = get_yaxislocation ();
2025 else if (pname.
compare (
"ycolor"))
2026 retval = get_ycolor ();
2027 else if (pname.
compare (
"ydir"))
2028 retval = get_ydir ();
2029 else if (pname.
compare (
"ygrid"))
2030 retval = get_ygrid ();
2031 else if (pname.
compare (
"ylabel"))
2032 retval = get_ylabel ().as_octave_value ();
2033 else if (pname.
compare (
"ylim"))
2034 retval = get_ylim ();
2035 else if (pname.
compare (
"ylimmode"))
2036 retval = get_ylimmode ();
2037 else if (pname.
compare (
"yminorgrid"))
2038 retval = get_yminorgrid ();
2039 else if (pname.
compare (
"yminortick"))
2040 retval = get_yminortick ();
2041 else if (pname.
compare (
"yscale"))
2042 retval = get_yscale ();
2043 else if (pname.
compare (
"ytick"))
2044 retval = get_ytick ();
2045 else if (pname.
compare (
"yticklabel"))
2046 retval = get_yticklabel ();
2047 else if (pname.
compare (
"yticklabelmode"))
2048 retval = get_yticklabelmode ();
2049 else if (pname.
compare (
"ytickmode"))
2050 retval = get_ytickmode ();
2051 else if (pname.
compare (
"zcolor"))
2052 retval = get_zcolor ();
2053 else if (pname.
compare (
"zdir"))
2054 retval = get_zdir ();
2055 else if (pname.
compare (
"zgrid"))
2056 retval = get_zgrid ();
2057 else if (pname.
compare (
"zlabel"))
2058 retval = get_zlabel ().as_octave_value ();
2059 else if (pname.
compare (
"zlim"))
2060 retval = get_zlim ();
2061 else if (pname.
compare (
"zlimmode"))
2062 retval = get_zlimmode ();
2063 else if (pname.
compare (
"zminorgrid"))
2064 retval = get_zminorgrid ();
2065 else if (pname.
compare (
"zminortick"))
2066 retval = get_zminortick ();
2067 else if (pname.
compare (
"zscale"))
2068 retval = get_zscale ();
2069 else if (pname.
compare (
"ztick"))
2070 retval = get_ztick ();
2071 else if (pname.
compare (
"zticklabel"))
2072 retval = get_zticklabel ();
2073 else if (pname.
compare (
"zticklabelmode"))
2074 retval = get_zticklabelmode ();
2075 else if (pname.
compare (
"ztickmode"))
2076 retval = get_ztickmode ();
2077 else if (pname.
compare (
"__hold_all__"))
2078 retval = get___hold_all__ ();
2079 else if (pname.
compare (
"autopos_tag"))
2080 retval = get_autopos_tag ();
2081 else if (pname.
compare (
"looseinset"))
2082 retval = get_looseinset ();
2083 else if (pname.
compare (
"x_viewtransform"))
2084 retval = get_x_viewtransform ();
2085 else if (pname.
compare (
"x_projectiontransform"))
2086 retval = get_x_projectiontransform ();
2087 else if (pname.
compare (
"x_viewporttransform"))
2088 retval = get_x_viewporttransform ();
2089 else if (pname.
compare (
"x_normrendertransform"))
2090 retval = get_x_normrendertransform ();
2091 else if (pname.
compare (
"x_rendertransform"))
2092 retval = get_x_rendertransform ();
2093 else if (pname.
compare (
"xmtick"))
2094 retval = get_xmtick ();
2095 else if (pname.
compare (
"ymtick"))
2096 retval = get_ymtick ();
2097 else if (pname.
compare (
"zmtick"))
2098 retval = get_zmtick ();
2108 const std::set<std::string>& pnames = all_property_names ();
2115 if (pname.
compare (
"activepositionproperty"))
2116 return property (&activepositionproperty,
true);
2117 else if (pname.
compare (
"alim"))
2119 else if (pname.
compare (
"alimmode"))
2121 else if (pname.
compare (
"ambientlightcolor"))
2122 return property (&ambientlightcolor,
true);
2123 else if (pname.
compare (
"box"))
2125 else if (pname.
compare (
"cameraposition"))
2126 return property (&cameraposition,
true);
2127 else if (pname.
compare (
"camerapositionmode"))
2128 return property (&camerapositionmode,
true);
2129 else if (pname.
compare (
"cameratarget"))
2130 return property (&cameratarget,
true);
2131 else if (pname.
compare (
"cameratargetmode"))
2132 return property (&cameratargetmode,
true);
2133 else if (pname.
compare (
"cameraupvector"))
2134 return property (&cameraupvector,
true);
2135 else if (pname.
compare (
"cameraupvectormode"))
2136 return property (&cameraupvectormode,
true);
2137 else if (pname.
compare (
"cameraviewangle"))
2138 return property (&cameraviewangle,
true);
2139 else if (pname.
compare (
"cameraviewanglemode"))
2140 return property (&cameraviewanglemode,
true);
2141 else if (pname.
compare (
"clim"))
2143 else if (pname.
compare (
"climmode"))
2145 else if (pname.
compare (
"color"))
2147 else if (pname.
compare (
"colororder"))
2148 return property (&colororder,
true);
2149 else if (pname.
compare (
"currentpoint"))
2150 return property (¤tpoint,
true);
2151 else if (pname.
compare (
"dataaspectratio"))
2152 return property (&dataaspectratio,
true);
2153 else if (pname.
compare (
"dataaspectratiomode"))
2154 return property (&dataaspectratiomode,
true);
2155 else if (pname.
compare (
"drawmode"))
2157 else if (pname.
compare (
"fontangle"))
2158 return property (&fontangle,
true);
2159 else if (pname.
compare (
"fontname"))
2161 else if (pname.
compare (
"fontsize"))
2163 else if (pname.
compare (
"fontunits"))
2164 return property (&fontunits,
true);
2165 else if (pname.
compare (
"fontweight"))
2166 return property (&fontweight,
true);
2167 else if (pname.
compare (
"gridlinestyle"))
2168 return property (&gridlinestyle,
true);
2169 else if (pname.
compare (
"interpreter"))
2170 return property (&interpreter,
true);
2171 else if (pname.
compare (
"layer"))
2173 else if (pname.
compare (
"linestyleorder"))
2174 return property (&linestyleorder,
true);
2175 else if (pname.
compare (
"linewidth"))
2176 return property (&linewidth,
true);
2177 else if (pname.
compare (
"minorgridlinestyle"))
2178 return property (&minorgridlinestyle,
true);
2179 else if (pname.
compare (
"nextplot"))
2181 else if (pname.
compare (
"outerposition"))
2182 return property (&outerposition,
true);
2183 else if (pname.
compare (
"plotboxaspectratio"))
2184 return property (&plotboxaspectratio,
true);
2185 else if (pname.
compare (
"plotboxaspectratiomode"))
2186 return property (&plotboxaspectratiomode,
true);
2187 else if (pname.
compare (
"position"))
2189 else if (pname.
compare (
"projection"))
2190 return property (&projection,
true);
2191 else if (pname.
compare (
"tickdir"))
2193 else if (pname.
compare (
"tickdirmode"))
2194 return property (&tickdirmode,
true);
2195 else if (pname.
compare (
"ticklength"))
2196 return property (&ticklength,
true);
2197 else if (pname.
compare (
"tightinset"))
2198 return property (&tightinset,
true);
2199 else if (pname.
compare (
"title"))
2201 else if (pname.
compare (
"units"))
2203 else if (pname.
compare (
"view"))
2205 else if (pname.
compare (
"xaxislocation"))
2206 return property (&xaxislocation,
true);
2207 else if (pname.
compare (
"xcolor"))
2209 else if (pname.
compare (
"xdir"))
2211 else if (pname.
compare (
"xgrid"))
2213 else if (pname.
compare (
"xlabel"))
2215 else if (pname.
compare (
"xlim"))
2217 else if (pname.
compare (
"xlimmode"))
2219 else if (pname.
compare (
"xminorgrid"))
2220 return property (&xminorgrid,
true);
2221 else if (pname.
compare (
"xminortick"))
2222 return property (&xminortick,
true);
2223 else if (pname.
compare (
"xscale"))
2225 else if (pname.
compare (
"xtick"))
2227 else if (pname.
compare (
"xticklabel"))
2228 return property (&xticklabel,
true);
2229 else if (pname.
compare (
"xticklabelmode"))
2230 return property (&xticklabelmode,
true);
2231 else if (pname.
compare (
"xtickmode"))
2232 return property (&xtickmode,
true);
2233 else if (pname.
compare (
"yaxislocation"))
2234 return property (&yaxislocation,
true);
2235 else if (pname.
compare (
"ycolor"))
2237 else if (pname.
compare (
"ydir"))
2239 else if (pname.
compare (
"ygrid"))
2241 else if (pname.
compare (
"ylabel"))
2243 else if (pname.
compare (
"ylim"))
2245 else if (pname.
compare (
"ylimmode"))
2247 else if (pname.
compare (
"yminorgrid"))
2248 return property (&yminorgrid,
true);
2249 else if (pname.
compare (
"yminortick"))
2250 return property (&yminortick,
true);
2251 else if (pname.
compare (
"yscale"))
2253 else if (pname.
compare (
"ytick"))
2255 else if (pname.
compare (
"yticklabel"))
2256 return property (&yticklabel,
true);
2257 else if (pname.
compare (
"yticklabelmode"))
2258 return property (&yticklabelmode,
true);
2259 else if (pname.
compare (
"ytickmode"))
2260 return property (&ytickmode,
true);
2261 else if (pname.
compare (
"zcolor"))
2263 else if (pname.
compare (
"zdir"))
2265 else if (pname.
compare (
"zgrid"))
2267 else if (pname.
compare (
"zlabel"))
2269 else if (pname.
compare (
"zlim"))
2271 else if (pname.
compare (
"zlimmode"))
2273 else if (pname.
compare (
"zminorgrid"))
2274 return property (&zminorgrid,
true);
2275 else if (pname.
compare (
"zminortick"))
2276 return property (&zminortick,
true);
2277 else if (pname.
compare (
"zscale"))
2279 else if (pname.
compare (
"ztick"))
2281 else if (pname.
compare (
"zticklabel"))
2282 return property (&zticklabel,
true);
2283 else if (pname.
compare (
"zticklabelmode"))
2284 return property (&zticklabelmode,
true);
2285 else if (pname.
compare (
"ztickmode"))
2286 return property (&ztickmode,
true);
2287 else if (pname.
compare (
"__hold_all__"))
2288 return property (&__hold_all__,
true);
2289 else if (pname.
compare (
"autopos_tag"))
2290 return property (&autopos_tag,
true);
2291 else if (pname.
compare (
"looseinset"))
2292 return property (&looseinset,
true);
2293 else if (pname.
compare (
"x_viewtransform"))
2294 return property (&x_viewtransform,
true);
2295 else if (pname.
compare (
"x_projectiontransform"))
2296 return property (&x_projectiontransform,
true);
2297 else if (pname.
compare (
"x_viewporttransform"))
2298 return property (&x_viewporttransform,
true);
2299 else if (pname.
compare (
"x_normrendertransform"))
2300 return property (&x_normrendertransform,
true);
2301 else if (pname.
compare (
"x_rendertransform"))
2302 return property (&x_rendertransform,
true);
2303 else if (pname.
compare (
"xmtick"))
2305 else if (pname.
compare (
"ymtick"))
2307 else if (pname.
compare (
"zmtick"))
2318 m[
"activepositionproperty"] =
"outerposition";
2320 m[
"alimmode"] =
"auto";
2323 m[
"cameraposition"] =
Matrix (1, 3, 0.0);
2324 m[
"camerapositionmode"] =
"auto";
2325 m[
"cameratarget"] =
Matrix (1, 3, 0.0);
2326 m[
"cameratargetmode"] =
"auto";
2327 m[
"cameraupvector"] =
Matrix ();
2328 m[
"cameraupvectormode"] =
"auto";
2329 m[
"cameraviewangle"] = 10.0;
2330 m[
"cameraviewanglemode"] =
"auto";
2332 m[
"climmode"] =
"auto";
2335 m[
"currentpoint"] =
Matrix (2, 3, 0.0);
2336 m[
"dataaspectratio"] =
Matrix (1, 3, 1.0);
2337 m[
"dataaspectratiomode"] =
"auto";
2338 m[
"drawmode"] =
"normal";
2339 m[
"fontangle"] =
"normal";
2342 m[
"fontunits"] =
"points";
2343 m[
"fontweight"] =
"normal";
2344 m[
"gridlinestyle"] =
":";
2345 m[
"interpreter"] =
"none";
2346 m[
"layer"] =
"bottom";
2347 m[
"linestyleorder"] =
"-";
2348 m[
"linewidth"] = 0.5;
2349 m[
"minorgridlinestyle"] =
":";
2350 m[
"nextplot"] =
"replace";
2352 m[
"plotboxaspectratio"] =
Matrix (1, 3, 1.0);
2353 m[
"plotboxaspectratiomode"] =
"auto";
2355 m[
"projection"] =
"orthographic";
2356 m[
"tickdir"] =
"in";
2357 m[
"tickdirmode"] =
"auto";
2359 m[
"tightinset"] =
Matrix (1, 4, 0.0);
2360 m[
"units"] =
"normalized";
2362 m[
"xaxislocation"] =
"bottom";
2364 m[
"xdir"] =
"normal";
2367 m[
"xlimmode"] =
"auto";
2368 m[
"xminorgrid"] =
"off";
2369 m[
"xminortick"] =
"off";
2370 m[
"xscale"] =
"linear";
2372 m[
"xticklabel"] =
"";
2373 m[
"xticklabelmode"] =
"auto";
2374 m[
"xtickmode"] =
"auto";
2375 m[
"yaxislocation"] =
"left";
2377 m[
"ydir"] =
"normal";
2380 m[
"ylimmode"] =
"auto";
2381 m[
"yminorgrid"] =
"off";
2382 m[
"yminortick"] =
"off";
2383 m[
"yscale"] =
"linear";
2385 m[
"yticklabel"] =
"";
2386 m[
"yticklabelmode"] =
"auto";
2387 m[
"ytickmode"] =
"auto";
2389 m[
"zdir"] =
"normal";
2392 m[
"zlimmode"] =
"auto";
2393 m[
"zminorgrid"] =
"off";
2394 m[
"zminortick"] =
"off";
2395 m[
"zscale"] =
"linear";
2397 m[
"zticklabel"] =
"";
2398 m[
"zticklabelmode"] =
"auto";
2399 m[
"ztickmode"] =
"auto";
2400 m[
"__hold_all__"] =
"off";
2401 m[
"autopos_tag"] =
"none";
2402 m[
"looseinset"] =
Matrix (1, 4, 0.0);
2403 m[
"x_viewtransform"] =
Matrix (4, 4, 0.0);
2404 m[
"x_projectiontransform"] =
Matrix (4, 4, 0.0);
2405 m[
"x_viewporttransform"] =
Matrix (4, 4, 0.0);
2406 m[
"x_normrendertransform"] =
Matrix (4, 4, 0.0);
2407 m[
"x_rendertransform"] =
Matrix (4, 4, 0.0);
2417 std::set<std::string>
2420 static std::set<std::string> all_pnames;
2426 all_pnames.insert (
"activepositionproperty");
2427 all_pnames.insert (
"alim");
2428 all_pnames.insert (
"alimmode");
2429 all_pnames.insert (
"ambientlightcolor");
2430 all_pnames.insert (
"box");
2431 all_pnames.insert (
"cameraposition");
2432 all_pnames.insert (
"camerapositionmode");
2433 all_pnames.insert (
"cameratarget");
2434 all_pnames.insert (
"cameratargetmode");
2435 all_pnames.insert (
"cameraupvector");
2436 all_pnames.insert (
"cameraupvectormode");
2437 all_pnames.insert (
"cameraviewangle");
2438 all_pnames.insert (
"cameraviewanglemode");
2439 all_pnames.insert (
"clim");
2440 all_pnames.insert (
"climmode");
2441 all_pnames.insert (
"color");
2442 all_pnames.insert (
"colororder");
2443 all_pnames.insert (
"currentpoint");
2444 all_pnames.insert (
"dataaspectratio");
2445 all_pnames.insert (
"dataaspectratiomode");
2446 all_pnames.insert (
"drawmode");
2447 all_pnames.insert (
"fontangle");
2448 all_pnames.insert (
"fontname");
2449 all_pnames.insert (
"fontsize");
2450 all_pnames.insert (
"fontunits");
2451 all_pnames.insert (
"fontweight");
2452 all_pnames.insert (
"gridlinestyle");
2453 all_pnames.insert (
"interpreter");
2454 all_pnames.insert (
"layer");
2455 all_pnames.insert (
"linestyleorder");
2456 all_pnames.insert (
"linewidth");
2457 all_pnames.insert (
"minorgridlinestyle");
2458 all_pnames.insert (
"nextplot");
2459 all_pnames.insert (
"outerposition");
2460 all_pnames.insert (
"plotboxaspectratio");
2461 all_pnames.insert (
"plotboxaspectratiomode");
2462 all_pnames.insert (
"position");
2463 all_pnames.insert (
"projection");
2464 all_pnames.insert (
"tickdir");
2465 all_pnames.insert (
"tickdirmode");
2466 all_pnames.insert (
"ticklength");
2467 all_pnames.insert (
"tightinset");
2468 all_pnames.insert (
"title");
2469 all_pnames.insert (
"units");
2470 all_pnames.insert (
"view");
2471 all_pnames.insert (
"xaxislocation");
2472 all_pnames.insert (
"xcolor");
2473 all_pnames.insert (
"xdir");
2474 all_pnames.insert (
"xgrid");
2475 all_pnames.insert (
"xlabel");
2476 all_pnames.insert (
"xlim");
2477 all_pnames.insert (
"xlimmode");
2478 all_pnames.insert (
"xminorgrid");
2479 all_pnames.insert (
"xminortick");
2480 all_pnames.insert (
"xscale");
2481 all_pnames.insert (
"xtick");
2482 all_pnames.insert (
"xticklabel");
2483 all_pnames.insert (
"xticklabelmode");
2484 all_pnames.insert (
"xtickmode");
2485 all_pnames.insert (
"yaxislocation");
2486 all_pnames.insert (
"ycolor");
2487 all_pnames.insert (
"ydir");
2488 all_pnames.insert (
"ygrid");
2489 all_pnames.insert (
"ylabel");
2490 all_pnames.insert (
"ylim");
2491 all_pnames.insert (
"ylimmode");
2492 all_pnames.insert (
"yminorgrid");
2493 all_pnames.insert (
"yminortick");
2494 all_pnames.insert (
"yscale");
2495 all_pnames.insert (
"ytick");
2496 all_pnames.insert (
"yticklabel");
2497 all_pnames.insert (
"yticklabelmode");
2498 all_pnames.insert (
"ytickmode");
2499 all_pnames.insert (
"zcolor");
2500 all_pnames.insert (
"zdir");
2501 all_pnames.insert (
"zgrid");
2502 all_pnames.insert (
"zlabel");
2503 all_pnames.insert (
"zlim");
2504 all_pnames.insert (
"zlimmode");
2505 all_pnames.insert (
"zminorgrid");
2506 all_pnames.insert (
"zminortick");
2507 all_pnames.insert (
"zscale");
2508 all_pnames.insert (
"ztick");
2509 all_pnames.insert (
"zticklabel");
2510 all_pnames.insert (
"zticklabelmode");
2511 all_pnames.insert (
"ztickmode");
2512 all_pnames.insert (
"__hold_all__");
2513 all_pnames.insert (
"autopos_tag");
2514 all_pnames.insert (
"looseinset");
2515 all_pnames.insert (
"x_viewtransform");
2516 all_pnames.insert (
"x_projectiontransform");
2517 all_pnames.insert (
"x_viewporttransform");
2518 all_pnames.insert (
"x_normrendertransform");
2519 all_pnames.insert (
"x_rendertransform");
2520 all_pnames.insert (
"xmtick");
2521 all_pnames.insert (
"ymtick");
2522 all_pnames.insert (
"zmtick");
2525 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
2536 std::set<std::string> pnames = core_property_names ();
2538 return pnames.find (pname) != pnames.end ();
2541 std::set<std::string>
2544 static std::set<std::string> all_pnames = core_property_names ();
2546 std::set<std::string> retval = all_pnames;
2548 retval.insert (base_props.begin (), base_props.end ());
2556 std::set<std::string> pnames = all_property_names ();
2558 return pnames.find (pname) != pnames.end ();
2566 displayname (
"displayname", mh,
""),
2567 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
2568 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
2569 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
2570 linewidth (
"linewidth", mh, 0.5),
2571 marker (
"marker", mh,
"{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"),
2574 markersize (
"markersize", mh, 6),
2576 xdatasource (
"xdatasource", mh,
""),
2578 ydatasource (
"ydatasource", mh,
""),
2579 zdata (
"zdata", mh,
Matrix ()),
2580 zdatasource (
"zdatasource", mh,
""),
2581 xlim (
"xlim", mh,
Matrix ()),
2582 ylim (
"ylim", mh,
Matrix ()),
2583 zlim (
"zlim", mh,
Matrix ()),
2584 xliminclude (
"xliminclude", mh,
"on"),
2585 yliminclude (
"yliminclude", mh,
"on"),
2586 zliminclude (
"zliminclude", mh,
"off")
2622 const std::set<std::string>& pnames = all_property_names ();
2631 else if (pname.
compare (
"displayname"))
2632 set_displayname (val);
2633 else if (pname.
compare (
"erasemode"))
2634 set_erasemode (val);
2635 else if (pname.
compare (
"interpreter"))
2636 set_interpreter (val);
2637 else if (pname.
compare (
"linestyle"))
2638 set_linestyle (val);
2639 else if (pname.
compare (
"linewidth"))
2640 set_linewidth (val);
2641 else if (pname.
compare (
"marker"))
2643 else if (pname.
compare (
"markeredgecolor"))
2644 set_markeredgecolor (val);
2645 else if (pname.
compare (
"markerfacecolor"))
2646 set_markerfacecolor (val);
2647 else if (pname.
compare (
"markersize"))
2648 set_markersize (val);
2649 else if (pname.
compare (
"xdata"))
2651 else if (pname.
compare (
"xdatasource"))
2652 set_xdatasource (val);
2653 else if (pname.
compare (
"ydata"))
2655 else if (pname.
compare (
"ydatasource"))
2656 set_ydatasource (val);
2657 else if (pname.
compare (
"zdata"))
2659 else if (pname.
compare (
"zdatasource"))
2660 set_zdatasource (val);
2661 else if (pname.
compare (
"xliminclude"))
2662 set_xliminclude (val);
2663 else if (pname.
compare (
"yliminclude"))
2664 set_yliminclude (val);
2665 else if (pname.
compare (
"zliminclude"))
2666 set_zliminclude (val);
2713 const std::set<std::string>& pnames = all_property_names ();
2721 retval = get_color ();
2722 else if (pname.
compare (
"displayname"))
2723 retval = get_displayname ();
2724 else if (pname.
compare (
"erasemode"))
2725 retval = get_erasemode ();
2726 else if (pname.
compare (
"interpreter"))
2727 retval = get_interpreter ();
2728 else if (pname.
compare (
"linestyle"))
2729 retval = get_linestyle ();
2730 else if (pname.
compare (
"linewidth"))
2731 retval = get_linewidth ();
2732 else if (pname.
compare (
"marker"))
2733 retval = get_marker ();
2734 else if (pname.
compare (
"markeredgecolor"))
2735 retval = get_markeredgecolor ();
2736 else if (pname.
compare (
"markerfacecolor"))
2737 retval = get_markerfacecolor ();
2738 else if (pname.
compare (
"markersize"))
2739 retval = get_markersize ();
2740 else if (pname.
compare (
"xdata"))
2741 retval = get_xdata ();
2742 else if (pname.
compare (
"xdatasource"))
2743 retval = get_xdatasource ();
2744 else if (pname.
compare (
"ydata"))
2745 retval = get_ydata ();
2746 else if (pname.
compare (
"ydatasource"))
2747 retval = get_ydatasource ();
2748 else if (pname.
compare (
"zdata"))
2749 retval = get_zdata ();
2750 else if (pname.
compare (
"zdatasource"))
2751 retval = get_zdatasource ();
2752 else if (pname.
compare (
"xlim"))
2753 retval = get_xlim ();
2754 else if (pname.
compare (
"ylim"))
2755 retval = get_ylim ();
2756 else if (pname.
compare (
"zlim"))
2757 retval = get_zlim ();
2758 else if (pname.
compare (
"xliminclude"))
2759 retval = get_xliminclude ();
2760 else if (pname.
compare (
"yliminclude"))
2761 retval = get_yliminclude ();
2762 else if (pname.
compare (
"zliminclude"))
2763 retval = get_zliminclude ();
2773 const std::set<std::string>& pnames = all_property_names ();
2782 else if (pname.
compare (
"displayname"))
2783 return property (&displayname,
true);
2784 else if (pname.
compare (
"erasemode"))
2785 return property (&erasemode,
true);
2786 else if (pname.
compare (
"interpreter"))
2787 return property (&interpreter,
true);
2788 else if (pname.
compare (
"linestyle"))
2789 return property (&linestyle,
true);
2790 else if (pname.
compare (
"linewidth"))
2791 return property (&linewidth,
true);
2792 else if (pname.
compare (
"marker"))
2794 else if (pname.
compare (
"markeredgecolor"))
2795 return property (&markeredgecolor,
true);
2796 else if (pname.
compare (
"markerfacecolor"))
2797 return property (&markerfacecolor,
true);
2798 else if (pname.
compare (
"markersize"))
2799 return property (&markersize,
true);
2800 else if (pname.
compare (
"xdata"))
2802 else if (pname.
compare (
"xdatasource"))
2803 return property (&xdatasource,
true);
2804 else if (pname.
compare (
"ydata"))
2806 else if (pname.
compare (
"ydatasource"))
2807 return property (&ydatasource,
true);
2808 else if (pname.
compare (
"zdata"))
2810 else if (pname.
compare (
"zdatasource"))
2811 return property (&zdatasource,
true);
2812 else if (pname.
compare (
"xlim"))
2814 else if (pname.
compare (
"ylim"))
2816 else if (pname.
compare (
"zlim"))
2818 else if (pname.
compare (
"xliminclude"))
2819 return property (&xliminclude,
true);
2820 else if (pname.
compare (
"yliminclude"))
2821 return property (&yliminclude,
true);
2822 else if (pname.
compare (
"zliminclude"))
2823 return property (&zliminclude,
true);
2834 m[
"displayname"] =
"";
2835 m[
"erasemode"] =
"normal";
2836 m[
"interpreter"] =
"tex";
2837 m[
"linestyle"] =
"-";
2838 m[
"linewidth"] = 0.5;
2839 m[
"marker"] =
"none";
2842 m[
"markersize"] = 6;
2844 m[
"xdatasource"] =
"";
2846 m[
"ydatasource"] =
"";
2848 m[
"zdatasource"] =
"";
2852 m[
"xliminclude"] =
"on";
2853 m[
"yliminclude"] =
"on";
2854 m[
"zliminclude"] =
"off";
2861 std::set<std::string>
2864 static std::set<std::string> all_pnames;
2870 all_pnames.insert (
"color");
2871 all_pnames.insert (
"displayname");
2872 all_pnames.insert (
"erasemode");
2873 all_pnames.insert (
"interpreter");
2874 all_pnames.insert (
"linestyle");
2875 all_pnames.insert (
"linewidth");
2876 all_pnames.insert (
"marker");
2877 all_pnames.insert (
"markeredgecolor");
2878 all_pnames.insert (
"markerfacecolor");
2879 all_pnames.insert (
"markersize");
2880 all_pnames.insert (
"xdata");
2881 all_pnames.insert (
"xdatasource");
2882 all_pnames.insert (
"ydata");
2883 all_pnames.insert (
"ydatasource");
2884 all_pnames.insert (
"zdata");
2885 all_pnames.insert (
"zdatasource");
2886 all_pnames.insert (
"xlim");
2887 all_pnames.insert (
"ylim");
2888 all_pnames.insert (
"zlim");
2889 all_pnames.insert (
"xliminclude");
2890 all_pnames.insert (
"yliminclude");
2891 all_pnames.insert (
"zliminclude");
2894 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
2905 std::set<std::string> pnames = core_property_names ();
2907 return pnames.find (pname) != pnames.end ();
2910 std::set<std::string>
2913 static std::set<std::string> all_pnames = core_property_names ();
2915 std::set<std::string> retval = all_pnames;
2917 retval.insert (base_props.begin (), base_props.end ());
2925 std::set<std::string> pnames = all_property_names ();
2927 return pnames.find (pname) != pnames.end ();
2936 displayname (
"displayname", mh,
""),
2938 editing (
"editing", mh,
"off"),
2939 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
2940 extent (
"extent", mh,
Matrix (1, 4, 0.0)),
2941 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
2943 fontsize (
"fontsize", mh, 10),
2944 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
2945 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
2946 horizontalalignment (
"horizontalalignment", mh,
"{left}|center|right"),
2947 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
2948 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
2949 linewidth (
"linewidth", mh, 0.5),
2950 margin (
"margin", mh, 1),
2951 position (
"position", mh,
Matrix (1, 3, 0.0)),
2952 rotation (
"rotation", mh, 0),
2953 string (
"string", mh,
""),
2954 units (
"units", mh,
"{data}|pixels|normalized|inches|centimeters|points"),
2955 verticalalignment (
"verticalalignment", mh,
"top|cap|{middle}|baseline|bottom"),
2956 xlim (
"xlim", mh,
Matrix ()),
2957 ylim (
"ylim", mh,
Matrix ()),
2958 zlim (
"zlim", mh,
Matrix ()),
2959 xliminclude (
"xliminclude", mh,
"off"),
2960 yliminclude (
"yliminclude", mh,
"off"),
2961 zliminclude (
"zliminclude", mh,
"off"),
2962 positionmode (
"positionmode", mh,
"{auto}|manual"),
2963 rotationmode (
"rotationmode", mh,
"{auto}|manual"),
2964 horizontalalignmentmode (
"horizontalalignmentmode", mh,
"{auto}|manual"),
2965 verticalalignmentmode (
"verticalalignmentmode", mh,
"{auto}|manual"),
2966 autopos_tag (
"autopos_tag", mh,
"{none}|xlabel|ylabel|zlabel|title")
3018 const std::set<std::string>& pnames = all_property_names ();
3025 if (pname.
compare (
"backgroundcolor"))
3026 set_backgroundcolor (val);
3027 else if (pname.
compare (
"color"))
3029 else if (pname.
compare (
"displayname"))
3030 set_displayname (val);
3031 else if (pname.
compare (
"edgecolor"))
3032 set_edgecolor (val);
3033 else if (pname.
compare (
"editing"))
3035 else if (pname.
compare (
"erasemode"))
3036 set_erasemode (val);
3037 else if (pname.
compare (
"fontangle"))
3038 set_fontangle (val);
3039 else if (pname.
compare (
"fontname"))
3041 else if (pname.
compare (
"fontsize"))
3043 else if (pname.
compare (
"fontunits"))
3044 set_fontunits (val);
3045 else if (pname.
compare (
"fontweight"))
3046 set_fontweight (val);
3047 else if (pname.
compare (
"horizontalalignment"))
3048 set_horizontalalignment (val);
3049 else if (pname.
compare (
"interpreter"))
3050 set_interpreter (val);
3051 else if (pname.
compare (
"linestyle"))
3052 set_linestyle (val);
3053 else if (pname.
compare (
"linewidth"))
3054 set_linewidth (val);
3055 else if (pname.
compare (
"margin"))
3057 else if (pname.
compare (
"position"))
3059 else if (pname.
compare (
"rotation"))
3061 else if (pname.
compare (
"string"))
3063 else if (pname.
compare (
"units"))
3065 else if (pname.
compare (
"verticalalignment"))
3066 set_verticalalignment (val);
3067 else if (pname.
compare (
"xliminclude"))
3068 set_xliminclude (val);
3069 else if (pname.
compare (
"yliminclude"))
3070 set_yliminclude (val);
3071 else if (pname.
compare (
"zliminclude"))
3072 set_zliminclude (val);
3073 else if (pname.
compare (
"positionmode"))
3074 set_positionmode (val);
3075 else if (pname.
compare (
"rotationmode"))
3076 set_rotationmode (val);
3077 else if (pname.
compare (
"horizontalalignmentmode"))
3078 set_horizontalalignmentmode (val);
3079 else if (pname.
compare (
"verticalalignmentmode"))
3080 set_verticalalignmentmode (val);
3081 else if (pname.
compare (
"autopos_tag"))
3082 set_autopos_tag (val);
3145 const std::set<std::string>& pnames = all_property_names ();
3152 if (pname.
compare (
"backgroundcolor"))
3153 retval = get_backgroundcolor ();
3154 else if (pname.
compare (
"color"))
3155 retval = get_color ();
3156 else if (pname.
compare (
"displayname"))
3157 retval = get_displayname ();
3158 else if (pname.
compare (
"edgecolor"))
3159 retval = get_edgecolor ();
3160 else if (pname.
compare (
"editing"))
3161 retval = get_editing ();
3162 else if (pname.
compare (
"erasemode"))
3163 retval = get_erasemode ();
3164 else if (pname.
compare (
"extent"))
3165 retval = get_extent ();
3166 else if (pname.
compare (
"fontangle"))
3167 retval = get_fontangle ();
3168 else if (pname.
compare (
"fontname"))
3169 retval = get_fontname ();
3170 else if (pname.
compare (
"fontsize"))
3171 retval = get_fontsize ();
3172 else if (pname.
compare (
"fontunits"))
3173 retval = get_fontunits ();
3174 else if (pname.
compare (
"fontweight"))
3175 retval = get_fontweight ();
3176 else if (pname.
compare (
"horizontalalignment"))
3177 retval = get_horizontalalignment ();
3178 else if (pname.
compare (
"interpreter"))
3179 retval = get_interpreter ();
3180 else if (pname.
compare (
"linestyle"))
3181 retval = get_linestyle ();
3182 else if (pname.
compare (
"linewidth"))
3183 retval = get_linewidth ();
3184 else if (pname.
compare (
"margin"))
3185 retval = get_margin ();
3186 else if (pname.
compare (
"position"))
3187 retval = get_position ();
3188 else if (pname.
compare (
"rotation"))
3189 retval = get_rotation ();
3190 else if (pname.
compare (
"string"))
3191 retval = get_string ();
3192 else if (pname.
compare (
"units"))
3193 retval = get_units ();
3194 else if (pname.
compare (
"verticalalignment"))
3195 retval = get_verticalalignment ();
3196 else if (pname.
compare (
"xlim"))
3197 retval = get_xlim ();
3198 else if (pname.
compare (
"ylim"))
3199 retval = get_ylim ();
3200 else if (pname.
compare (
"zlim"))
3201 retval = get_zlim ();
3202 else if (pname.
compare (
"xliminclude"))
3203 retval = get_xliminclude ();
3204 else if (pname.
compare (
"yliminclude"))
3205 retval = get_yliminclude ();
3206 else if (pname.
compare (
"zliminclude"))
3207 retval = get_zliminclude ();
3208 else if (pname.
compare (
"positionmode"))
3209 retval = get_positionmode ();
3210 else if (pname.
compare (
"rotationmode"))
3211 retval = get_rotationmode ();
3212 else if (pname.
compare (
"horizontalalignmentmode"))
3213 retval = get_horizontalalignmentmode ();
3214 else if (pname.
compare (
"verticalalignmentmode"))
3215 retval = get_verticalalignmentmode ();
3216 else if (pname.
compare (
"autopos_tag"))
3217 retval = get_autopos_tag ();
3227 const std::set<std::string>& pnames = all_property_names ();
3234 if (pname.
compare (
"backgroundcolor"))
3235 return property (&backgroundcolor,
true);
3236 else if (pname.
compare (
"color"))
3238 else if (pname.
compare (
"displayname"))
3239 return property (&displayname,
true);
3240 else if (pname.
compare (
"edgecolor"))
3241 return property (&edgecolor,
true);
3242 else if (pname.
compare (
"editing"))
3244 else if (pname.
compare (
"erasemode"))
3245 return property (&erasemode,
true);
3246 else if (pname.
compare (
"extent"))
3248 else if (pname.
compare (
"fontangle"))
3249 return property (&fontangle,
true);
3250 else if (pname.
compare (
"fontname"))
3252 else if (pname.
compare (
"fontsize"))
3254 else if (pname.
compare (
"fontunits"))
3255 return property (&fontunits,
true);
3256 else if (pname.
compare (
"fontweight"))
3257 return property (&fontweight,
true);
3258 else if (pname.
compare (
"horizontalalignment"))
3259 return property (&horizontalalignment,
true);
3260 else if (pname.
compare (
"interpreter"))
3261 return property (&interpreter,
true);
3262 else if (pname.
compare (
"linestyle"))
3263 return property (&linestyle,
true);
3264 else if (pname.
compare (
"linewidth"))
3265 return property (&linewidth,
true);
3266 else if (pname.
compare (
"margin"))
3268 else if (pname.
compare (
"position"))
3270 else if (pname.
compare (
"rotation"))
3272 else if (pname.
compare (
"string"))
3274 else if (pname.
compare (
"units"))
3276 else if (pname.
compare (
"verticalalignment"))
3277 return property (&verticalalignment,
true);
3278 else if (pname.
compare (
"xlim"))
3280 else if (pname.
compare (
"ylim"))
3282 else if (pname.
compare (
"zlim"))
3284 else if (pname.
compare (
"xliminclude"))
3285 return property (&xliminclude,
true);
3286 else if (pname.
compare (
"yliminclude"))
3287 return property (&yliminclude,
true);
3288 else if (pname.
compare (
"zliminclude"))
3289 return property (&zliminclude,
true);
3290 else if (pname.
compare (
"positionmode"))
3291 return property (&positionmode,
true);
3292 else if (pname.
compare (
"rotationmode"))
3293 return property (&rotationmode,
true);
3294 else if (pname.
compare (
"horizontalalignmentmode"))
3295 return property (&horizontalalignmentmode,
true);
3296 else if (pname.
compare (
"verticalalignmentmode"))
3297 return property (&verticalalignmentmode,
true);
3298 else if (pname.
compare (
"autopos_tag"))
3299 return property (&autopos_tag,
true);
3311 m[
"displayname"] =
"";
3313 m[
"editing"] =
"off";
3314 m[
"erasemode"] =
"normal";
3315 m[
"extent"] =
Matrix (1, 4, 0.0);
3316 m[
"fontangle"] =
"normal";
3319 m[
"fontunits"] =
"points";
3320 m[
"fontweight"] =
"normal";
3321 m[
"horizontalalignment"] =
"left";
3322 m[
"interpreter"] =
"tex";
3323 m[
"linestyle"] =
"-";
3324 m[
"linewidth"] = 0.5;
3326 m[
"position"] =
Matrix (1, 3, 0.0);
3329 m[
"units"] =
"data";
3330 m[
"verticalalignment"] =
"middle";
3334 m[
"xliminclude"] =
"off";
3335 m[
"yliminclude"] =
"off";
3336 m[
"zliminclude"] =
"off";
3337 m[
"positionmode"] =
"auto";
3338 m[
"rotationmode"] =
"auto";
3339 m[
"horizontalalignmentmode"] =
"auto";
3340 m[
"verticalalignmentmode"] =
"auto";
3341 m[
"autopos_tag"] =
"none";
3348 std::set<std::string>
3351 static std::set<std::string> all_pnames;
3357 all_pnames.insert (
"backgroundcolor");
3358 all_pnames.insert (
"color");
3359 all_pnames.insert (
"displayname");
3360 all_pnames.insert (
"edgecolor");
3361 all_pnames.insert (
"editing");
3362 all_pnames.insert (
"erasemode");
3363 all_pnames.insert (
"extent");
3364 all_pnames.insert (
"fontangle");
3365 all_pnames.insert (
"fontname");
3366 all_pnames.insert (
"fontsize");
3367 all_pnames.insert (
"fontunits");
3368 all_pnames.insert (
"fontweight");
3369 all_pnames.insert (
"horizontalalignment");
3370 all_pnames.insert (
"interpreter");
3371 all_pnames.insert (
"linestyle");
3372 all_pnames.insert (
"linewidth");
3373 all_pnames.insert (
"margin");
3374 all_pnames.insert (
"position");
3375 all_pnames.insert (
"rotation");
3376 all_pnames.insert (
"string");
3377 all_pnames.insert (
"units");
3378 all_pnames.insert (
"verticalalignment");
3379 all_pnames.insert (
"xlim");
3380 all_pnames.insert (
"ylim");
3381 all_pnames.insert (
"zlim");
3382 all_pnames.insert (
"xliminclude");
3383 all_pnames.insert (
"yliminclude");
3384 all_pnames.insert (
"zliminclude");
3385 all_pnames.insert (
"positionmode");
3386 all_pnames.insert (
"rotationmode");
3387 all_pnames.insert (
"horizontalalignmentmode");
3388 all_pnames.insert (
"verticalalignmentmode");
3389 all_pnames.insert (
"autopos_tag");
3392 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3403 std::set<std::string> pnames = core_property_names ();
3405 return pnames.find (pname) != pnames.end ();
3408 std::set<std::string>
3411 static std::set<std::string> all_pnames = core_property_names ();
3413 std::set<std::string> retval = all_pnames;
3415 retval.insert (base_props.begin (), base_props.end ());
3423 std::set<std::string> pnames = all_property_names ();
3425 return pnames.find (pname) != pnames.end ();
3432 alphadata (
"alphadata", mh,
Matrix ()),
3433 alphadatamapping (
"alphadatamapping", mh,
"none|direct|{scaled}"),
3434 cdata (
"cdata", mh,
Matrix ()),
3435 cdatamapping (
"cdatamapping", mh,
"scaled|{direct}"),
3436 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
3437 xdata (
"xdata", mh,
Matrix ()),
3438 ydata (
"ydata", mh,
Matrix ()),
3439 alim (
"alim", mh,
Matrix ()),
3440 clim (
"clim", mh,
Matrix ()),
3441 xlim (
"xlim", mh,
Matrix ()),
3442 ylim (
"ylim", mh,
Matrix ()),
3443 aliminclude (
"aliminclude", mh,
"on"),
3444 climinclude (
"climinclude", mh,
"on"),
3445 xliminclude (
"xliminclude", mh,
"on"),
3446 yliminclude (
"yliminclude", mh,
"on")
3477 const std::set<std::string>& pnames = all_property_names ();
3484 if (pname.
compare (
"alphadata"))
3485 set_alphadata (val);
3486 else if (pname.
compare (
"alphadatamapping"))
3487 set_alphadatamapping (val);
3488 else if (pname.
compare (
"cdata"))
3490 else if (pname.
compare (
"cdatamapping"))
3491 set_cdatamapping (val);
3492 else if (pname.
compare (
"erasemode"))
3493 set_erasemode (val);
3494 else if (pname.
compare (
"xdata"))
3496 else if (pname.
compare (
"ydata"))
3498 else if (pname.
compare (
"aliminclude"))
3499 set_aliminclude (val);
3500 else if (pname.
compare (
"climinclude"))
3501 set_climinclude (val);
3502 else if (pname.
compare (
"xliminclude"))
3503 set_xliminclude (val);
3504 else if (pname.
compare (
"yliminclude"))
3505 set_yliminclude (val);
3547 const std::set<std::string>& pnames = all_property_names ();
3554 if (pname.
compare (
"alphadata"))
3555 retval = get_alphadata ();
3556 else if (pname.
compare (
"alphadatamapping"))
3557 retval = get_alphadatamapping ();
3558 else if (pname.
compare (
"cdata"))
3559 retval = get_cdata ();
3560 else if (pname.
compare (
"cdatamapping"))
3561 retval = get_cdatamapping ();
3562 else if (pname.
compare (
"erasemode"))
3563 retval = get_erasemode ();
3564 else if (pname.
compare (
"xdata"))
3565 retval = get_xdata ();
3566 else if (pname.
compare (
"ydata"))
3567 retval = get_ydata ();
3568 else if (pname.
compare (
"alim"))
3569 retval = get_alim ();
3570 else if (pname.
compare (
"clim"))
3571 retval = get_clim ();
3572 else if (pname.
compare (
"xlim"))
3573 retval = get_xlim ();
3574 else if (pname.
compare (
"ylim"))
3575 retval = get_ylim ();
3576 else if (pname.
compare (
"aliminclude"))
3577 retval = get_aliminclude ();
3578 else if (pname.
compare (
"climinclude"))
3579 retval = get_climinclude ();
3580 else if (pname.
compare (
"xliminclude"))
3581 retval = get_xliminclude ();
3582 else if (pname.
compare (
"yliminclude"))
3583 retval = get_yliminclude ();
3593 const std::set<std::string>& pnames = all_property_names ();
3600 if (pname.
compare (
"alphadata"))
3601 return property (&alphadata,
true);
3602 else if (pname.
compare (
"alphadatamapping"))
3603 return property (&alphadatamapping,
true);
3604 else if (pname.
compare (
"cdata"))
3606 else if (pname.
compare (
"cdatamapping"))
3607 return property (&cdatamapping,
true);
3608 else if (pname.
compare (
"erasemode"))
3609 return property (&erasemode,
true);
3610 else if (pname.
compare (
"xdata"))
3612 else if (pname.
compare (
"ydata"))
3614 else if (pname.
compare (
"alim"))
3616 else if (pname.
compare (
"clim"))
3618 else if (pname.
compare (
"xlim"))
3620 else if (pname.
compare (
"ylim"))
3622 else if (pname.
compare (
"aliminclude"))
3623 return property (&aliminclude,
true);
3624 else if (pname.
compare (
"climinclude"))
3625 return property (&climinclude,
true);
3626 else if (pname.
compare (
"xliminclude"))
3627 return property (&xliminclude,
true);
3628 else if (pname.
compare (
"yliminclude"))
3629 return property (&yliminclude,
true);
3639 m[
"alphadata"] =
Matrix ();
3640 m[
"alphadatamapping"] =
"scaled";
3642 m[
"cdatamapping"] =
"direct";
3643 m[
"erasemode"] =
"normal";
3650 m[
"aliminclude"] =
"on";
3651 m[
"climinclude"] =
"on";
3652 m[
"xliminclude"] =
"on";
3653 m[
"yliminclude"] =
"on";
3660 std::set<std::string>
3663 static std::set<std::string> all_pnames;
3669 all_pnames.insert (
"alphadata");
3670 all_pnames.insert (
"alphadatamapping");
3671 all_pnames.insert (
"cdata");
3672 all_pnames.insert (
"cdatamapping");
3673 all_pnames.insert (
"erasemode");
3674 all_pnames.insert (
"xdata");
3675 all_pnames.insert (
"ydata");
3676 all_pnames.insert (
"alim");
3677 all_pnames.insert (
"clim");
3678 all_pnames.insert (
"xlim");
3679 all_pnames.insert (
"ylim");
3680 all_pnames.insert (
"aliminclude");
3681 all_pnames.insert (
"climinclude");
3682 all_pnames.insert (
"xliminclude");
3683 all_pnames.insert (
"yliminclude");
3686 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3697 std::set<std::string> pnames = core_property_names ();
3699 return pnames.find (pname) != pnames.end ();
3702 std::set<std::string>
3705 static std::set<std::string> all_pnames = core_property_names ();
3707 std::set<std::string> retval = all_pnames;
3709 retval.insert (base_props.begin (), base_props.end ());
3717 std::set<std::string> pnames = all_property_names ();
3719 return pnames.find (pname) != pnames.end ();
3726 alphadatamapping (
"alphadatamapping", mh,
"none|{scaled}|direct"),
3727 ambientstrength (
"ambientstrength", mh, 0.3),
3728 backfacelighting (
"backfacelighting", mh,
"unlit|lit|{reverselit}"),
3729 cdata (
"cdata", mh,
Matrix ()),
3730 cdatamapping (
"cdatamapping", mh,
"{scaled}|direct"),
3731 diffusestrength (
"diffusestrength", mh, 0.6),
3732 displayname (
"displayname", mh,
""),
3735 edgelighting (
"edgelighting", mh,
"{none}|flat|gouraud|phong"),
3736 erasemode (
"erasemode", mh,
"{normal}|background|xor|none"),
3739 facelighting (
"facelighting", mh,
"{none}|flat|gouraud|phong"),
3740 faces (
"faces", mh,
Matrix ()),
3741 facevertexalphadata (
"facevertexalphadata", mh,
Matrix ()),
3742 facevertexcdata (
"facevertexcdata", mh,
Matrix ()),
3743 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
3744 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
3745 linewidth (
"linewidth", mh, 0.5),
3746 marker (
"marker", mh,
"{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"),
3749 markersize (
"markersize", mh, 6),
3750 normalmode (
"normalmode", mh,
"{auto}|manual"),
3751 specularcolorreflectance (
"specularcolorreflectance", mh, 1.0),
3752 specularexponent (
"specularexponent", mh, 10.0),
3753 specularstrength (
"specularstrength", mh, 0.6),
3754 vertexnormals (
"vertexnormals", mh,
Matrix ()),
3755 vertices (
"vertices", mh,
Matrix ()),
3756 xdata (
"xdata", mh,
Matrix ()),
3757 ydata (
"ydata", mh,
Matrix ()),
3758 zdata (
"zdata", mh,
Matrix ()),
3759 alim (
"alim", mh,
Matrix ()),
3760 clim (
"clim", mh,
Matrix ()),
3761 xlim (
"xlim", mh,
Matrix ()),
3762 ylim (
"ylim", mh,
Matrix ()),
3763 zlim (
"zlim", mh,
Matrix ()),
3764 aliminclude (
"aliminclude", mh,
"on"),
3765 climinclude (
"climinclude", mh,
"on"),
3766 xliminclude (
"xliminclude", mh,
"on"),
3767 yliminclude (
"yliminclude", mh,
"on"),
3768 zliminclude (
"zliminclude", mh,
"on")
3829 const std::set<std::string>& pnames = all_property_names ();
3836 if (pname.
compare (
"alphadatamapping"))
3837 set_alphadatamapping (val);
3838 else if (pname.
compare (
"ambientstrength"))
3839 set_ambientstrength (val);
3840 else if (pname.
compare (
"backfacelighting"))
3841 set_backfacelighting (val);
3842 else if (pname.
compare (
"cdata"))
3844 else if (pname.
compare (
"cdatamapping"))
3845 set_cdatamapping (val);
3846 else if (pname.
compare (
"diffusestrength"))
3847 set_diffusestrength (val);
3848 else if (pname.
compare (
"displayname"))
3849 set_displayname (val);
3850 else if (pname.
compare (
"edgealpha"))
3851 set_edgealpha (val);
3852 else if (pname.
compare (
"edgecolor"))
3853 set_edgecolor (val);
3854 else if (pname.
compare (
"edgelighting"))
3855 set_edgelighting (val);
3856 else if (pname.
compare (
"erasemode"))
3857 set_erasemode (val);
3858 else if (pname.
compare (
"facealpha"))
3859 set_facealpha (val);
3860 else if (pname.
compare (
"facecolor"))
3861 set_facecolor (val);
3862 else if (pname.
compare (
"facelighting"))
3863 set_facelighting (val);
3864 else if (pname.
compare (
"faces"))
3866 else if (pname.
compare (
"facevertexalphadata"))
3867 set_facevertexalphadata (val);
3868 else if (pname.
compare (
"facevertexcdata"))
3869 set_facevertexcdata (val);
3870 else if (pname.
compare (
"interpreter"))
3871 set_interpreter (val);
3872 else if (pname.
compare (
"linestyle"))
3873 set_linestyle (val);
3874 else if (pname.
compare (
"linewidth"))
3875 set_linewidth (val);
3876 else if (pname.
compare (
"marker"))
3878 else if (pname.
compare (
"markeredgecolor"))
3879 set_markeredgecolor (val);
3880 else if (pname.
compare (
"markerfacecolor"))
3881 set_markerfacecolor (val);
3882 else if (pname.
compare (
"markersize"))
3883 set_markersize (val);
3884 else if (pname.
compare (
"normalmode"))
3885 set_normalmode (val);
3886 else if (pname.
compare (
"specularcolorreflectance"))
3887 set_specularcolorreflectance (val);
3888 else if (pname.
compare (
"specularexponent"))
3889 set_specularexponent (val);
3890 else if (pname.
compare (
"specularstrength"))
3891 set_specularstrength (val);
3892 else if (pname.
compare (
"vertexnormals"))
3893 set_vertexnormals (val);
3894 else if (pname.
compare (
"vertices"))
3896 else if (pname.
compare (
"xdata"))
3898 else if (pname.
compare (
"ydata"))
3900 else if (pname.
compare (
"zdata"))
3902 else if (pname.
compare (
"aliminclude"))
3903 set_aliminclude (val);
3904 else if (pname.
compare (
"climinclude"))
3905 set_climinclude (val);
3906 else if (pname.
compare (
"xliminclude"))
3907 set_xliminclude (val);
3908 else if (pname.
compare (
"yliminclude"))
3909 set_yliminclude (val);
3910 else if (pname.
compare (
"zliminclude"))
3911 set_zliminclude (val);
3946 m.
assign (
"specularcolorreflectance",
octave_value (get_specularcolorreflectance ()));
3983 const std::set<std::string>& pnames = all_property_names ();
3990 if (pname.
compare (
"alphadatamapping"))
3991 retval = get_alphadatamapping ();
3992 else if (pname.
compare (
"ambientstrength"))
3993 retval = get_ambientstrength ();
3994 else if (pname.
compare (
"backfacelighting"))
3995 retval = get_backfacelighting ();
3996 else if (pname.
compare (
"cdata"))
3997 retval = get_cdata ();
3998 else if (pname.
compare (
"cdatamapping"))
3999 retval = get_cdatamapping ();
4000 else if (pname.
compare (
"diffusestrength"))
4001 retval = get_diffusestrength ();
4002 else if (pname.
compare (
"displayname"))
4003 retval = get_displayname ();
4004 else if (pname.
compare (
"edgealpha"))
4005 retval = get_edgealpha ();
4006 else if (pname.
compare (
"edgecolor"))
4007 retval = get_edgecolor ();
4008 else if (pname.
compare (
"edgelighting"))
4009 retval = get_edgelighting ();
4010 else if (pname.
compare (
"erasemode"))
4011 retval = get_erasemode ();
4012 else if (pname.
compare (
"facealpha"))
4013 retval = get_facealpha ();
4014 else if (pname.
compare (
"facecolor"))
4015 retval = get_facecolor ();
4016 else if (pname.
compare (
"facelighting"))
4017 retval = get_facelighting ();
4018 else if (pname.
compare (
"faces"))
4019 retval = get_faces ();
4020 else if (pname.
compare (
"facevertexalphadata"))
4021 retval = get_facevertexalphadata ();
4022 else if (pname.
compare (
"facevertexcdata"))
4023 retval = get_facevertexcdata ();
4024 else if (pname.
compare (
"interpreter"))
4025 retval = get_interpreter ();
4026 else if (pname.
compare (
"linestyle"))
4027 retval = get_linestyle ();
4028 else if (pname.
compare (
"linewidth"))
4029 retval = get_linewidth ();
4030 else if (pname.
compare (
"marker"))
4031 retval = get_marker ();
4032 else if (pname.
compare (
"markeredgecolor"))
4033 retval = get_markeredgecolor ();
4034 else if (pname.
compare (
"markerfacecolor"))
4035 retval = get_markerfacecolor ();
4036 else if (pname.
compare (
"markersize"))
4037 retval = get_markersize ();
4038 else if (pname.
compare (
"normalmode"))
4039 retval = get_normalmode ();
4040 else if (pname.
compare (
"specularcolorreflectance"))
4041 retval = get_specularcolorreflectance ();
4042 else if (pname.
compare (
"specularexponent"))
4043 retval = get_specularexponent ();
4044 else if (pname.
compare (
"specularstrength"))
4045 retval = get_specularstrength ();
4046 else if (pname.
compare (
"vertexnormals"))
4047 retval = get_vertexnormals ();
4048 else if (pname.
compare (
"vertices"))
4049 retval = get_vertices ();
4050 else if (pname.
compare (
"xdata"))
4051 retval = get_xdata ();
4052 else if (pname.
compare (
"ydata"))
4053 retval = get_ydata ();
4054 else if (pname.
compare (
"zdata"))
4055 retval = get_zdata ();
4056 else if (pname.
compare (
"alim"))
4057 retval = get_alim ();
4058 else if (pname.
compare (
"clim"))
4059 retval = get_clim ();
4060 else if (pname.
compare (
"xlim"))
4061 retval = get_xlim ();
4062 else if (pname.
compare (
"ylim"))
4063 retval = get_ylim ();
4064 else if (pname.
compare (
"zlim"))
4065 retval = get_zlim ();
4066 else if (pname.
compare (
"aliminclude"))
4067 retval = get_aliminclude ();
4068 else if (pname.
compare (
"climinclude"))
4069 retval = get_climinclude ();
4070 else if (pname.
compare (
"xliminclude"))
4071 retval = get_xliminclude ();
4072 else if (pname.
compare (
"yliminclude"))
4073 retval = get_yliminclude ();
4074 else if (pname.
compare (
"zliminclude"))
4075 retval = get_zliminclude ();
4085 const std::set<std::string>& pnames = all_property_names ();
4092 if (pname.
compare (
"alphadatamapping"))
4093 return property (&alphadatamapping,
true);
4094 else if (pname.
compare (
"ambientstrength"))
4095 return property (&ambientstrength,
true);
4096 else if (pname.
compare (
"backfacelighting"))
4097 return property (&backfacelighting,
true);
4098 else if (pname.
compare (
"cdata"))
4100 else if (pname.
compare (
"cdatamapping"))
4101 return property (&cdatamapping,
true);
4102 else if (pname.
compare (
"diffusestrength"))
4103 return property (&diffusestrength,
true);
4104 else if (pname.
compare (
"displayname"))
4105 return property (&displayname,
true);
4106 else if (pname.
compare (
"edgealpha"))
4107 return property (&edgealpha,
true);
4108 else if (pname.
compare (
"edgecolor"))
4109 return property (&edgecolor,
true);
4110 else if (pname.
compare (
"edgelighting"))
4111 return property (&edgelighting,
true);
4112 else if (pname.
compare (
"erasemode"))
4113 return property (&erasemode,
true);
4114 else if (pname.
compare (
"facealpha"))
4115 return property (&facealpha,
true);
4116 else if (pname.
compare (
"facecolor"))
4117 return property (&facecolor,
true);
4118 else if (pname.
compare (
"facelighting"))
4119 return property (&facelighting,
true);
4120 else if (pname.
compare (
"faces"))
4122 else if (pname.
compare (
"facevertexalphadata"))
4123 return property (&facevertexalphadata,
true);
4124 else if (pname.
compare (
"facevertexcdata"))
4125 return property (&facevertexcdata,
true);
4126 else if (pname.
compare (
"interpreter"))
4127 return property (&interpreter,
true);
4128 else if (pname.
compare (
"linestyle"))
4129 return property (&linestyle,
true);
4130 else if (pname.
compare (
"linewidth"))
4131 return property (&linewidth,
true);
4132 else if (pname.
compare (
"marker"))
4134 else if (pname.
compare (
"markeredgecolor"))
4135 return property (&markeredgecolor,
true);
4136 else if (pname.
compare (
"markerfacecolor"))
4137 return property (&markerfacecolor,
true);
4138 else if (pname.
compare (
"markersize"))
4139 return property (&markersize,
true);
4140 else if (pname.
compare (
"normalmode"))
4141 return property (&normalmode,
true);
4142 else if (pname.
compare (
"specularcolorreflectance"))
4143 return property (&specularcolorreflectance,
true);
4144 else if (pname.
compare (
"specularexponent"))
4145 return property (&specularexponent,
true);
4146 else if (pname.
compare (
"specularstrength"))
4147 return property (&specularstrength,
true);
4148 else if (pname.
compare (
"vertexnormals"))
4149 return property (&vertexnormals,
true);
4150 else if (pname.
compare (
"vertices"))
4152 else if (pname.
compare (
"xdata"))
4154 else if (pname.
compare (
"ydata"))
4156 else if (pname.
compare (
"zdata"))
4158 else if (pname.
compare (
"alim"))
4160 else if (pname.
compare (
"clim"))
4162 else if (pname.
compare (
"xlim"))
4164 else if (pname.
compare (
"ylim"))
4166 else if (pname.
compare (
"zlim"))
4168 else if (pname.
compare (
"aliminclude"))
4169 return property (&aliminclude,
true);
4170 else if (pname.
compare (
"climinclude"))
4171 return property (&climinclude,
true);
4172 else if (pname.
compare (
"xliminclude"))
4173 return property (&xliminclude,
true);
4174 else if (pname.
compare (
"yliminclude"))
4175 return property (&yliminclude,
true);
4176 else if (pname.
compare (
"zliminclude"))
4177 return property (&zliminclude,
true);
4187 m[
"alphadatamapping"] =
"scaled";
4188 m[
"ambientstrength"] = 0.3;
4189 m[
"backfacelighting"] =
"reverselit";
4191 m[
"cdatamapping"] =
"scaled";
4192 m[
"diffusestrength"] = 0.6;
4193 m[
"displayname"] =
"";
4196 m[
"edgelighting"] =
"none";
4197 m[
"erasemode"] =
"normal";
4200 m[
"facelighting"] =
"none";
4202 m[
"facevertexalphadata"] =
Matrix ();
4203 m[
"facevertexcdata"] =
Matrix ();
4204 m[
"interpreter"] =
"tex";
4205 m[
"linestyle"] =
"-";
4206 m[
"linewidth"] = 0.5;
4207 m[
"marker"] =
"none";
4210 m[
"markersize"] = 6;
4211 m[
"normalmode"] =
"auto";
4212 m[
"specularcolorreflectance"] = 1.0;
4213 m[
"specularexponent"] = 10.0;
4214 m[
"specularstrength"] = 0.6;
4215 m[
"vertexnormals"] =
Matrix ();
4216 m[
"vertices"] =
Matrix ();
4225 m[
"aliminclude"] =
"on";
4226 m[
"climinclude"] =
"on";
4227 m[
"xliminclude"] =
"on";
4228 m[
"yliminclude"] =
"on";
4229 m[
"zliminclude"] =
"on";
4236 std::set<std::string>
4239 static std::set<std::string> all_pnames;
4245 all_pnames.insert (
"alphadatamapping");
4246 all_pnames.insert (
"ambientstrength");
4247 all_pnames.insert (
"backfacelighting");
4248 all_pnames.insert (
"cdata");
4249 all_pnames.insert (
"cdatamapping");
4250 all_pnames.insert (
"diffusestrength");
4251 all_pnames.insert (
"displayname");
4252 all_pnames.insert (
"edgealpha");
4253 all_pnames.insert (
"edgecolor");
4254 all_pnames.insert (
"edgelighting");
4255 all_pnames.insert (
"erasemode");
4256 all_pnames.insert (
"facealpha");
4257 all_pnames.insert (
"facecolor");
4258 all_pnames.insert (
"facelighting");
4259 all_pnames.insert (
"faces");
4260 all_pnames.insert (
"facevertexalphadata");
4261 all_pnames.insert (
"facevertexcdata");
4262 all_pnames.insert (
"interpreter");
4263 all_pnames.insert (
"linestyle");
4264 all_pnames.insert (
"linewidth");
4265 all_pnames.insert (
"marker");
4266 all_pnames.insert (
"markeredgecolor");
4267 all_pnames.insert (
"markerfacecolor");
4268 all_pnames.insert (
"markersize");
4269 all_pnames.insert (
"normalmode");
4270 all_pnames.insert (
"specularcolorreflectance");
4271 all_pnames.insert (
"specularexponent");
4272 all_pnames.insert (
"specularstrength");
4273 all_pnames.insert (
"vertexnormals");
4274 all_pnames.insert (
"vertices");
4275 all_pnames.insert (
"xdata");
4276 all_pnames.insert (
"ydata");
4277 all_pnames.insert (
"zdata");
4278 all_pnames.insert (
"alim");
4279 all_pnames.insert (
"clim");
4280 all_pnames.insert (
"xlim");
4281 all_pnames.insert (
"ylim");
4282 all_pnames.insert (
"zlim");
4283 all_pnames.insert (
"aliminclude");
4284 all_pnames.insert (
"climinclude");
4285 all_pnames.insert (
"xliminclude");
4286 all_pnames.insert (
"yliminclude");
4287 all_pnames.insert (
"zliminclude");
4290 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4301 std::set<std::string> pnames = core_property_names ();
4303 return pnames.find (pname) != pnames.end ();
4306 std::set<std::string>
4309 static std::set<std::string> all_pnames = core_property_names ();
4311 std::set<std::string> retval = all_pnames;
4313 retval.insert (base_props.begin (), base_props.end ());
4321 std::set<std::string> pnames = all_property_names ();
4323 return pnames.find (pname) != pnames.end ();
4330 alphadata (
"alphadata", mh,
Matrix ()),
4331 alphadatamapping (
"alphadatamapping", mh,
"none|direct|{scaled}"),
4332 ambientstrength (
"ambientstrength", mh, 0.3),
4333 backfacelighting (
"backfacelighting", mh,
"unlit|lit|{reverselit}"),
4334 cdata (
"cdata", mh,
Matrix ()),
4335 cdatamapping (
"cdatamapping", mh,
"{scaled}|direct"),
4336 cdatasource (
"cdatasource", mh,
""),
4337 diffusestrength (
"diffusestrength", mh, 0.6),
4338 displayname (
"displayname", mh,
""),
4341 edgelighting (
"edgelighting", mh,
"{none}|flat|gouraud|phong"),
4342 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
4345 facelighting (
"facelighting", mh,
"{none}|flat|gouraud|phong"),
4346 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
4347 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
4348 linewidth (
"linewidth", mh, 0.5),
4349 marker (
"marker", mh,
"{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"),
4352 markersize (
"markersize", mh, 6),
4353 meshstyle (
"meshstyle", mh,
"{both}|row|column"),
4354 normalmode (
"normalmode", mh,
"{auto}|manual"),
4355 specularcolorreflectance (
"specularcolorreflectance", mh, 1),
4356 specularexponent (
"specularexponent", mh, 10),
4357 specularstrength (
"specularstrength", mh, 0.9),
4358 vertexnormals (
"vertexnormals", mh,
Matrix ()),
4359 xdata (
"xdata", mh,
Matrix ()),
4360 xdatasource (
"xdatasource", mh,
""),
4361 ydata (
"ydata", mh,
Matrix ()),
4362 ydatasource (
"ydatasource", mh,
""),
4363 zdata (
"zdata", mh,
Matrix ()),
4364 zdatasource (
"zdatasource", mh,
""),
4365 alim (
"alim", mh,
Matrix ()),
4366 clim (
"clim", mh,
Matrix ()),
4367 xlim (
"xlim", mh,
Matrix ()),
4368 ylim (
"ylim", mh,
Matrix ()),
4369 zlim (
"zlim", mh,
Matrix ()),
4370 aliminclude (
"aliminclude", mh,
"on"),
4371 climinclude (
"climinclude", mh,
"on"),
4372 xliminclude (
"xliminclude", mh,
"on"),
4373 yliminclude (
"yliminclude", mh,
"on"),
4374 zliminclude (
"zliminclude", mh,
"on")
4437 const std::set<std::string>& pnames = all_property_names ();
4444 if (pname.
compare (
"alphadata"))
4445 set_alphadata (val);
4446 else if (pname.
compare (
"alphadatamapping"))
4447 set_alphadatamapping (val);
4448 else if (pname.
compare (
"ambientstrength"))
4449 set_ambientstrength (val);
4450 else if (pname.
compare (
"backfacelighting"))
4451 set_backfacelighting (val);
4452 else if (pname.
compare (
"cdata"))
4454 else if (pname.
compare (
"cdatamapping"))
4455 set_cdatamapping (val);
4456 else if (pname.
compare (
"cdatasource"))
4457 set_cdatasource (val);
4458 else if (pname.
compare (
"diffusestrength"))
4459 set_diffusestrength (val);
4460 else if (pname.
compare (
"displayname"))
4461 set_displayname (val);
4462 else if (pname.
compare (
"edgealpha"))
4463 set_edgealpha (val);
4464 else if (pname.
compare (
"edgecolor"))
4465 set_edgecolor (val);
4466 else if (pname.
compare (
"edgelighting"))
4467 set_edgelighting (val);
4468 else if (pname.
compare (
"erasemode"))
4469 set_erasemode (val);
4470 else if (pname.
compare (
"facealpha"))
4471 set_facealpha (val);
4472 else if (pname.
compare (
"facecolor"))
4473 set_facecolor (val);
4474 else if (pname.
compare (
"facelighting"))
4475 set_facelighting (val);
4476 else if (pname.
compare (
"interpreter"))
4477 set_interpreter (val);
4478 else if (pname.
compare (
"linestyle"))
4479 set_linestyle (val);
4480 else if (pname.
compare (
"linewidth"))
4481 set_linewidth (val);
4482 else if (pname.
compare (
"marker"))
4484 else if (pname.
compare (
"markeredgecolor"))
4485 set_markeredgecolor (val);
4486 else if (pname.
compare (
"markerfacecolor"))
4487 set_markerfacecolor (val);
4488 else if (pname.
compare (
"markersize"))
4489 set_markersize (val);
4490 else if (pname.
compare (
"meshstyle"))
4491 set_meshstyle (val);
4492 else if (pname.
compare (
"normalmode"))
4493 set_normalmode (val);
4494 else if (pname.
compare (
"specularcolorreflectance"))
4495 set_specularcolorreflectance (val);
4496 else if (pname.
compare (
"specularexponent"))
4497 set_specularexponent (val);
4498 else if (pname.
compare (
"specularstrength"))
4499 set_specularstrength (val);
4500 else if (pname.
compare (
"vertexnormals"))
4501 set_vertexnormals (val);
4502 else if (pname.
compare (
"xdata"))
4504 else if (pname.
compare (
"xdatasource"))
4505 set_xdatasource (val);
4506 else if (pname.
compare (
"ydata"))
4508 else if (pname.
compare (
"ydatasource"))
4509 set_ydatasource (val);
4510 else if (pname.
compare (
"zdata"))
4512 else if (pname.
compare (
"zdatasource"))
4513 set_zdatasource (val);
4514 else if (pname.
compare (
"aliminclude"))
4515 set_aliminclude (val);
4516 else if (pname.
compare (
"climinclude"))
4517 set_climinclude (val);
4518 else if (pname.
compare (
"xliminclude"))
4519 set_xliminclude (val);
4520 else if (pname.
compare (
"yliminclude"))
4521 set_yliminclude (val);
4522 else if (pname.
compare (
"zliminclude"))
4523 set_zliminclude (val);
4558 m.
assign (
"specularcolorreflectance",
octave_value (get_specularcolorreflectance ()));
4597 const std::set<std::string>& pnames = all_property_names ();
4604 if (pname.
compare (
"alphadata"))
4605 retval = get_alphadata ();
4606 else if (pname.
compare (
"alphadatamapping"))
4607 retval = get_alphadatamapping ();
4608 else if (pname.
compare (
"ambientstrength"))
4609 retval = get_ambientstrength ();
4610 else if (pname.
compare (
"backfacelighting"))
4611 retval = get_backfacelighting ();
4612 else if (pname.
compare (
"cdata"))
4613 retval = get_cdata ();
4614 else if (pname.
compare (
"cdatamapping"))
4615 retval = get_cdatamapping ();
4616 else if (pname.
compare (
"cdatasource"))
4617 retval = get_cdatasource ();
4618 else if (pname.
compare (
"diffusestrength"))
4619 retval = get_diffusestrength ();
4620 else if (pname.
compare (
"displayname"))
4621 retval = get_displayname ();
4622 else if (pname.
compare (
"edgealpha"))
4623 retval = get_edgealpha ();
4624 else if (pname.
compare (
"edgecolor"))
4625 retval = get_edgecolor ();
4626 else if (pname.
compare (
"edgelighting"))
4627 retval = get_edgelighting ();
4628 else if (pname.
compare (
"erasemode"))
4629 retval = get_erasemode ();
4630 else if (pname.
compare (
"facealpha"))
4631 retval = get_facealpha ();
4632 else if (pname.
compare (
"facecolor"))
4633 retval = get_facecolor ();
4634 else if (pname.
compare (
"facelighting"))
4635 retval = get_facelighting ();
4636 else if (pname.
compare (
"interpreter"))
4637 retval = get_interpreter ();
4638 else if (pname.
compare (
"linestyle"))
4639 retval = get_linestyle ();
4640 else if (pname.
compare (
"linewidth"))
4641 retval = get_linewidth ();
4642 else if (pname.
compare (
"marker"))
4643 retval = get_marker ();
4644 else if (pname.
compare (
"markeredgecolor"))
4645 retval = get_markeredgecolor ();
4646 else if (pname.
compare (
"markerfacecolor"))
4647 retval = get_markerfacecolor ();
4648 else if (pname.
compare (
"markersize"))
4649 retval = get_markersize ();
4650 else if (pname.
compare (
"meshstyle"))
4651 retval = get_meshstyle ();
4652 else if (pname.
compare (
"normalmode"))
4653 retval = get_normalmode ();
4654 else if (pname.
compare (
"specularcolorreflectance"))
4655 retval = get_specularcolorreflectance ();
4656 else if (pname.
compare (
"specularexponent"))
4657 retval = get_specularexponent ();
4658 else if (pname.
compare (
"specularstrength"))
4659 retval = get_specularstrength ();
4660 else if (pname.
compare (
"vertexnormals"))
4661 retval = get_vertexnormals ();
4662 else if (pname.
compare (
"xdata"))
4663 retval = get_xdata ();
4664 else if (pname.
compare (
"xdatasource"))
4665 retval = get_xdatasource ();
4666 else if (pname.
compare (
"ydata"))
4667 retval = get_ydata ();
4668 else if (pname.
compare (
"ydatasource"))
4669 retval = get_ydatasource ();
4670 else if (pname.
compare (
"zdata"))
4671 retval = get_zdata ();
4672 else if (pname.
compare (
"zdatasource"))
4673 retval = get_zdatasource ();
4674 else if (pname.
compare (
"alim"))
4675 retval = get_alim ();
4676 else if (pname.
compare (
"clim"))
4677 retval = get_clim ();
4678 else if (pname.
compare (
"xlim"))
4679 retval = get_xlim ();
4680 else if (pname.
compare (
"ylim"))
4681 retval = get_ylim ();
4682 else if (pname.
compare (
"zlim"))
4683 retval = get_zlim ();
4684 else if (pname.
compare (
"aliminclude"))
4685 retval = get_aliminclude ();
4686 else if (pname.
compare (
"climinclude"))
4687 retval = get_climinclude ();
4688 else if (pname.
compare (
"xliminclude"))
4689 retval = get_xliminclude ();
4690 else if (pname.
compare (
"yliminclude"))
4691 retval = get_yliminclude ();
4692 else if (pname.
compare (
"zliminclude"))
4693 retval = get_zliminclude ();
4703 const std::set<std::string>& pnames = all_property_names ();
4710 if (pname.
compare (
"alphadata"))
4711 return property (&alphadata,
true);
4712 else if (pname.
compare (
"alphadatamapping"))
4713 return property (&alphadatamapping,
true);
4714 else if (pname.
compare (
"ambientstrength"))
4715 return property (&ambientstrength,
true);
4716 else if (pname.
compare (
"backfacelighting"))
4717 return property (&backfacelighting,
true);
4718 else if (pname.
compare (
"cdata"))
4720 else if (pname.
compare (
"cdatamapping"))
4721 return property (&cdatamapping,
true);
4722 else if (pname.
compare (
"cdatasource"))
4723 return property (&cdatasource,
true);
4724 else if (pname.
compare (
"diffusestrength"))
4725 return property (&diffusestrength,
true);
4726 else if (pname.
compare (
"displayname"))
4727 return property (&displayname,
true);
4728 else if (pname.
compare (
"edgealpha"))
4729 return property (&edgealpha,
true);
4730 else if (pname.
compare (
"edgecolor"))
4731 return property (&edgecolor,
true);
4732 else if (pname.
compare (
"edgelighting"))
4733 return property (&edgelighting,
true);
4734 else if (pname.
compare (
"erasemode"))
4735 return property (&erasemode,
true);
4736 else if (pname.
compare (
"facealpha"))
4737 return property (&facealpha,
true);
4738 else if (pname.
compare (
"facecolor"))
4739 return property (&facecolor,
true);
4740 else if (pname.
compare (
"facelighting"))
4741 return property (&facelighting,
true);
4742 else if (pname.
compare (
"interpreter"))
4743 return property (&interpreter,
true);
4744 else if (pname.
compare (
"linestyle"))
4745 return property (&linestyle,
true);
4746 else if (pname.
compare (
"linewidth"))
4747 return property (&linewidth,
true);
4748 else if (pname.
compare (
"marker"))
4750 else if (pname.
compare (
"markeredgecolor"))
4751 return property (&markeredgecolor,
true);
4752 else if (pname.
compare (
"markerfacecolor"))
4753 return property (&markerfacecolor,
true);
4754 else if (pname.
compare (
"markersize"))
4755 return property (&markersize,
true);
4756 else if (pname.
compare (
"meshstyle"))
4757 return property (&meshstyle,
true);
4758 else if (pname.
compare (
"normalmode"))
4759 return property (&normalmode,
true);
4760 else if (pname.
compare (
"specularcolorreflectance"))
4761 return property (&specularcolorreflectance,
true);
4762 else if (pname.
compare (
"specularexponent"))
4763 return property (&specularexponent,
true);
4764 else if (pname.
compare (
"specularstrength"))
4765 return property (&specularstrength,
true);
4766 else if (pname.
compare (
"vertexnormals"))
4767 return property (&vertexnormals,
true);
4768 else if (pname.
compare (
"xdata"))
4770 else if (pname.
compare (
"xdatasource"))
4771 return property (&xdatasource,
true);
4772 else if (pname.
compare (
"ydata"))
4774 else if (pname.
compare (
"ydatasource"))
4775 return property (&ydatasource,
true);
4776 else if (pname.
compare (
"zdata"))
4778 else if (pname.
compare (
"zdatasource"))
4779 return property (&zdatasource,
true);
4780 else if (pname.
compare (
"alim"))
4782 else if (pname.
compare (
"clim"))
4784 else if (pname.
compare (
"xlim"))
4786 else if (pname.
compare (
"ylim"))
4788 else if (pname.
compare (
"zlim"))
4790 else if (pname.
compare (
"aliminclude"))
4791 return property (&aliminclude,
true);
4792 else if (pname.
compare (
"climinclude"))
4793 return property (&climinclude,
true);
4794 else if (pname.
compare (
"xliminclude"))
4795 return property (&xliminclude,
true);
4796 else if (pname.
compare (
"yliminclude"))
4797 return property (&yliminclude,
true);
4798 else if (pname.
compare (
"zliminclude"))
4799 return property (&zliminclude,
true);
4809 m[
"alphadata"] =
Matrix ();
4810 m[
"alphadatamapping"] =
"scaled";
4811 m[
"ambientstrength"] = 0.3;
4812 m[
"backfacelighting"] =
"reverselit";
4814 m[
"cdatamapping"] =
"scaled";
4815 m[
"cdatasource"] =
"";
4816 m[
"diffusestrength"] = 0.6;
4817 m[
"displayname"] =
"";
4820 m[
"edgelighting"] =
"none";
4821 m[
"erasemode"] =
"normal";
4824 m[
"facelighting"] =
"none";
4825 m[
"interpreter"] =
"tex";
4826 m[
"linestyle"] =
"-";
4827 m[
"linewidth"] = 0.5;
4828 m[
"marker"] =
"none";
4831 m[
"markersize"] = 6;
4832 m[
"meshstyle"] =
"both";
4833 m[
"normalmode"] =
"auto";
4834 m[
"specularcolorreflectance"] = 1;
4835 m[
"specularexponent"] = 10;
4836 m[
"specularstrength"] = 0.9;
4837 m[
"vertexnormals"] =
Matrix ();
4839 m[
"xdatasource"] =
"";
4841 m[
"ydatasource"] =
"";
4843 m[
"zdatasource"] =
"";
4849 m[
"aliminclude"] =
"on";
4850 m[
"climinclude"] =
"on";
4851 m[
"xliminclude"] =
"on";
4852 m[
"yliminclude"] =
"on";
4853 m[
"zliminclude"] =
"on";
4860 std::set<std::string>
4863 static std::set<std::string> all_pnames;
4869 all_pnames.insert (
"alphadata");
4870 all_pnames.insert (
"alphadatamapping");
4871 all_pnames.insert (
"ambientstrength");
4872 all_pnames.insert (
"backfacelighting");
4873 all_pnames.insert (
"cdata");
4874 all_pnames.insert (
"cdatamapping");
4875 all_pnames.insert (
"cdatasource");
4876 all_pnames.insert (
"diffusestrength");
4877 all_pnames.insert (
"displayname");
4878 all_pnames.insert (
"edgealpha");
4879 all_pnames.insert (
"edgecolor");
4880 all_pnames.insert (
"edgelighting");
4881 all_pnames.insert (
"erasemode");
4882 all_pnames.insert (
"facealpha");
4883 all_pnames.insert (
"facecolor");
4884 all_pnames.insert (
"facelighting");
4885 all_pnames.insert (
"interpreter");
4886 all_pnames.insert (
"linestyle");
4887 all_pnames.insert (
"linewidth");
4888 all_pnames.insert (
"marker");
4889 all_pnames.insert (
"markeredgecolor");
4890 all_pnames.insert (
"markerfacecolor");
4891 all_pnames.insert (
"markersize");
4892 all_pnames.insert (
"meshstyle");
4893 all_pnames.insert (
"normalmode");
4894 all_pnames.insert (
"specularcolorreflectance");
4895 all_pnames.insert (
"specularexponent");
4896 all_pnames.insert (
"specularstrength");
4897 all_pnames.insert (
"vertexnormals");
4898 all_pnames.insert (
"xdata");
4899 all_pnames.insert (
"xdatasource");
4900 all_pnames.insert (
"ydata");
4901 all_pnames.insert (
"ydatasource");
4902 all_pnames.insert (
"zdata");
4903 all_pnames.insert (
"zdatasource");
4904 all_pnames.insert (
"alim");
4905 all_pnames.insert (
"clim");
4906 all_pnames.insert (
"xlim");
4907 all_pnames.insert (
"ylim");
4908 all_pnames.insert (
"zlim");
4909 all_pnames.insert (
"aliminclude");
4910 all_pnames.insert (
"climinclude");
4911 all_pnames.insert (
"xliminclude");
4912 all_pnames.insert (
"yliminclude");
4913 all_pnames.insert (
"zliminclude");
4916 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4927 std::set<std::string> pnames = core_property_names ();
4929 return pnames.find (pname) != pnames.end ();
4932 std::set<std::string>
4935 static std::set<std::string> all_pnames = core_property_names ();
4937 std::set<std::string> retval = all_pnames;
4939 retval.insert (base_props.begin (), base_props.end ());
4947 std::set<std::string> pnames = all_property_names ();
4949 return pnames.find (pname) != pnames.end ();
4956 displayname (
"displayname", mh,
""),
4957 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
4958 alim (
"alim", mh,
Matrix ()),
4959 clim (
"clim", mh,
Matrix ()),
4960 xlim (
"xlim", mh,
Matrix ()),
4961 ylim (
"ylim", mh,
Matrix ()),
4962 zlim (
"zlim", mh,
Matrix ()),
4963 aliminclude (
"aliminclude", mh,
"on"),
4964 climinclude (
"climinclude", mh,
"on"),
4965 xliminclude (
"xliminclude", mh,
"on"),
4966 yliminclude (
"yliminclude", mh,
"on"),
4967 zliminclude (
"zliminclude", mh,
"on")
4997 const std::set<std::string>& pnames = all_property_names ();
5004 if (pname.
compare (
"displayname"))
5005 set_displayname (val);
5006 else if (pname.
compare (
"erasemode"))
5007 set_erasemode (val);
5008 else if (pname.
compare (
"aliminclude"))
5009 set_aliminclude (val);
5010 else if (pname.
compare (
"climinclude"))
5011 set_climinclude (val);
5012 else if (pname.
compare (
"xliminclude"))
5013 set_xliminclude (val);
5014 else if (pname.
compare (
"yliminclude"))
5015 set_yliminclude (val);
5016 else if (pname.
compare (
"zliminclude"))
5017 set_zliminclude (val);
5058 const std::set<std::string>& pnames = all_property_names ();
5065 if (pname.
compare (
"displayname"))
5066 retval = get_displayname ();
5067 else if (pname.
compare (
"erasemode"))
5068 retval = get_erasemode ();
5069 else if (pname.
compare (
"alim"))
5070 retval = get_alim ();
5071 else if (pname.
compare (
"clim"))
5072 retval = get_clim ();
5073 else if (pname.
compare (
"xlim"))
5074 retval = get_xlim ();
5075 else if (pname.
compare (
"ylim"))
5076 retval = get_ylim ();
5077 else if (pname.
compare (
"zlim"))
5078 retval = get_zlim ();
5079 else if (pname.
compare (
"aliminclude"))
5080 retval = get_aliminclude ();
5081 else if (pname.
compare (
"climinclude"))
5082 retval = get_climinclude ();
5083 else if (pname.
compare (
"xliminclude"))
5084 retval = get_xliminclude ();
5085 else if (pname.
compare (
"yliminclude"))
5086 retval = get_yliminclude ();
5087 else if (pname.
compare (
"zliminclude"))
5088 retval = get_zliminclude ();
5098 const std::set<std::string>& pnames = all_property_names ();
5105 if (pname.
compare (
"displayname"))
5106 return property (&displayname,
true);
5107 else if (pname.
compare (
"erasemode"))
5108 return property (&erasemode,
true);
5109 else if (pname.
compare (
"alim"))
5111 else if (pname.
compare (
"clim"))
5113 else if (pname.
compare (
"xlim"))
5115 else if (pname.
compare (
"ylim"))
5117 else if (pname.
compare (
"zlim"))
5119 else if (pname.
compare (
"aliminclude"))
5120 return property (&aliminclude,
true);
5121 else if (pname.
compare (
"climinclude"))
5122 return property (&climinclude,
true);
5123 else if (pname.
compare (
"xliminclude"))
5124 return property (&xliminclude,
true);
5125 else if (pname.
compare (
"yliminclude"))
5126 return property (&yliminclude,
true);
5127 else if (pname.
compare (
"zliminclude"))
5128 return property (&zliminclude,
true);
5138 m[
"displayname"] =
"";
5139 m[
"erasemode"] =
"normal";
5145 m[
"aliminclude"] =
"on";
5146 m[
"climinclude"] =
"on";
5147 m[
"xliminclude"] =
"on";
5148 m[
"yliminclude"] =
"on";
5149 m[
"zliminclude"] =
"on";
5156 std::set<std::string>
5159 static std::set<std::string> all_pnames;
5165 all_pnames.insert (
"displayname");
5166 all_pnames.insert (
"erasemode");
5167 all_pnames.insert (
"alim");
5168 all_pnames.insert (
"clim");
5169 all_pnames.insert (
"xlim");
5170 all_pnames.insert (
"ylim");
5171 all_pnames.insert (
"zlim");
5172 all_pnames.insert (
"aliminclude");
5173 all_pnames.insert (
"climinclude");
5174 all_pnames.insert (
"xliminclude");
5175 all_pnames.insert (
"yliminclude");
5176 all_pnames.insert (
"zliminclude");
5179 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5190 std::set<std::string> pnames = core_property_names ();
5192 return pnames.find (pname) != pnames.end ();
5195 std::set<std::string>
5198 static std::set<std::string> all_pnames = core_property_names ();
5200 std::set<std::string> retval = all_pnames;
5202 retval.insert (base_props.begin (), base_props.end ());
5210 std::set<std::string> pnames = all_property_names ();
5212 return pnames.find (pname) != pnames.end ();
5219 __object__ (
"__object__", mh,
Matrix ()),
5220 accelerator (
"accelerator", mh,
""),
5221 callback (
"callback", mh,
Matrix ()),
5222 checked (
"checked", mh,
"off"),
5223 enable (
"enable", mh,
"on"),
5224 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
5225 label (
"label", mh,
""),
5226 position (
"position", mh, 9),
5227 separator (
"separator", mh,
"off"),
5228 fltk_label (
"fltk_label", mh,
"")
5247 const std::set<std::string>& pnames = all_property_names ();
5254 if (pname.
compare (
"__object__"))
5255 set___object__ (val);
5256 else if (pname.
compare (
"accelerator"))
5257 set_accelerator (val);
5258 else if (pname.
compare (
"callback"))
5260 else if (pname.
compare (
"checked"))
5262 else if (pname.
compare (
"enable"))
5264 else if (pname.
compare (
"foregroundcolor"))
5265 set_foregroundcolor (val);
5266 else if (pname.
compare (
"label"))
5268 else if (pname.
compare (
"position"))
5270 else if (pname.
compare (
"separator"))
5271 set_separator (val);
5272 else if (pname.
compare (
"fltk_label"))
5273 set_fltk_label (val);
5303 const std::set<std::string>& pnames = all_property_names ();
5310 if (pname.
compare (
"__object__"))
5311 retval = get___object__ ();
5312 else if (pname.
compare (
"accelerator"))
5313 retval = get_accelerator ();
5314 else if (pname.
compare (
"callback"))
5315 retval = get_callback ();
5316 else if (pname.
compare (
"checked"))
5317 retval = get_checked ();
5318 else if (pname.
compare (
"enable"))
5319 retval = get_enable ();
5320 else if (pname.
compare (
"foregroundcolor"))
5321 retval = get_foregroundcolor ();
5322 else if (pname.
compare (
"label"))
5323 retval = get_label ();
5324 else if (pname.
compare (
"position"))
5325 retval = get_position ();
5326 else if (pname.
compare (
"separator"))
5327 retval = get_separator ();
5328 else if (pname.
compare (
"fltk_label"))
5329 retval = get_fltk_label ();
5339 const std::set<std::string>& pnames = all_property_names ();
5346 if (pname.
compare (
"__object__"))
5347 return property (&__object__,
true);
5348 else if (pname.
compare (
"accelerator"))
5349 return property (&accelerator,
true);
5350 else if (pname.
compare (
"callback"))
5352 else if (pname.
compare (
"checked"))
5354 else if (pname.
compare (
"enable"))
5356 else if (pname.
compare (
"foregroundcolor"))
5357 return property (&foregroundcolor,
true);
5358 else if (pname.
compare (
"label"))
5360 else if (pname.
compare (
"position"))
5362 else if (pname.
compare (
"separator"))
5363 return property (&separator,
true);
5364 else if (pname.
compare (
"fltk_label"))
5365 return property (&fltk_label,
true);
5375 m[
"__object__"] =
Matrix ();
5376 m[
"accelerator"] =
"";
5377 m[
"callback"] =
Matrix ();
5378 m[
"checked"] =
"off";
5383 m[
"separator"] =
"off";
5384 m[
"fltk_label"] =
"";
5391 std::set<std::string>
5394 static std::set<std::string> all_pnames;
5400 all_pnames.insert (
"__object__");
5401 all_pnames.insert (
"accelerator");
5402 all_pnames.insert (
"callback");
5403 all_pnames.insert (
"checked");
5404 all_pnames.insert (
"enable");
5405 all_pnames.insert (
"foregroundcolor");
5406 all_pnames.insert (
"label");
5407 all_pnames.insert (
"position");
5408 all_pnames.insert (
"separator");
5409 all_pnames.insert (
"fltk_label");
5412 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5423 std::set<std::string> pnames = core_property_names ();
5425 return pnames.find (pname) != pnames.end ();
5428 std::set<std::string>
5431 static std::set<std::string> all_pnames = core_property_names ();
5433 std::set<std::string> retval = all_pnames;
5435 retval.insert (base_props.begin (), base_props.end ());
5443 std::set<std::string> pnames = all_property_names ();
5445 return pnames.find (pname) != pnames.end ();
5452 __object__ (
"__object__", mh,
Matrix ()),
5453 callback (
"callback", mh,
Matrix ()),
5454 position (
"position", mh,
Matrix (1, 2, 0.0))
5465 const std::set<std::string>& pnames = all_property_names ();
5472 if (pname.
compare (
"__object__"))
5473 set___object__ (val);
5474 else if (pname.
compare (
"callback"))
5476 else if (pname.
compare (
"position"))
5499 const std::set<std::string>& pnames = all_property_names ();
5506 if (pname.
compare (
"__object__"))
5507 retval = get___object__ ();
5508 else if (pname.
compare (
"callback"))
5509 retval = get_callback ();
5510 else if (pname.
compare (
"position"))
5511 retval = get_position ();
5521 const std::set<std::string>& pnames = all_property_names ();
5528 if (pname.
compare (
"__object__"))
5529 return property (&__object__,
true);
5530 else if (pname.
compare (
"callback"))
5532 else if (pname.
compare (
"position"))
5543 m[
"__object__"] =
Matrix ();
5544 m[
"callback"] =
Matrix ();
5545 m[
"position"] =
Matrix (1, 2, 0.0);
5552 std::set<std::string>
5555 static std::set<std::string> all_pnames;
5561 all_pnames.insert (
"__object__");
5562 all_pnames.insert (
"callback");
5563 all_pnames.insert (
"position");
5566 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5577 std::set<std::string> pnames = core_property_names ();
5579 return pnames.find (pname) != pnames.end ();
5582 std::set<std::string>
5585 static std::set<std::string> all_pnames = core_property_names ();
5587 std::set<std::string> retval = all_pnames;
5589 retval.insert (base_props.begin (), base_props.end ());
5597 std::set<std::string> pnames = all_property_names ();
5599 return pnames.find (pname) != pnames.end ();
5606 __object__ (
"__object__", mh,
Matrix ()),
5607 backgroundcolor (
"backgroundcolor", mh,
color_values (1, 1, 1)),
5608 callback (
"callback", mh,
Matrix ()),
5609 cdata (
"cdata", mh,
Matrix ()),
5610 clipping (
"clipping", mh,
"on"),
5611 enable (
"enable", mh,
"{on}|inactive|off"),
5612 extent (
"extent", mh,
Matrix (1, 4, 0.0)),
5613 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
5615 fontsize (
"fontsize", mh, 10),
5616 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
5617 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
5618 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
5619 horizontalalignment (
"horizontalalignment", mh,
"left|{center}|right"),
5620 keypressfcn (
"keypressfcn", mh,
Matrix ()),
5621 listboxtop (
"listboxtop", mh, 1),
5626 string (
"string", mh,
""),
5627 style (
"style", mh,
"{pushbutton}|togglebutton|radiobutton|checkbox|edit|text|slider|frame|listbox|popupmenu"),
5628 tooltipstring (
"tooltipstring", mh,
""),
5629 units (
"units", mh,
"normalized|inches|centimeters|points|{pixels}|characters"),
5630 value (
"value", mh,
Matrix (1, 1, 1.0)),
5631 verticalalignment (
"verticalalignment", mh,
"top|{middle}|bottom")
5665 const std::set<std::string>& pnames = all_property_names ();
5672 if (pname.
compare (
"__object__"))
5673 set___object__ (val);
5674 else if (pname.
compare (
"backgroundcolor"))
5675 set_backgroundcolor (val);
5676 else if (pname.
compare (
"callback"))
5678 else if (pname.
compare (
"cdata"))
5680 else if (pname.
compare (
"clipping"))
5682 else if (pname.
compare (
"enable"))
5684 else if (pname.
compare (
"fontangle"))
5685 set_fontangle (val);
5686 else if (pname.
compare (
"fontname"))
5688 else if (pname.
compare (
"fontsize"))
5690 else if (pname.
compare (
"fontunits"))
5691 set_fontunits (val);
5692 else if (pname.
compare (
"fontweight"))
5693 set_fontweight (val);
5694 else if (pname.
compare (
"foregroundcolor"))
5695 set_foregroundcolor (val);
5696 else if (pname.
compare (
"horizontalalignment"))
5697 set_horizontalalignment (val);
5698 else if (pname.
compare (
"keypressfcn"))
5699 set_keypressfcn (val);
5700 else if (pname.
compare (
"listboxtop"))
5701 set_listboxtop (val);
5702 else if (pname.
compare (
"max"))
5704 else if (pname.
compare (
"min"))
5706 else if (pname.
compare (
"position"))
5708 else if (pname.
compare (
"sliderstep"))
5709 set_sliderstep (val);
5710 else if (pname.
compare (
"string"))
5712 else if (pname.
compare (
"style"))
5714 else if (pname.
compare (
"tooltipstring"))
5715 set_tooltipstring (val);
5716 else if (pname.
compare (
"units"))
5718 else if (pname.
compare (
"value"))
5720 else if (pname.
compare (
"verticalalignment"))
5721 set_verticalalignment (val);
5766 const std::set<std::string>& pnames = all_property_names ();
5773 if (pname.
compare (
"__object__"))
5774 retval = get___object__ ();
5775 else if (pname.
compare (
"backgroundcolor"))
5776 retval = get_backgroundcolor ();
5777 else if (pname.
compare (
"callback"))
5778 retval = get_callback ();
5779 else if (pname.
compare (
"cdata"))
5780 retval = get_cdata ();
5781 else if (pname.
compare (
"clipping"))
5782 retval = get_clipping ();
5783 else if (pname.
compare (
"enable"))
5784 retval = get_enable ();
5785 else if (pname.
compare (
"extent"))
5786 retval = get_extent ();
5787 else if (pname.
compare (
"fontangle"))
5788 retval = get_fontangle ();
5789 else if (pname.
compare (
"fontname"))
5790 retval = get_fontname ();
5791 else if (pname.
compare (
"fontsize"))
5792 retval = get_fontsize ();
5793 else if (pname.
compare (
"fontunits"))
5794 retval = get_fontunits ();
5795 else if (pname.
compare (
"fontweight"))
5796 retval = get_fontweight ();
5797 else if (pname.
compare (
"foregroundcolor"))
5798 retval = get_foregroundcolor ();
5799 else if (pname.
compare (
"horizontalalignment"))
5800 retval = get_horizontalalignment ();
5801 else if (pname.
compare (
"keypressfcn"))
5802 retval = get_keypressfcn ();
5803 else if (pname.
compare (
"listboxtop"))
5804 retval = get_listboxtop ();
5805 else if (pname.
compare (
"max"))
5806 retval = get_max ();
5807 else if (pname.
compare (
"min"))
5808 retval = get_min ();
5809 else if (pname.
compare (
"position"))
5810 retval = get_position ();
5811 else if (pname.
compare (
"sliderstep"))
5812 retval = get_sliderstep ();
5813 else if (pname.
compare (
"string"))
5814 retval = get_string ();
5815 else if (pname.
compare (
"style"))
5816 retval = get_style ();
5817 else if (pname.
compare (
"tooltipstring"))
5818 retval = get_tooltipstring ();
5819 else if (pname.
compare (
"units"))
5820 retval = get_units ();
5821 else if (pname.
compare (
"value"))
5822 retval = get_value ();
5823 else if (pname.
compare (
"verticalalignment"))
5824 retval = get_verticalalignment ();
5834 const std::set<std::string>& pnames = all_property_names ();
5841 if (pname.
compare (
"__object__"))
5842 return property (&__object__,
true);
5843 else if (pname.
compare (
"backgroundcolor"))
5844 return property (&backgroundcolor,
true);
5845 else if (pname.
compare (
"callback"))
5847 else if (pname.
compare (
"cdata"))
5849 else if (pname.
compare (
"clipping"))
5851 else if (pname.
compare (
"enable"))
5853 else if (pname.
compare (
"extent"))
5855 else if (pname.
compare (
"fontangle"))
5856 return property (&fontangle,
true);
5857 else if (pname.
compare (
"fontname"))
5859 else if (pname.
compare (
"fontsize"))
5861 else if (pname.
compare (
"fontunits"))
5862 return property (&fontunits,
true);
5863 else if (pname.
compare (
"fontweight"))
5864 return property (&fontweight,
true);
5865 else if (pname.
compare (
"foregroundcolor"))
5866 return property (&foregroundcolor,
true);
5867 else if (pname.
compare (
"horizontalalignment"))
5868 return property (&horizontalalignment,
true);
5869 else if (pname.
compare (
"keypressfcn"))
5870 return property (&keypressfcn,
true);
5871 else if (pname.
compare (
"listboxtop"))
5872 return property (&listboxtop,
true);
5873 else if (pname.
compare (
"max"))
5875 else if (pname.
compare (
"min"))
5877 else if (pname.
compare (
"position"))
5879 else if (pname.
compare (
"sliderstep"))
5880 return property (&sliderstep,
true);
5881 else if (pname.
compare (
"string"))
5883 else if (pname.
compare (
"style"))
5885 else if (pname.
compare (
"tooltipstring"))
5886 return property (&tooltipstring,
true);
5887 else if (pname.
compare (
"units"))
5889 else if (pname.
compare (
"value"))
5891 else if (pname.
compare (
"verticalalignment"))
5892 return property (&verticalalignment,
true);
5902 m[
"__object__"] =
Matrix ();
5904 m[
"callback"] =
Matrix ();
5906 m[
"clipping"] =
"on";
5908 m[
"extent"] =
Matrix (1, 4, 0.0);
5909 m[
"fontangle"] =
"normal";
5912 m[
"fontunits"] =
"points";
5913 m[
"fontweight"] =
"normal";
5915 m[
"horizontalalignment"] =
"center";
5916 m[
"keypressfcn"] =
Matrix ();
5917 m[
"listboxtop"] = 1;
5923 m[
"style"] =
"pushbutton";
5924 m[
"tooltipstring"] =
"";
5925 m[
"units"] =
"pixels";
5926 m[
"value"] =
Matrix (1, 1, 1.0);
5927 m[
"verticalalignment"] =
"middle";
5934 std::set<std::string>
5937 static std::set<std::string> all_pnames;
5943 all_pnames.insert (
"__object__");
5944 all_pnames.insert (
"backgroundcolor");
5945 all_pnames.insert (
"callback");
5946 all_pnames.insert (
"cdata");
5947 all_pnames.insert (
"clipping");
5948 all_pnames.insert (
"enable");
5949 all_pnames.insert (
"extent");
5950 all_pnames.insert (
"fontangle");
5951 all_pnames.insert (
"fontname");
5952 all_pnames.insert (
"fontsize");
5953 all_pnames.insert (
"fontunits");
5954 all_pnames.insert (
"fontweight");
5955 all_pnames.insert (
"foregroundcolor");
5956 all_pnames.insert (
"horizontalalignment");
5957 all_pnames.insert (
"keypressfcn");
5958 all_pnames.insert (
"listboxtop");
5959 all_pnames.insert (
"max");
5960 all_pnames.insert (
"min");
5961 all_pnames.insert (
"position");
5962 all_pnames.insert (
"sliderstep");
5963 all_pnames.insert (
"string");
5964 all_pnames.insert (
"style");
5965 all_pnames.insert (
"tooltipstring");
5966 all_pnames.insert (
"units");
5967 all_pnames.insert (
"value");
5968 all_pnames.insert (
"verticalalignment");
5971 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5982 std::set<std::string> pnames = core_property_names ();
5984 return pnames.find (pname) != pnames.end ();
5987 std::set<std::string>
5990 static std::set<std::string> all_pnames = core_property_names ();
5992 std::set<std::string> retval = all_pnames;
5994 retval.insert (base_props.begin (), base_props.end ());
6002 std::set<std::string> pnames = all_property_names ();
6004 return pnames.find (pname) != pnames.end ();
6011 __object__ (
"__object__", mh,
Matrix ()),
6012 backgroundcolor (
"backgroundcolor", mh,
color_values (1, 1, 1)),
6013 bordertype (
"bordertype", mh,
"none|{etchedin}|etchedout|beveledin|beveledout|line"),
6014 borderwidth (
"borderwidth", mh, 1),
6015 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
6017 fontsize (
"fontsize", mh, 10),
6018 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
6019 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
6020 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
6021 highlightcolor (
"highlightcolor", mh,
color_values (1, 1, 1)),
6023 resizefcn (
"resizefcn", mh,
Matrix ()),
6024 shadowcolor (
"shadowcolor", mh,
color_values (0, 0, 0)),
6025 title (
"title", mh,
""),
6026 titleposition (
"titleposition", mh,
"{lefttop}|centertop|righttop|leftbottom|centerbottom|rightbottom"),
6027 units (
"units", mh,
"{normalized}|inches|centimeters|points|pixels|characters")
6052 const std::set<std::string>& pnames = all_property_names ();
6059 if (pname.
compare (
"__object__"))
6060 set___object__ (val);
6061 else if (pname.
compare (
"backgroundcolor"))
6062 set_backgroundcolor (val);
6063 else if (pname.
compare (
"bordertype"))
6064 set_bordertype (val);
6065 else if (pname.
compare (
"borderwidth"))
6066 set_borderwidth (val);
6067 else if (pname.
compare (
"fontangle"))
6068 set_fontangle (val);
6069 else if (pname.
compare (
"fontname"))
6071 else if (pname.
compare (
"fontsize"))
6073 else if (pname.
compare (
"fontunits"))
6074 set_fontunits (val);
6075 else if (pname.
compare (
"fontweight"))
6076 set_fontweight (val);
6077 else if (pname.
compare (
"foregroundcolor"))
6078 set_foregroundcolor (val);
6079 else if (pname.
compare (
"highlightcolor"))
6080 set_highlightcolor (val);
6081 else if (pname.
compare (
"position"))
6083 else if (pname.
compare (
"resizefcn"))
6084 set_resizefcn (val);
6085 else if (pname.
compare (
"shadowcolor"))
6086 set_shadowcolor (val);
6087 else if (pname.
compare (
"title"))
6089 else if (pname.
compare (
"titleposition"))
6090 set_titleposition (val);
6091 else if (pname.
compare (
"units"))
6128 const std::set<std::string>& pnames = all_property_names ();
6135 if (pname.
compare (
"__object__"))
6136 retval = get___object__ ();
6137 else if (pname.
compare (
"backgroundcolor"))
6138 retval = get_backgroundcolor ();
6139 else if (pname.
compare (
"bordertype"))
6140 retval = get_bordertype ();
6141 else if (pname.
compare (
"borderwidth"))
6142 retval = get_borderwidth ();
6143 else if (pname.
compare (
"fontangle"))
6144 retval = get_fontangle ();
6145 else if (pname.
compare (
"fontname"))
6146 retval = get_fontname ();
6147 else if (pname.
compare (
"fontsize"))
6148 retval = get_fontsize ();
6149 else if (pname.
compare (
"fontunits"))
6150 retval = get_fontunits ();
6151 else if (pname.
compare (
"fontweight"))
6152 retval = get_fontweight ();
6153 else if (pname.
compare (
"foregroundcolor"))
6154 retval = get_foregroundcolor ();
6155 else if (pname.
compare (
"highlightcolor"))
6156 retval = get_highlightcolor ();
6157 else if (pname.
compare (
"position"))
6158 retval = get_position ();
6159 else if (pname.
compare (
"resizefcn"))
6160 retval = get_resizefcn ();
6161 else if (pname.
compare (
"shadowcolor"))
6162 retval = get_shadowcolor ();
6163 else if (pname.
compare (
"title"))
6164 retval = get_title ();
6165 else if (pname.
compare (
"titleposition"))
6166 retval = get_titleposition ();
6167 else if (pname.
compare (
"units"))
6168 retval = get_units ();
6178 const std::set<std::string>& pnames = all_property_names ();
6185 if (pname.
compare (
"__object__"))
6186 return property (&__object__,
true);
6187 else if (pname.
compare (
"backgroundcolor"))
6188 return property (&backgroundcolor,
true);
6189 else if (pname.
compare (
"bordertype"))
6190 return property (&bordertype,
true);
6191 else if (pname.
compare (
"borderwidth"))
6192 return property (&borderwidth,
true);
6193 else if (pname.
compare (
"fontangle"))
6194 return property (&fontangle,
true);
6195 else if (pname.
compare (
"fontname"))
6197 else if (pname.
compare (
"fontsize"))
6199 else if (pname.
compare (
"fontunits"))
6200 return property (&fontunits,
true);
6201 else if (pname.
compare (
"fontweight"))
6202 return property (&fontweight,
true);
6203 else if (pname.
compare (
"foregroundcolor"))
6204 return property (&foregroundcolor,
true);
6205 else if (pname.
compare (
"highlightcolor"))
6206 return property (&highlightcolor,
true);
6207 else if (pname.
compare (
"position"))
6209 else if (pname.
compare (
"resizefcn"))
6210 return property (&resizefcn,
true);
6211 else if (pname.
compare (
"shadowcolor"))
6212 return property (&shadowcolor,
true);
6213 else if (pname.
compare (
"title"))
6215 else if (pname.
compare (
"titleposition"))
6216 return property (&titleposition,
true);
6217 else if (pname.
compare (
"units"))
6228 m[
"__object__"] =
Matrix ();
6230 m[
"bordertype"] =
"etchedin";
6231 m[
"borderwidth"] = 1;
6232 m[
"fontangle"] =
"normal";
6235 m[
"fontunits"] =
"points";
6236 m[
"fontweight"] =
"normal";
6240 m[
"resizefcn"] =
Matrix ();
6243 m[
"titleposition"] =
"lefttop";
6244 m[
"units"] =
"normalized";
6251 std::set<std::string>
6254 static std::set<std::string> all_pnames;
6260 all_pnames.insert (
"__object__");
6261 all_pnames.insert (
"backgroundcolor");
6262 all_pnames.insert (
"bordertype");
6263 all_pnames.insert (
"borderwidth");
6264 all_pnames.insert (
"fontangle");
6265 all_pnames.insert (
"fontname");
6266 all_pnames.insert (
"fontsize");
6267 all_pnames.insert (
"fontunits");
6268 all_pnames.insert (
"fontweight");
6269 all_pnames.insert (
"foregroundcolor");
6270 all_pnames.insert (
"highlightcolor");
6271 all_pnames.insert (
"position");
6272 all_pnames.insert (
"resizefcn");
6273 all_pnames.insert (
"shadowcolor");
6274 all_pnames.insert (
"title");
6275 all_pnames.insert (
"titleposition");
6276 all_pnames.insert (
"units");
6279 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6290 std::set<std::string> pnames = core_property_names ();
6292 return pnames.find (pname) != pnames.end ();
6295 std::set<std::string>
6298 static std::set<std::string> all_pnames = core_property_names ();
6300 std::set<std::string> retval = all_pnames;
6302 retval.insert (base_props.begin (), base_props.end ());
6310 std::set<std::string> pnames = all_property_names ();
6312 return pnames.find (pname) != pnames.end ();
6319 __object__ (
"__object__", mh,
Matrix ())
6328 const std::set<std::string>& pnames = all_property_names ();
6335 if (pname.
compare (
"__object__"))
6336 set___object__ (val);
6356 const std::set<std::string>& pnames = all_property_names ();
6363 if (pname.
compare (
"__object__"))
6364 retval = get___object__ ();
6374 const std::set<std::string>& pnames = all_property_names ();
6381 if (pname.
compare (
"__object__"))
6382 return property (&__object__,
true);
6392 m[
"__object__"] =
Matrix ();
6399 std::set<std::string>
6402 static std::set<std::string> all_pnames;
6408 all_pnames.insert (
"__object__");
6411 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6422 std::set<std::string> pnames = core_property_names ();
6424 return pnames.find (pname) != pnames.end ();
6427 std::set<std::string>
6430 static std::set<std::string> all_pnames = core_property_names ();
6432 std::set<std::string> retval = all_pnames;
6434 retval.insert (base_props.begin (), base_props.end ());
6442 std::set<std::string> pnames = all_property_names ();
6444 return pnames.find (pname) != pnames.end ();
6451 __object__ (
"__object__", mh,
Matrix ()),
6452 cdata (
"cdata", mh,
Matrix ()),
6453 clickedcallback (
"clickedcallback", mh,
Matrix ()),
6454 enable (
"enable", mh,
"on"),
6455 separator (
"separator", mh,
"off"),
6456 tooltipstring (
"tooltipstring", mh,
"")
6470 const std::set<std::string>& pnames = all_property_names ();
6477 if (pname.
compare (
"__object__"))
6478 set___object__ (val);
6479 else if (pname.
compare (
"cdata"))
6481 else if (pname.
compare (
"clickedcallback"))
6482 set_clickedcallback (val);
6483 else if (pname.
compare (
"enable"))
6485 else if (pname.
compare (
"separator"))
6486 set_separator (val);
6487 else if (pname.
compare (
"tooltipstring"))
6488 set_tooltipstring (val);
6513 const std::set<std::string>& pnames = all_property_names ();
6520 if (pname.
compare (
"__object__"))
6521 retval = get___object__ ();
6522 else if (pname.
compare (
"cdata"))
6523 retval = get_cdata ();
6524 else if (pname.
compare (
"clickedcallback"))
6525 retval = get_clickedcallback ();
6526 else if (pname.
compare (
"enable"))
6527 retval = get_enable ();
6528 else if (pname.
compare (
"separator"))
6529 retval = get_separator ();
6530 else if (pname.
compare (
"tooltipstring"))
6531 retval = get_tooltipstring ();
6541 const std::set<std::string>& pnames = all_property_names ();
6548 if (pname.
compare (
"__object__"))
6549 return property (&__object__,
true);
6550 else if (pname.
compare (
"cdata"))
6552 else if (pname.
compare (
"clickedcallback"))
6553 return property (&clickedcallback,
true);
6554 else if (pname.
compare (
"enable"))
6556 else if (pname.
compare (
"separator"))
6557 return property (&separator,
true);
6558 else if (pname.
compare (
"tooltipstring"))
6559 return property (&tooltipstring,
true);
6569 m[
"__object__"] =
Matrix ();
6571 m[
"clickedcallback"] =
Matrix ();
6573 m[
"separator"] =
"off";
6574 m[
"tooltipstring"] =
"";
6581 std::set<std::string>
6584 static std::set<std::string> all_pnames;
6590 all_pnames.insert (
"__object__");
6591 all_pnames.insert (
"cdata");
6592 all_pnames.insert (
"clickedcallback");
6593 all_pnames.insert (
"enable");
6594 all_pnames.insert (
"separator");
6595 all_pnames.insert (
"tooltipstring");
6598 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6609 std::set<std::string> pnames = core_property_names ();
6611 return pnames.find (pname) != pnames.end ();
6614 std::set<std::string>
6617 static std::set<std::string> all_pnames = core_property_names ();
6619 std::set<std::string> retval = all_pnames;
6621 retval.insert (base_props.begin (), base_props.end ());
6629 std::set<std::string> pnames = all_property_names ();
6631 return pnames.find (pname) != pnames.end ();
6638 __object__ (
"__object__", mh,
Matrix ()),
6639 cdata (
"cdata", mh,
Matrix ()),
6640 clickedcallback (
"clickedcallback", mh,
Matrix ()),
6641 enable (
"enable", mh,
"on"),
6642 offcallback (
"offcallback", mh,
Matrix ()),
6643 oncallback (
"oncallback", mh,
Matrix ()),
6644 separator (
"separator", mh,
"off"),
6645 state (
"state", mh,
"off"),
6646 tooltipstring (
"tooltipstring", mh,
"")
6663 const std::set<std::string>& pnames = all_property_names ();
6670 if (pname.
compare (
"__object__"))
6671 set___object__ (val);
6672 else if (pname.
compare (
"cdata"))
6674 else if (pname.
compare (
"clickedcallback"))
6675 set_clickedcallback (val);
6676 else if (pname.
compare (
"enable"))
6678 else if (pname.
compare (
"offcallback"))
6679 set_offcallback (val);
6680 else if (pname.
compare (
"oncallback"))
6681 set_oncallback (val);
6682 else if (pname.
compare (
"separator"))
6683 set_separator (val);
6684 else if (pname.
compare (
"state"))
6686 else if (pname.
compare (
"tooltipstring"))
6687 set_tooltipstring (val);
6715 const std::set<std::string>& pnames = all_property_names ();
6722 if (pname.
compare (
"__object__"))
6723 retval = get___object__ ();
6724 else if (pname.
compare (
"cdata"))
6725 retval = get_cdata ();
6726 else if (pname.
compare (
"clickedcallback"))
6727 retval = get_clickedcallback ();
6728 else if (pname.
compare (
"enable"))
6729 retval = get_enable ();
6730 else if (pname.
compare (
"offcallback"))
6731 retval = get_offcallback ();
6732 else if (pname.
compare (
"oncallback"))
6733 retval = get_oncallback ();
6734 else if (pname.
compare (
"separator"))
6735 retval = get_separator ();
6736 else if (pname.
compare (
"state"))
6737 retval = get_state ();
6738 else if (pname.
compare (
"tooltipstring"))
6739 retval = get_tooltipstring ();
6749 const std::set<std::string>& pnames = all_property_names ();
6756 if (pname.
compare (
"__object__"))
6757 return property (&__object__,
true);
6758 else if (pname.
compare (
"cdata"))
6760 else if (pname.
compare (
"clickedcallback"))
6761 return property (&clickedcallback,
true);
6762 else if (pname.
compare (
"enable"))
6764 else if (pname.
compare (
"offcallback"))
6765 return property (&offcallback,
true);
6766 else if (pname.
compare (
"oncallback"))
6767 return property (&oncallback,
true);
6768 else if (pname.
compare (
"separator"))
6769 return property (&separator,
true);
6770 else if (pname.
compare (
"state"))
6772 else if (pname.
compare (
"tooltipstring"))
6773 return property (&tooltipstring,
true);
6783 m[
"__object__"] =
Matrix ();
6785 m[
"clickedcallback"] =
Matrix ();
6787 m[
"offcallback"] =
Matrix ();
6788 m[
"oncallback"] =
Matrix ();
6789 m[
"separator"] =
"off";
6791 m[
"tooltipstring"] =
"";
6798 std::set<std::string>
6801 static std::set<std::string> all_pnames;
6807 all_pnames.insert (
"__object__");
6808 all_pnames.insert (
"cdata");
6809 all_pnames.insert (
"clickedcallback");
6810 all_pnames.insert (
"enable");
6811 all_pnames.insert (
"offcallback");
6812 all_pnames.insert (
"oncallback");
6813 all_pnames.insert (
"separator");
6814 all_pnames.insert (
"state");
6815 all_pnames.insert (
"tooltipstring");
6818 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6829 std::set<std::string> pnames = core_property_names ();
6831 return pnames.find (pname) != pnames.end ();
6834 std::set<std::string>
6837 static std::set<std::string> all_pnames = core_property_names ();
6839 std::set<std::string> retval = all_pnames;
6841 retval.insert (base_props.begin (), base_props.end ());
6849 std::set<std::string> pnames = all_property_names ();
6851 return pnames.find (pname) != pnames.end ();