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;
248 static bool initialized =
false;
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>
290 static std::set<std::string> all_pnames;
292 static bool initialized =
false;
296 all_pnames.insert (
"type");
297 all_pnames.insert (
"__myhandle__");
310 return pnames.find (pname) != pnames.end ();
313 std::set<std::string>
318 std::set<std::string>
retval = all_pnames;
320 retval.insert (dyn_props.begin (), dyn_props.end ());
321 for (std::map<caseless_str, property, cmp_caseless_str>::const_iterator
p =
all_props.begin ();
323 retval.insert (
p->first);
333 commandwindowsize (
"commandwindowsize", mh,
Matrix (1, 2, 0)),
335 fixedwidthfontname (
"fixedwidthfontname", mh,
"Courier"),
337 pointerlocation (
"pointerlocation", mh,
Matrix (1, 2, 0)),
338 pointerwindow (
"pointerwindow", mh, 0.0),
342 showhiddenhandles (
"showhiddenhandles", mh,
"off"),
343 units (
"units", mh,
"inches|centimeters|normalized|points|{pixels}")
363 const std::set<std::string>& pnames = all_property_names ();
369 error (
"set: \"%s\" is read-only", pname.c_str ());
373 if (pname.
compare (
"currentfigure"))
374 set_currentfigure (val);
375 else if (pname.
compare (
"fixedwidthfontname"))
376 set_fixedwidthfontname (val);
377 else if (pname.
compare (
"pointerlocation"))
378 set_pointerlocation (val);
379 else if (pname.
compare (
"showhiddenhandles"))
380 set_showhiddenhandles (val);
381 else if (pname.
compare (
"units"))
413 const std::set<std::string>& pnames = all_property_names ();
417 if (pname.
compare (
"callbackobject"))
418 retval = get_callbackobject ().as_octave_value ();
419 else if (pname.
compare (
"commandwindowsize"))
420 retval = get_commandwindowsize ();
421 else if (pname.
compare (
"currentfigure"))
422 retval = get_currentfigure ().as_octave_value ();
423 else if (pname.
compare (
"fixedwidthfontname"))
424 retval = get_fixedwidthfontname ();
425 else if (pname.
compare (
"monitorpositions"))
426 retval = get_monitorpositions ();
427 else if (pname.
compare (
"pointerlocation"))
428 retval = get_pointerlocation ();
429 else if (pname.
compare (
"pointerwindow"))
430 retval = get_pointerwindow ();
431 else if (pname.
compare (
"screendepth"))
432 retval = get_screendepth ();
433 else if (pname.
compare (
"screenpixelsperinch"))
434 retval = get_screenpixelsperinch ();
435 else if (pname.
compare (
"screensize"))
436 retval = get_screensize ();
437 else if (pname.
compare (
"showhiddenhandles"))
438 retval = get_showhiddenhandles ();
439 else if (pname.
compare (
"units"))
440 retval = get_units ();
450 const std::set<std::string>& pnames = all_property_names ();
454 if (pname.
compare (
"callbackobject"))
455 return property (&callbackobject,
true);
456 else if (pname.
compare (
"commandwindowsize"))
457 return property (&commandwindowsize,
true);
458 else if (pname.
compare (
"currentfigure"))
459 return property (¤tfigure,
true);
460 else if (pname.
compare (
"fixedwidthfontname"))
461 return property (&fixedwidthfontname,
true);
462 else if (pname.
compare (
"monitorpositions"))
463 return property (&monitorpositions,
true);
464 else if (pname.
compare (
"pointerlocation"))
465 return property (&pointerlocation,
true);
466 else if (pname.
compare (
"pointerwindow"))
467 return property (&pointerwindow,
true);
468 else if (pname.
compare (
"screendepth"))
469 return property (&screendepth,
true);
470 else if (pname.
compare (
"screenpixelsperinch"))
471 return property (&screenpixelsperinch,
true);
472 else if (pname.
compare (
"screensize"))
473 return property (&screensize,
true);
474 else if (pname.
compare (
"showhiddenhandles"))
475 return property (&showhiddenhandles,
true);
476 else if (pname.
compare (
"units"))
488 m[
"commandwindowsize"] =
Matrix (1, 2, 0);
490 m[
"fixedwidthfontname"] =
"Courier";
492 m[
"pointerlocation"] =
Matrix (1, 2, 0);
493 m[
"pointerwindow"] = 0.0;
497 m[
"showhiddenhandles"] =
"off";
498 m[
"units"] =
"pixels";
505 std::set<std::string>
508 static std::set<std::string> all_pnames;
510 static bool initialized =
false;
514 all_pnames.insert (
"callbackobject");
515 all_pnames.insert (
"commandwindowsize");
516 all_pnames.insert (
"currentfigure");
517 all_pnames.insert (
"fixedwidthfontname");
518 all_pnames.insert (
"monitorpositions");
519 all_pnames.insert (
"pointerlocation");
520 all_pnames.insert (
"pointerwindow");
521 all_pnames.insert (
"screendepth");
522 all_pnames.insert (
"screenpixelsperinch");
523 all_pnames.insert (
"screensize");
524 all_pnames.insert (
"showhiddenhandles");
525 all_pnames.insert (
"units");
528 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
539 std::set<std::string> pnames = core_property_names ();
541 return pnames.find (pname) != pnames.end ();
544 std::set<std::string>
547 static std::set<std::string> all_pnames;
549 static bool initialized =
false;
553 all_pnames.insert (
"callbackobject");
554 all_pnames.insert (
"commandwindowsize");
555 all_pnames.insert (
"monitorpositions");
556 all_pnames.insert (
"pointerwindow");
557 all_pnames.insert (
"screendepth");
558 all_pnames.insert (
"screenpixelsperinch");
559 all_pnames.insert (
"screensize");
562 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
573 std::set<std::string> pnames = readonly_property_names ();
575 return pnames.find (pname) != pnames.end ();
578 std::set<std::string>
581 static std::set<std::string> all_pnames = core_property_names ();
583 std::set<std::string>
retval = all_pnames;
585 retval.insert (base_props.begin (), base_props.end ());
593 std::set<std::string> pnames = all_property_names ();
595 return pnames.find (pname) != pnames.end ();
602 alphamap (
"alphamap", mh,
Matrix (64, 1, 1)),
603 buttondownfcn (
"buttondownfcn", mh,
Matrix ()),
604 closerequestfcn (
"closerequestfcn", mh,
"closereq"),
608 currentcharacter (
"currentcharacter", mh,
""),
610 currentpoint (
"currentpoint", mh,
Matrix (2, 1, 0)),
611 dockcontrols (
"dockcontrols", mh,
"off"),
613 graphicssmoothing (
"graphicssmoothing", mh,
"on"),
614 integerhandle (
"integerhandle", mh,
"on"),
615 inverthardcopy (
"inverthardcopy", mh,
"on"),
616 keypressfcn (
"keypressfcn", mh,
Matrix ()),
617 keyreleasefcn (
"keyreleasefcn", mh,
Matrix ()),
618 menubar (
"menubar", mh,
"{figure}|none"),
619 name (
"name", mh,
""),
620 nextplot (
"nextplot", mh,
"{add}|new|replace|replacechildren"),
621 numbertitle (
"numbertitle", mh,
"on"),
622 outerposition (
"outerposition", mh,
Matrix (1, 4, -1.0)),
623 paperorientation (
"paperorientation", mh,
"{portrait}|landscape"),
625 paperpositionmode (
"paperpositionmode", mh,
"auto|{manual}"),
627 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>"),
628 paperunits (
"paperunits", mh,
"{inches}|centimeters|normalized|points"),
629 pointer (
"pointer", mh,
"crosshair|fullcrosshair|{arrow}|ibeam|watch|topl|topr|botl|botr|left|top|right|bottom|circle|cross|fleur|custom|hand"),
630 pointershapecdata (
"pointershapecdata", mh,
Matrix (16, 16, 0)),
631 pointershapehotspot (
"pointershapehotspot", mh,
Matrix (1, 2, 0)),
633 renderer (
"renderer", mh,
"{opengl}|painters"),
634 renderermode (
"renderermode", mh,
"{auto}|manual"),
635 resize (
"resize", mh,
"on"),
636 resizefcn (
"resizefcn", mh,
Matrix ()),
637 selectiontype (
"selectiontype", mh,
"{normal}|extend|alt|open"),
638 sizechangedfcn (
"sizechangedfcn", mh,
Matrix ()),
639 toolbar (
"toolbar", mh,
"{auto}|figure|none"),
640 units (
"units", mh,
"{pixels}|normalized|inches|centimeters|points|characters"),
641 windowbuttondownfcn (
"windowbuttondownfcn", mh,
Matrix ()),
642 windowbuttonmotionfcn (
"windowbuttonmotionfcn", mh,
Matrix ()),
643 windowbuttonupfcn (
"windowbuttonupfcn", mh,
Matrix ()),
644 windowkeypressfcn (
"windowkeypressfcn", mh,
Matrix ()),
645 windowkeyreleasefcn (
"windowkeyreleasefcn", mh,
Matrix ()),
646 windowscrollwheelfcn (
"windowscrollwheelfcn", mh,
Matrix ()),
647 windowstyle (
"windowstyle", mh,
"{normal}|modal|docked"),
648 __gl_extensions__ (
"__gl_extensions__", mh,
""),
649 __gl_renderer__ (
"__gl_renderer__", mh,
""),
650 __gl_vendor__ (
"__gl_vendor__", mh,
""),
651 __gl_version__ (
"__gl_version__", mh,
""),
652 __graphics_toolkit__ (
"__graphics_toolkit__", mh,
gtk_manager::default_toolkit ()),
653 __guidata__ (
"__guidata__", mh,
Matrix ()),
654 __mouse_mode__ (
"__mouse_mode__", mh,
"{none}|pan|rotate|select|text|zoom"),
655 __pan_mode__ (
"__pan_mode__", mh,
Matrix ()),
656 __plot_stream__ (
"__plot_stream__", mh,
Matrix ()),
657 __rotate_mode__ (
"__rotate_mode__", mh,
Matrix ()),
658 __zoom_mode__ (
"__zoom_mode__", mh,
Matrix ()),
659 doublebuffer (
"doublebuffer", mh,
"on"),
660 mincolormap (
"mincolormap", mh, 64),
661 wvisual (
"wvisual", mh,
""),
662 wvisualmode (
"wvisualmode", mh,
"{auto}|manual"),
663 xdisplay (
"xdisplay", mh,
""),
664 xvisual (
"xvisual", mh,
""),
665 xvisualmode (
"xvisualmode", mh,
"{auto}|manual")
755 const std::set<std::string>& pnames = all_property_names ();
761 error (
"set: \"%s\" is read-only", pname.c_str ());
765 if (pname.
compare (
"alphamap"))
767 else if (pname.
compare (
"buttondownfcn"))
768 set_buttondownfcn (val);
769 else if (pname.
compare (
"closerequestfcn"))
770 set_closerequestfcn (val);
771 else if (pname.
compare (
"color"))
773 else if (pname.
compare (
"colormap"))
775 else if (pname.
compare (
"currentaxes"))
776 set_currentaxes (val);
777 else if (pname.
compare (
"dockcontrols"))
778 set_dockcontrols (val);
779 else if (pname.
compare (
"filename"))
781 else if (pname.
compare (
"graphicssmoothing"))
782 set_graphicssmoothing (val);
783 else if (pname.
compare (
"integerhandle"))
784 set_integerhandle (val);
785 else if (pname.
compare (
"inverthardcopy"))
786 set_inverthardcopy (val);
787 else if (pname.
compare (
"keypressfcn"))
788 set_keypressfcn (val);
789 else if (pname.
compare (
"keyreleasefcn"))
790 set_keyreleasefcn (val);
791 else if (pname.
compare (
"menubar"))
793 else if (pname.
compare (
"name"))
795 else if (pname.
compare (
"nextplot"))
797 else if (pname.
compare (
"numbertitle"))
798 set_numbertitle (val);
799 else if (pname.
compare (
"outerposition"))
800 set_outerposition (val);
801 else if (pname.
compare (
"paperorientation"))
802 set_paperorientation (val);
803 else if (pname.
compare (
"paperposition"))
804 set_paperposition (val);
805 else if (pname.
compare (
"paperpositionmode"))
806 set_paperpositionmode (val);
807 else if (pname.
compare (
"papersize"))
809 else if (pname.
compare (
"papertype"))
811 else if (pname.
compare (
"paperunits"))
812 set_paperunits (val);
813 else if (pname.
compare (
"pointer"))
815 else if (pname.
compare (
"pointershapecdata"))
816 set_pointershapecdata (val);
817 else if (pname.
compare (
"pointershapehotspot"))
818 set_pointershapehotspot (val);
819 else if (pname.
compare (
"position"))
821 else if (pname.
compare (
"renderer"))
823 else if (pname.
compare (
"renderermode"))
824 set_renderermode (val);
825 else if (pname.
compare (
"resize"))
827 else if (pname.
compare (
"resizefcn"))
829 else if (pname.
compare (
"selectiontype"))
830 set_selectiontype (val);
831 else if (pname.
compare (
"sizechangedfcn"))
832 set_sizechangedfcn (val);
833 else if (pname.
compare (
"toolbar"))
835 else if (pname.
compare (
"units"))
837 else if (pname.
compare (
"windowbuttondownfcn"))
838 set_windowbuttondownfcn (val);
839 else if (pname.
compare (
"windowbuttonmotionfcn"))
840 set_windowbuttonmotionfcn (val);
841 else if (pname.
compare (
"windowbuttonupfcn"))
842 set_windowbuttonupfcn (val);
843 else if (pname.
compare (
"windowkeypressfcn"))
844 set_windowkeypressfcn (val);
845 else if (pname.
compare (
"windowkeyreleasefcn"))
846 set_windowkeyreleasefcn (val);
847 else if (pname.
compare (
"windowscrollwheelfcn"))
848 set_windowscrollwheelfcn (val);
849 else if (pname.
compare (
"windowstyle"))
850 set_windowstyle (val);
851 else if (pname.
compare (
"__graphics_toolkit__"))
852 set___graphics_toolkit__ (val);
853 else if (pname.
compare (
"__guidata__"))
854 set___guidata__ (val);
855 else if (pname.
compare (
"__mouse_mode__"))
856 set___mouse_mode__ (val);
857 else if (pname.
compare (
"__pan_mode__"))
858 set___pan_mode__ (val);
859 else if (pname.
compare (
"__plot_stream__"))
860 set___plot_stream__ (val);
861 else if (pname.
compare (
"__rotate_mode__"))
862 set___rotate_mode__ (val);
863 else if (pname.
compare (
"__zoom_mode__"))
864 set___zoom_mode__ (val);
865 else if (pname.
compare (
"doublebuffer"))
866 set_doublebuffer (val);
867 else if (pname.
compare (
"mincolormap"))
868 set_mincolormap (val);
869 else if (pname.
compare (
"wvisual"))
871 else if (pname.
compare (
"wvisualmode"))
872 set_wvisualmode (val);
873 else if (pname.
compare (
"xdisplay"))
875 else if (pname.
compare (
"xvisual"))
877 else if (pname.
compare (
"xvisualmode"))
878 set_xvisualmode (val);
979 const std::set<std::string>& pnames = all_property_names ();
983 if (pname.
compare (
"alphamap"))
984 retval = get_alphamap ();
985 else if (pname.
compare (
"buttondownfcn"))
986 retval = get_buttondownfcn ();
987 else if (pname.
compare (
"closerequestfcn"))
988 retval = get_closerequestfcn ();
989 else if (pname.
compare (
"color"))
990 retval = get_color ();
991 else if (pname.
compare (
"colormap"))
992 retval = get_colormap ();
993 else if (pname.
compare (
"currentaxes"))
994 retval = get_currentaxes ().as_octave_value ();
995 else if (pname.
compare (
"currentcharacter"))
996 retval = get_currentcharacter ();
997 else if (pname.
compare (
"currentobject"))
998 retval = get_currentobject ().as_octave_value ();
999 else if (pname.
compare (
"currentpoint"))
1000 retval = get_currentpoint ();
1001 else if (pname.
compare (
"dockcontrols"))
1002 retval = get_dockcontrols ();
1003 else if (pname.
compare (
"filename"))
1004 retval = get_filename ();
1005 else if (pname.
compare (
"graphicssmoothing"))
1006 retval = get_graphicssmoothing ();
1007 else if (pname.
compare (
"integerhandle"))
1008 retval = get_integerhandle ();
1009 else if (pname.
compare (
"inverthardcopy"))
1010 retval = get_inverthardcopy ();
1011 else if (pname.
compare (
"keypressfcn"))
1012 retval = get_keypressfcn ();
1013 else if (pname.
compare (
"keyreleasefcn"))
1014 retval = get_keyreleasefcn ();
1015 else if (pname.
compare (
"menubar"))
1016 retval = get_menubar ();
1017 else if (pname.
compare (
"name"))
1018 retval = get_name ();
1019 else if (pname.
compare (
"nextplot"))
1020 retval = get_nextplot ();
1021 else if (pname.
compare (
"numbertitle"))
1022 retval = get_numbertitle ();
1023 else if (pname.
compare (
"outerposition"))
1024 retval = get_outerposition ();
1025 else if (pname.
compare (
"paperorientation"))
1026 retval = get_paperorientation ();
1027 else if (pname.
compare (
"paperposition"))
1028 retval = get_paperposition ();
1029 else if (pname.
compare (
"paperpositionmode"))
1030 retval = get_paperpositionmode ();
1031 else if (pname.
compare (
"papersize"))
1032 retval = get_papersize ();
1033 else if (pname.
compare (
"papertype"))
1034 retval = get_papertype ();
1035 else if (pname.
compare (
"paperunits"))
1036 retval = get_paperunits ();
1037 else if (pname.
compare (
"pointer"))
1038 retval = get_pointer ();
1039 else if (pname.
compare (
"pointershapecdata"))
1040 retval = get_pointershapecdata ();
1041 else if (pname.
compare (
"pointershapehotspot"))
1042 retval = get_pointershapehotspot ();
1043 else if (pname.
compare (
"position"))
1044 retval = get_position ();
1045 else if (pname.
compare (
"renderer"))
1046 retval = get_renderer ();
1047 else if (pname.
compare (
"renderermode"))
1048 retval = get_renderermode ();
1049 else if (pname.
compare (
"resize"))
1050 retval = get_resize ();
1051 else if (pname.
compare (
"resizefcn"))
1052 retval = get_resizefcn ();
1053 else if (pname.
compare (
"selectiontype"))
1054 retval = get_selectiontype ();
1055 else if (pname.
compare (
"sizechangedfcn"))
1056 retval = get_sizechangedfcn ();
1057 else if (pname.
compare (
"toolbar"))
1058 retval = get_toolbar ();
1059 else if (pname.
compare (
"units"))
1060 retval = get_units ();
1061 else if (pname.
compare (
"windowbuttondownfcn"))
1062 retval = get_windowbuttondownfcn ();
1063 else if (pname.
compare (
"windowbuttonmotionfcn"))
1064 retval = get_windowbuttonmotionfcn ();
1065 else if (pname.
compare (
"windowbuttonupfcn"))
1066 retval = get_windowbuttonupfcn ();
1067 else if (pname.
compare (
"windowkeypressfcn"))
1068 retval = get_windowkeypressfcn ();
1069 else if (pname.
compare (
"windowkeyreleasefcn"))
1070 retval = get_windowkeyreleasefcn ();
1071 else if (pname.
compare (
"windowscrollwheelfcn"))
1072 retval = get_windowscrollwheelfcn ();
1073 else if (pname.
compare (
"windowstyle"))
1074 retval = get_windowstyle ();
1075 else if (pname.
compare (
"__gl_extensions__"))
1076 retval = get___gl_extensions__ ();
1077 else if (pname.
compare (
"__gl_renderer__"))
1078 retval = get___gl_renderer__ ();
1079 else if (pname.
compare (
"__gl_vendor__"))
1080 retval = get___gl_vendor__ ();
1081 else if (pname.
compare (
"__gl_version__"))
1082 retval = get___gl_version__ ();
1083 else if (pname.
compare (
"__graphics_toolkit__"))
1084 retval = get___graphics_toolkit__ ();
1085 else if (pname.
compare (
"__guidata__"))
1086 retval = get___guidata__ ();
1087 else if (pname.
compare (
"__mouse_mode__"))
1088 retval = get___mouse_mode__ ();
1089 else if (pname.
compare (
"__pan_mode__"))
1090 retval = get___pan_mode__ ();
1091 else if (pname.
compare (
"__plot_stream__"))
1092 retval = get___plot_stream__ ();
1093 else if (pname.
compare (
"__rotate_mode__"))
1094 retval = get___rotate_mode__ ();
1095 else if (pname.
compare (
"__zoom_mode__"))
1096 retval = get___zoom_mode__ ();
1097 else if (pname.
compare (
"doublebuffer"))
1098 retval = get_doublebuffer ();
1099 else if (pname.
compare (
"mincolormap"))
1100 retval = get_mincolormap ();
1101 else if (pname.
compare (
"wvisual"))
1102 retval = get_wvisual ();
1103 else if (pname.
compare (
"wvisualmode"))
1104 retval = get_wvisualmode ();
1105 else if (pname.
compare (
"xdisplay"))
1106 retval = get_xdisplay ();
1107 else if (pname.
compare (
"xvisual"))
1108 retval = get_xvisual ();
1109 else if (pname.
compare (
"xvisualmode"))
1110 retval = get_xvisualmode ();
1120 const std::set<std::string>& pnames = all_property_names ();
1124 if (pname.
compare (
"alphamap"))
1126 else if (pname.
compare (
"buttondownfcn"))
1127 return property (&buttondownfcn,
true);
1128 else if (pname.
compare (
"closerequestfcn"))
1129 return property (&closerequestfcn,
true);
1130 else if (pname.
compare (
"color"))
1132 else if (pname.
compare (
"colormap"))
1134 else if (pname.
compare (
"currentaxes"))
1135 return property (¤taxes,
true);
1136 else if (pname.
compare (
"currentcharacter"))
1137 return property (¤tcharacter,
true);
1138 else if (pname.
compare (
"currentobject"))
1139 return property (¤tobject,
true);
1140 else if (pname.
compare (
"currentpoint"))
1141 return property (¤tpoint,
true);
1142 else if (pname.
compare (
"dockcontrols"))
1143 return property (&dockcontrols,
true);
1144 else if (pname.
compare (
"filename"))
1146 else if (pname.
compare (
"graphicssmoothing"))
1147 return property (&graphicssmoothing,
true);
1148 else if (pname.
compare (
"integerhandle"))
1149 return property (&integerhandle,
true);
1150 else if (pname.
compare (
"inverthardcopy"))
1151 return property (&inverthardcopy,
true);
1152 else if (pname.
compare (
"keypressfcn"))
1153 return property (&keypressfcn,
true);
1154 else if (pname.
compare (
"keyreleasefcn"))
1155 return property (&keyreleasefcn,
true);
1156 else if (pname.
compare (
"menubar"))
1158 else if (pname.
compare (
"name"))
1160 else if (pname.
compare (
"nextplot"))
1162 else if (pname.
compare (
"numbertitle"))
1163 return property (&numbertitle,
true);
1164 else if (pname.
compare (
"outerposition"))
1165 return property (&outerposition,
true);
1166 else if (pname.
compare (
"paperorientation"))
1167 return property (&paperorientation,
true);
1168 else if (pname.
compare (
"paperposition"))
1169 return property (&paperposition,
true);
1170 else if (pname.
compare (
"paperpositionmode"))
1171 return property (&paperpositionmode,
true);
1172 else if (pname.
compare (
"papersize"))
1173 return property (&papersize,
true);
1174 else if (pname.
compare (
"papertype"))
1175 return property (&papertype,
true);
1176 else if (pname.
compare (
"paperunits"))
1177 return property (&paperunits,
true);
1178 else if (pname.
compare (
"pointer"))
1180 else if (pname.
compare (
"pointershapecdata"))
1181 return property (&pointershapecdata,
true);
1182 else if (pname.
compare (
"pointershapehotspot"))
1183 return property (&pointershapehotspot,
true);
1184 else if (pname.
compare (
"position"))
1186 else if (pname.
compare (
"renderer"))
1188 else if (pname.
compare (
"renderermode"))
1189 return property (&renderermode,
true);
1190 else if (pname.
compare (
"resize"))
1192 else if (pname.
compare (
"resizefcn"))
1193 return property (&resizefcn,
true);
1194 else if (pname.
compare (
"selectiontype"))
1195 return property (&selectiontype,
true);
1196 else if (pname.
compare (
"sizechangedfcn"))
1197 return property (&sizechangedfcn,
true);
1198 else if (pname.
compare (
"toolbar"))
1200 else if (pname.
compare (
"units"))
1202 else if (pname.
compare (
"windowbuttondownfcn"))
1203 return property (&windowbuttondownfcn,
true);
1204 else if (pname.
compare (
"windowbuttonmotionfcn"))
1205 return property (&windowbuttonmotionfcn,
true);
1206 else if (pname.
compare (
"windowbuttonupfcn"))
1207 return property (&windowbuttonupfcn,
true);
1208 else if (pname.
compare (
"windowkeypressfcn"))
1209 return property (&windowkeypressfcn,
true);
1210 else if (pname.
compare (
"windowkeyreleasefcn"))
1211 return property (&windowkeyreleasefcn,
true);
1212 else if (pname.
compare (
"windowscrollwheelfcn"))
1213 return property (&windowscrollwheelfcn,
true);
1214 else if (pname.
compare (
"windowstyle"))
1215 return property (&windowstyle,
true);
1216 else if (pname.
compare (
"__gl_extensions__"))
1217 return property (&__gl_extensions__,
true);
1218 else if (pname.
compare (
"__gl_renderer__"))
1219 return property (&__gl_renderer__,
true);
1220 else if (pname.
compare (
"__gl_vendor__"))
1221 return property (&__gl_vendor__,
true);
1222 else if (pname.
compare (
"__gl_version__"))
1223 return property (&__gl_version__,
true);
1224 else if (pname.
compare (
"__graphics_toolkit__"))
1225 return property (&__graphics_toolkit__,
true);
1226 else if (pname.
compare (
"__guidata__"))
1227 return property (&__guidata__,
true);
1228 else if (pname.
compare (
"__mouse_mode__"))
1229 return property (&__mouse_mode__,
true);
1230 else if (pname.
compare (
"__pan_mode__"))
1231 return property (&__pan_mode__,
true);
1232 else if (pname.
compare (
"__plot_stream__"))
1233 return property (&__plot_stream__,
true);
1234 else if (pname.
compare (
"__rotate_mode__"))
1235 return property (&__rotate_mode__,
true);
1236 else if (pname.
compare (
"__zoom_mode__"))
1237 return property (&__zoom_mode__,
true);
1238 else if (pname.
compare (
"doublebuffer"))
1239 return property (&doublebuffer,
true);
1240 else if (pname.
compare (
"mincolormap"))
1241 return property (&mincolormap,
true);
1242 else if (pname.
compare (
"wvisual"))
1244 else if (pname.
compare (
"wvisualmode"))
1245 return property (&wvisualmode,
true);
1246 else if (pname.
compare (
"xdisplay"))
1248 else if (pname.
compare (
"xvisual"))
1250 else if (pname.
compare (
"xvisualmode"))
1251 return property (&xvisualmode,
true);
1261 m[
"alphamap"] =
Matrix (64, 1, 1);
1262 m[
"buttondownfcn"] =
Matrix ();
1263 m[
"closerequestfcn"] =
"closereq";
1267 m[
"currentcharacter"] =
"";
1269 m[
"currentpoint"] =
Matrix (2, 1, 0);
1270 m[
"dockcontrols"] =
"off";
1272 m[
"graphicssmoothing"] =
"on";
1273 m[
"integerhandle"] =
"on";
1274 m[
"inverthardcopy"] =
"on";
1275 m[
"keypressfcn"] =
Matrix ();
1276 m[
"keyreleasefcn"] =
Matrix ();
1277 m[
"menubar"] =
"figure";
1279 m[
"nextplot"] =
"add";
1280 m[
"numbertitle"] =
"on";
1281 m[
"outerposition"] =
Matrix (1, 4, -1.0);
1282 m[
"paperorientation"] =
"portrait";
1284 m[
"paperpositionmode"] =
"manual";
1286 m[
"papertype"] =
"usletter";
1287 m[
"paperunits"] =
"inches";
1288 m[
"pointer"] =
"arrow";
1289 m[
"pointershapecdata"] =
Matrix (16, 16, 0);
1290 m[
"pointershapehotspot"] =
Matrix (1, 2, 0);
1292 m[
"renderer"] =
"opengl";
1293 m[
"renderermode"] =
"auto";
1295 m[
"resizefcn"] =
Matrix ();
1296 m[
"selectiontype"] =
"normal";
1297 m[
"sizechangedfcn"] =
Matrix ();
1298 m[
"toolbar"] =
"auto";
1299 m[
"units"] =
"pixels";
1300 m[
"windowbuttondownfcn"] =
Matrix ();
1301 m[
"windowbuttonmotionfcn"] =
Matrix ();
1302 m[
"windowbuttonupfcn"] =
Matrix ();
1303 m[
"windowkeypressfcn"] =
Matrix ();
1304 m[
"windowkeyreleasefcn"] =
Matrix ();
1305 m[
"windowscrollwheelfcn"] =
Matrix ();
1306 m[
"windowstyle"] =
"normal";
1307 m[
"__gl_extensions__"] =
"";
1308 m[
"__gl_renderer__"] =
"";
1309 m[
"__gl_vendor__"] =
"";
1310 m[
"__gl_version__"] =
"";
1312 m[
"__guidata__"] =
Matrix ();
1313 m[
"__mouse_mode__"] =
"none";
1314 m[
"__pan_mode__"] =
Matrix ();
1315 m[
"__plot_stream__"] =
Matrix ();
1316 m[
"__rotate_mode__"] =
Matrix ();
1317 m[
"__zoom_mode__"] =
Matrix ();
1318 m[
"doublebuffer"] =
"on";
1319 m[
"mincolormap"] = 64;
1321 m[
"wvisualmode"] =
"auto";
1324 m[
"xvisualmode"] =
"auto";
1331 std::set<std::string>
1334 static std::set<std::string> all_pnames;
1336 static bool initialized =
false;
1340 all_pnames.insert (
"alphamap");
1341 all_pnames.insert (
"buttondownfcn");
1342 all_pnames.insert (
"closerequestfcn");
1343 all_pnames.insert (
"color");
1344 all_pnames.insert (
"colormap");
1345 all_pnames.insert (
"currentaxes");
1346 all_pnames.insert (
"currentcharacter");
1347 all_pnames.insert (
"currentobject");
1348 all_pnames.insert (
"currentpoint");
1349 all_pnames.insert (
"dockcontrols");
1350 all_pnames.insert (
"filename");
1351 all_pnames.insert (
"graphicssmoothing");
1352 all_pnames.insert (
"integerhandle");
1353 all_pnames.insert (
"inverthardcopy");
1354 all_pnames.insert (
"keypressfcn");
1355 all_pnames.insert (
"keyreleasefcn");
1356 all_pnames.insert (
"menubar");
1357 all_pnames.insert (
"name");
1358 all_pnames.insert (
"nextplot");
1359 all_pnames.insert (
"numbertitle");
1360 all_pnames.insert (
"outerposition");
1361 all_pnames.insert (
"paperorientation");
1362 all_pnames.insert (
"paperposition");
1363 all_pnames.insert (
"paperpositionmode");
1364 all_pnames.insert (
"papersize");
1365 all_pnames.insert (
"papertype");
1366 all_pnames.insert (
"paperunits");
1367 all_pnames.insert (
"pointer");
1368 all_pnames.insert (
"pointershapecdata");
1369 all_pnames.insert (
"pointershapehotspot");
1370 all_pnames.insert (
"position");
1371 all_pnames.insert (
"renderer");
1372 all_pnames.insert (
"renderermode");
1373 all_pnames.insert (
"resize");
1374 all_pnames.insert (
"resizefcn");
1375 all_pnames.insert (
"selectiontype");
1376 all_pnames.insert (
"sizechangedfcn");
1377 all_pnames.insert (
"toolbar");
1378 all_pnames.insert (
"units");
1379 all_pnames.insert (
"windowbuttondownfcn");
1380 all_pnames.insert (
"windowbuttonmotionfcn");
1381 all_pnames.insert (
"windowbuttonupfcn");
1382 all_pnames.insert (
"windowkeypressfcn");
1383 all_pnames.insert (
"windowkeyreleasefcn");
1384 all_pnames.insert (
"windowscrollwheelfcn");
1385 all_pnames.insert (
"windowstyle");
1386 all_pnames.insert (
"__gl_extensions__");
1387 all_pnames.insert (
"__gl_renderer__");
1388 all_pnames.insert (
"__gl_vendor__");
1389 all_pnames.insert (
"__gl_version__");
1390 all_pnames.insert (
"__graphics_toolkit__");
1391 all_pnames.insert (
"__guidata__");
1392 all_pnames.insert (
"__mouse_mode__");
1393 all_pnames.insert (
"__pan_mode__");
1394 all_pnames.insert (
"__plot_stream__");
1395 all_pnames.insert (
"__rotate_mode__");
1396 all_pnames.insert (
"__zoom_mode__");
1397 all_pnames.insert (
"doublebuffer");
1398 all_pnames.insert (
"mincolormap");
1399 all_pnames.insert (
"wvisual");
1400 all_pnames.insert (
"wvisualmode");
1401 all_pnames.insert (
"xdisplay");
1402 all_pnames.insert (
"xvisual");
1403 all_pnames.insert (
"xvisualmode");
1406 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
1417 std::set<std::string> pnames = core_property_names ();
1419 return pnames.find (pname) != pnames.end ();
1422 std::set<std::string>
1425 static std::set<std::string> all_pnames;
1427 static bool initialized =
false;
1431 all_pnames.insert (
"currentcharacter");
1432 all_pnames.insert (
"currentobject");
1433 all_pnames.insert (
"currentpoint");
1434 all_pnames.insert (
"__gl_extensions__");
1435 all_pnames.insert (
"__gl_renderer__");
1436 all_pnames.insert (
"__gl_vendor__");
1437 all_pnames.insert (
"__gl_version__");
1440 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
1451 std::set<std::string> pnames = readonly_property_names ();
1453 return pnames.find (pname) != pnames.end ();
1456 std::set<std::string>
1459 static std::set<std::string> all_pnames = core_property_names ();
1461 std::set<std::string>
retval = all_pnames;
1463 retval.insert (base_props.begin (), base_props.end ());
1471 std::set<std::string> pnames = all_property_names ();
1473 return pnames.find (pname) != pnames.end ();
1480 activepositionproperty (
"activepositionproperty", mh,
"{outerposition}|position"),
1482 alimmode (
"alimmode", mh,
"{auto}|manual"),
1483 ambientlightcolor (
"ambientlightcolor", mh,
color_values (1, 1, 1)),
1484 box (
"box", mh,
"off"),
1485 boxstyle (
"boxstyle", mh,
"{back}|full"),
1486 cameraposition (
"cameraposition", mh,
Matrix (1, 3, 0.0)),
1487 camerapositionmode (
"camerapositionmode", mh,
"{auto}|manual"),
1488 cameratarget (
"cameratarget", mh,
Matrix (1, 3, 0.0)),
1489 cameratargetmode (
"cameratargetmode", mh,
"{auto}|manual"),
1490 cameraupvector (
"cameraupvector", mh,
Matrix (1, 3, 0.0)),
1491 cameraupvectormode (
"cameraupvectormode", mh,
"{auto}|manual"),
1492 cameraviewangle (
"cameraviewangle", mh, 6.6086),
1493 cameraviewanglemode (
"cameraviewanglemode", mh,
"{auto}|manual"),
1495 climmode (
"climmode", mh,
"{auto}|manual"),
1496 clippingstyle (
"clippingstyle", mh,
"{3dbox}|rectangle"),
1499 colororderindex (
"colororderindex", mh, 1.0),
1500 currentpoint (
"currentpoint", mh,
Matrix (2, 3, 0.0)),
1501 dataaspectratio (
"dataaspectratio", mh,
Matrix (1, 3, 1.0)),
1502 dataaspectratiomode (
"dataaspectratiomode", mh,
"{auto}|manual"),
1503 drawmode (
"drawmode", mh,
"{normal}|fast"),
1504 fontangle (
"fontangle", mh,
"{normal}|italic"),
1506 fontsize (
"fontsize", mh, 10),
1507 fontunits (
"fontunits", mh,
"{points}|inches|centimeters|normalized|pixels"),
1508 fontsmoothing (
"fontsmoothing", mh,
"on"),
1509 fontweight (
"fontweight", mh,
"{normal}|bold"),
1510 gridalpha (
"gridalpha", mh, 0.15),
1511 gridalphamode (
"gridalphamode", mh,
"{auto}|manual"),
1513 gridcolormode (
"gridcolormode", mh,
"{auto}|manual"),
1514 gridlinestyle (
"gridlinestyle", mh,
"{-}|--|:|-.|none"),
1515 labelfontsizemultiplier (
"labelfontsizemultiplier", mh, 1.1),
1516 layer (
"layer", mh,
"{bottom}|top"),
1517 linestyleorder (
"linestyleorder", mh,
"-"),
1518 linestyleorderindex (
"linestyleorderindex", mh, 1.0),
1519 linewidth (
"linewidth", mh, 0.5),
1520 minorgridalpha (
"minorgridalpha", mh, 0.25),
1521 minorgridalphamode (
"minorgridalphamode", mh,
"{auto}|manual"),
1523 minorgridcolormode (
"minorgridcolormode", mh,
"{auto}|manual"),
1524 minorgridlinestyle (
"minorgridlinestyle", mh,
"{:}|-|--|-.|none"),
1525 nextplot (
"nextplot", mh,
"{replace}|add|replacechildren"),
1527 plotboxaspectratio (
"plotboxaspectratio", mh,
Matrix (1, 3, 1.0)),
1528 plotboxaspectratiomode (
"plotboxaspectratiomode", mh,
"{auto}|manual"),
1529 pickableparts (
"pickableparts", mh,
"{visible}|all|none"),
1531 projection (
"projection", mh,
"{orthographic}|perspective"),
1532 sortmethod (
"sortmethod", mh,
"{depth}|childorder"),
1533 tickdir (
"tickdir", mh,
"{in}|out"),
1534 tickdirmode (
"tickdirmode", mh,
"{auto}|manual"),
1535 ticklabelinterpreter (
"ticklabelinterpreter", mh,
"{tex}|latex|none"),
1537 tightinset (
"tightinset", mh,
Matrix (1, 4, 0.0)),
1539 titlefontsizemultiplier (
"titlefontsizemultiplier", mh, 1.1),
1540 titlefontweight (
"titlefontweight", mh,
"{bold}|normal"),
1541 units (
"units", mh,
"{normalized}|inches|centimeters|points|pixels|characters"),
1543 xaxislocation (
"xaxislocation", mh,
"{bottom}|top|origin|zero"),
1544 xcolor (
"xcolor", mh,
color_values (0.15, 0.15, 0.15)),
1545 xcolormode (
"xcolormode", mh,
"{auto}|manual"),
1546 xdir (
"xdir", mh,
"{normal}|reverse"),
1547 xgrid (
"xgrid", mh,
"off"),
1550 xlimmode (
"xlimmode", mh,
"{auto}|manual"),
1551 xminorgrid (
"xminorgrid", mh,
"off"),
1552 xminortick (
"xminortick", mh,
"off"),
1553 xscale (
"xscale", mh,
"{linear}|log"),
1555 xticklabel (
"xticklabel", mh,
""),
1556 xticklabelmode (
"xticklabelmode", mh,
"{auto}|manual"),
1557 xticklabelrotation (
"xticklabelrotation", mh, 0.0),
1558 xtickmode (
"xtickmode", mh,
"{auto}|manual"),
1559 yaxislocation (
"yaxislocation", mh,
"{left}|right|origin|zero"),
1560 ycolor (
"ycolor", mh,
color_values (0.15, 0.15, 0.15)),
1561 ycolormode (
"ycolormode", mh,
"{auto}|manual"),
1562 ydir (
"ydir", mh,
"{normal}|reverse"),
1563 ygrid (
"ygrid", mh,
"off"),
1566 ylimmode (
"ylimmode", mh,
"{auto}|manual"),
1567 yminorgrid (
"yminorgrid", mh,
"off"),
1568 yminortick (
"yminortick", mh,
"off"),
1569 yscale (
"yscale", mh,
"{linear}|log"),
1571 yticklabel (
"yticklabel", mh,
""),
1572 yticklabelmode (
"yticklabelmode", mh,
"{auto}|manual"),
1573 yticklabelrotation (
"yticklabelrotation", mh, 0.0),
1574 ytickmode (
"ytickmode", mh,
"{auto}|manual"),
1575 zcolor (
"zcolor", mh,
color_values (0.15, 0.15, 0.15)),
1576 zcolormode (
"zcolormode", mh,
"{auto}|manual"),
1577 zdir (
"zdir", mh,
"{normal}|reverse"),
1578 zgrid (
"zgrid", mh,
"off"),
1581 zlimmode (
"zlimmode", mh,
"{auto}|manual"),
1582 zminorgrid (
"zminorgrid", mh,
"off"),
1583 zminortick (
"zminortick", mh,
"off"),
1584 zscale (
"zscale", mh,
"{linear}|log"),
1586 zticklabel (
"zticklabel", mh,
""),
1587 zticklabelmode (
"zticklabelmode", mh,
"{auto}|manual"),
1588 zticklabelrotation (
"zticklabelrotation", mh, 0.0),
1589 ztickmode (
"ztickmode", mh,
"{auto}|manual"),
1590 mousewheelzoom (
"mousewheelzoom", mh, 0.5),
1591 autopos_tag (
"autopos_tag", mh,
"{none}|subplot"),
1592 looseinset (
"looseinset", mh,
Matrix (1, 4, 0.0)),
1593 x_viewtransform (
"x_viewtransform", mh,
Matrix (4, 4, 0.0)),
1594 x_projectiontransform (
"x_projectiontransform", mh,
Matrix (4, 4, 0.0)),
1595 x_viewporttransform (
"x_viewporttransform", mh,
Matrix (4, 4, 0.0)),
1596 x_normrendertransform (
"x_normrendertransform", mh,
Matrix (4, 4, 0.0)),
1597 x_rendertransform (
"x_rendertransform", mh,
Matrix (4, 4, 0.0)),
1598 xmtick (
"xmtick", mh,
Matrix ()),
1599 ymtick (
"ymtick", mh,
Matrix ()),
1600 zmtick (
"zmtick", mh,
Matrix ()),
1601 fontsize_points (
"fontsize_points", mh, 0)
1742 const std::set<std::string>& pnames = all_property_names ();
1748 error (
"set: \"%s\" is read-only", pname.c_str ());
1752 if (pname.
compare (
"activepositionproperty"))
1753 set_activepositionproperty (val);
1754 else if (pname.
compare (
"alim"))
1756 else if (pname.
compare (
"alimmode"))
1758 else if (pname.
compare (
"ambientlightcolor"))
1759 set_ambientlightcolor (val);
1760 else if (pname.
compare (
"box"))
1762 else if (pname.
compare (
"boxstyle"))
1764 else if (pname.
compare (
"cameraposition"))
1765 set_cameraposition (val);
1766 else if (pname.
compare (
"camerapositionmode"))
1767 set_camerapositionmode (val);
1768 else if (pname.
compare (
"cameratarget"))
1769 set_cameratarget (val);
1770 else if (pname.
compare (
"cameratargetmode"))
1771 set_cameratargetmode (val);
1772 else if (pname.
compare (
"cameraupvector"))
1773 set_cameraupvector (val);
1774 else if (pname.
compare (
"cameraupvectormode"))
1775 set_cameraupvectormode (val);
1776 else if (pname.
compare (
"cameraviewangle"))
1777 set_cameraviewangle (val);
1778 else if (pname.
compare (
"cameraviewanglemode"))
1779 set_cameraviewanglemode (val);
1780 else if (pname.
compare (
"clim"))
1782 else if (pname.
compare (
"climmode"))
1784 else if (pname.
compare (
"clippingstyle"))
1785 set_clippingstyle (val);
1786 else if (pname.
compare (
"color"))
1788 else if (pname.
compare (
"colororder"))
1789 set_colororder (val);
1790 else if (pname.
compare (
"colororderindex"))
1791 set_colororderindex (val);
1792 else if (pname.
compare (
"currentpoint"))
1793 set_currentpoint (val);
1794 else if (pname.
compare (
"dataaspectratio"))
1795 set_dataaspectratio (val);
1796 else if (pname.
compare (
"dataaspectratiomode"))
1797 set_dataaspectratiomode (val);
1798 else if (pname.
compare (
"drawmode"))
1800 else if (pname.
compare (
"fontangle"))
1801 set_fontangle (val);
1802 else if (pname.
compare (
"fontname"))
1804 else if (pname.
compare (
"fontsize"))
1806 else if (pname.
compare (
"fontunits"))
1807 set_fontunits (val);
1808 else if (pname.
compare (
"fontsmoothing"))
1809 set_fontsmoothing (val);
1810 else if (pname.
compare (
"fontweight"))
1811 set_fontweight (val);
1812 else if (pname.
compare (
"gridalpha"))
1813 set_gridalpha (val);
1814 else if (pname.
compare (
"gridalphamode"))
1815 set_gridalphamode (val);
1816 else if (pname.
compare (
"gridcolor"))
1817 set_gridcolor (val);
1818 else if (pname.
compare (
"gridcolormode"))
1819 set_gridcolormode (val);
1820 else if (pname.
compare (
"gridlinestyle"))
1821 set_gridlinestyle (val);
1822 else if (pname.
compare (
"labelfontsizemultiplier"))
1823 set_labelfontsizemultiplier (val);
1824 else if (pname.
compare (
"layer"))
1826 else if (pname.
compare (
"linestyleorder"))
1827 set_linestyleorder (val);
1828 else if (pname.
compare (
"linestyleorderindex"))
1829 set_linestyleorderindex (val);
1830 else if (pname.
compare (
"linewidth"))
1831 set_linewidth (val);
1832 else if (pname.
compare (
"minorgridalpha"))
1833 set_minorgridalpha (val);
1834 else if (pname.
compare (
"minorgridalphamode"))
1835 set_minorgridalphamode (val);
1836 else if (pname.
compare (
"minorgridcolor"))
1837 set_minorgridcolor (val);
1838 else if (pname.
compare (
"minorgridcolormode"))
1839 set_minorgridcolormode (val);
1840 else if (pname.
compare (
"minorgridlinestyle"))
1841 set_minorgridlinestyle (val);
1842 else if (pname.
compare (
"nextplot"))
1844 else if (pname.
compare (
"outerposition"))
1845 set_outerposition (val);
1846 else if (pname.
compare (
"plotboxaspectratio"))
1847 set_plotboxaspectratio (val);
1848 else if (pname.
compare (
"plotboxaspectratiomode"))
1849 set_plotboxaspectratiomode (val);
1850 else if (pname.
compare (
"pickableparts"))
1851 set_pickableparts (val);
1852 else if (pname.
compare (
"position"))
1854 else if (pname.
compare (
"projection"))
1855 set_projection (val);
1856 else if (pname.
compare (
"sortmethod"))
1857 set_sortmethod (val);
1858 else if (pname.
compare (
"tickdir"))
1860 else if (pname.
compare (
"tickdirmode"))
1861 set_tickdirmode (val);
1862 else if (pname.
compare (
"ticklabelinterpreter"))
1863 set_ticklabelinterpreter (val);
1864 else if (pname.
compare (
"ticklength"))
1865 set_ticklength (val);
1866 else if (pname.
compare (
"title"))
1868 else if (pname.
compare (
"titlefontsizemultiplier"))
1869 set_titlefontsizemultiplier (val);
1870 else if (pname.
compare (
"titlefontweight"))
1871 set_titlefontweight (val);
1872 else if (pname.
compare (
"units"))
1874 else if (pname.
compare (
"view"))
1876 else if (pname.
compare (
"xaxislocation"))
1877 set_xaxislocation (val);
1878 else if (pname.
compare (
"xcolor"))
1880 else if (pname.
compare (
"xcolormode"))
1881 set_xcolormode (val);
1882 else if (pname.
compare (
"xdir"))
1884 else if (pname.
compare (
"xgrid"))
1886 else if (pname.
compare (
"xlabel"))
1888 else if (pname.
compare (
"xlim"))
1890 else if (pname.
compare (
"xlimmode"))
1892 else if (pname.
compare (
"xminorgrid"))
1893 set_xminorgrid (val);
1894 else if (pname.
compare (
"xminortick"))
1895 set_xminortick (val);
1896 else if (pname.
compare (
"xscale"))
1898 else if (pname.
compare (
"xtick"))
1900 else if (pname.
compare (
"xticklabel"))
1901 set_xticklabel (val);
1902 else if (pname.
compare (
"xticklabelmode"))
1903 set_xticklabelmode (val);
1904 else if (pname.
compare (
"xticklabelrotation"))
1905 set_xticklabelrotation (val);
1906 else if (pname.
compare (
"xtickmode"))
1907 set_xtickmode (val);
1908 else if (pname.
compare (
"yaxislocation"))
1909 set_yaxislocation (val);
1910 else if (pname.
compare (
"ycolor"))
1912 else if (pname.
compare (
"ycolormode"))
1913 set_ycolormode (val);
1914 else if (pname.
compare (
"ydir"))
1916 else if (pname.
compare (
"ygrid"))
1918 else if (pname.
compare (
"ylabel"))
1920 else if (pname.
compare (
"ylim"))
1922 else if (pname.
compare (
"ylimmode"))
1924 else if (pname.
compare (
"yminorgrid"))
1925 set_yminorgrid (val);
1926 else if (pname.
compare (
"yminortick"))
1927 set_yminortick (val);
1928 else if (pname.
compare (
"yscale"))
1930 else if (pname.
compare (
"ytick"))
1932 else if (pname.
compare (
"yticklabel"))
1933 set_yticklabel (val);
1934 else if (pname.
compare (
"yticklabelmode"))
1935 set_yticklabelmode (val);
1936 else if (pname.
compare (
"yticklabelrotation"))
1937 set_yticklabelrotation (val);
1938 else if (pname.
compare (
"ytickmode"))
1939 set_ytickmode (val);
1940 else if (pname.
compare (
"zcolor"))
1942 else if (pname.
compare (
"zcolormode"))
1943 set_zcolormode (val);
1944 else if (pname.
compare (
"zdir"))
1946 else if (pname.
compare (
"zgrid"))
1948 else if (pname.
compare (
"zlabel"))
1950 else if (pname.
compare (
"zlim"))
1952 else if (pname.
compare (
"zlimmode"))
1954 else if (pname.
compare (
"zminorgrid"))
1955 set_zminorgrid (val);
1956 else if (pname.
compare (
"zminortick"))
1957 set_zminortick (val);
1958 else if (pname.
compare (
"zscale"))
1960 else if (pname.
compare (
"ztick"))
1962 else if (pname.
compare (
"zticklabel"))
1963 set_zticklabel (val);
1964 else if (pname.
compare (
"zticklabelmode"))
1965 set_zticklabelmode (val);
1966 else if (pname.
compare (
"zticklabelrotation"))
1967 set_zticklabelrotation (val);
1968 else if (pname.
compare (
"ztickmode"))
1969 set_ztickmode (val);
1970 else if (pname.
compare (
"mousewheelzoom"))
1971 set_mousewheelzoom (val);
1972 else if (pname.
compare (
"autopos_tag"))
1973 set_autopos_tag (val);
1974 else if (pname.
compare (
"looseinset"))
1975 set_looseinset (val);
1976 else if (pname.
compare (
"x_viewtransform"))
1977 set_x_viewtransform (val);
1978 else if (pname.
compare (
"x_projectiontransform"))
1979 set_x_projectiontransform (val);
1980 else if (pname.
compare (
"x_viewporttransform"))
1981 set_x_viewporttransform (val);
1982 else if (pname.
compare (
"x_normrendertransform"))
1983 set_x_normrendertransform (val);
1984 else if (pname.
compare (
"x_rendertransform"))
1985 set_x_rendertransform (val);
1986 else if (pname.
compare (
"xmtick"))
1988 else if (pname.
compare (
"ymtick"))
1990 else if (pname.
compare (
"zmtick"))
2143 const std::set<std::string>& pnames = all_property_names ();
2147 if (pname.
compare (
"activepositionproperty"))
2148 retval = get_activepositionproperty ();
2149 else if (pname.
compare (
"alim"))
2150 retval = get_alim ();
2151 else if (pname.
compare (
"alimmode"))
2152 retval = get_alimmode ();
2153 else if (pname.
compare (
"ambientlightcolor"))
2154 retval = get_ambientlightcolor ();
2155 else if (pname.
compare (
"box"))
2156 retval = get_box ();
2157 else if (pname.
compare (
"boxstyle"))
2158 retval = get_boxstyle ();
2159 else if (pname.
compare (
"cameraposition"))
2160 retval = get_cameraposition ();
2161 else if (pname.
compare (
"camerapositionmode"))
2162 retval = get_camerapositionmode ();
2163 else if (pname.
compare (
"cameratarget"))
2164 retval = get_cameratarget ();
2165 else if (pname.
compare (
"cameratargetmode"))
2166 retval = get_cameratargetmode ();
2167 else if (pname.
compare (
"cameraupvector"))
2168 retval = get_cameraupvector ();
2169 else if (pname.
compare (
"cameraupvectormode"))
2170 retval = get_cameraupvectormode ();
2171 else if (pname.
compare (
"cameraviewangle"))
2172 retval = get_cameraviewangle ();
2173 else if (pname.
compare (
"cameraviewanglemode"))
2174 retval = get_cameraviewanglemode ();
2175 else if (pname.
compare (
"clim"))
2176 retval = get_clim ();
2177 else if (pname.
compare (
"climmode"))
2178 retval = get_climmode ();
2179 else if (pname.
compare (
"clippingstyle"))
2180 retval = get_clippingstyle ();
2181 else if (pname.
compare (
"color"))
2182 retval = get_color ();
2183 else if (pname.
compare (
"colororder"))
2184 retval = get_colororder ();
2185 else if (pname.
compare (
"colororderindex"))
2186 retval = get_colororderindex ();
2187 else if (pname.
compare (
"currentpoint"))
2188 retval = get_currentpoint ();
2189 else if (pname.
compare (
"dataaspectratio"))
2190 retval = get_dataaspectratio ();
2191 else if (pname.
compare (
"dataaspectratiomode"))
2192 retval = get_dataaspectratiomode ();
2193 else if (pname.
compare (
"drawmode"))
2194 retval = get_drawmode ();
2195 else if (pname.
compare (
"fontangle"))
2196 retval = get_fontangle ();
2197 else if (pname.
compare (
"fontname"))
2198 retval = get_fontname ();
2199 else if (pname.
compare (
"fontsize"))
2200 retval = get_fontsize ();
2201 else if (pname.
compare (
"fontunits"))
2202 retval = get_fontunits ();
2203 else if (pname.
compare (
"fontsmoothing"))
2204 retval = get_fontsmoothing ();
2205 else if (pname.
compare (
"fontweight"))
2206 retval = get_fontweight ();
2207 else if (pname.
compare (
"gridalpha"))
2208 retval = get_gridalpha ();
2209 else if (pname.
compare (
"gridalphamode"))
2210 retval = get_gridalphamode ();
2211 else if (pname.
compare (
"gridcolor"))
2212 retval = get_gridcolor ();
2213 else if (pname.
compare (
"gridcolormode"))
2214 retval = get_gridcolormode ();
2215 else if (pname.
compare (
"gridlinestyle"))
2216 retval = get_gridlinestyle ();
2217 else if (pname.
compare (
"labelfontsizemultiplier"))
2218 retval = get_labelfontsizemultiplier ();
2219 else if (pname.
compare (
"layer"))
2220 retval = get_layer ();
2221 else if (pname.
compare (
"linestyleorder"))
2222 retval = get_linestyleorder ();
2223 else if (pname.
compare (
"linestyleorderindex"))
2224 retval = get_linestyleorderindex ();
2225 else if (pname.
compare (
"linewidth"))
2226 retval = get_linewidth ();
2227 else if (pname.
compare (
"minorgridalpha"))
2228 retval = get_minorgridalpha ();
2229 else if (pname.
compare (
"minorgridalphamode"))
2230 retval = get_minorgridalphamode ();
2231 else if (pname.
compare (
"minorgridcolor"))
2232 retval = get_minorgridcolor ();
2233 else if (pname.
compare (
"minorgridcolormode"))
2234 retval = get_minorgridcolormode ();
2235 else if (pname.
compare (
"minorgridlinestyle"))
2236 retval = get_minorgridlinestyle ();
2237 else if (pname.
compare (
"nextplot"))
2238 retval = get_nextplot ();
2239 else if (pname.
compare (
"outerposition"))
2240 retval = get_outerposition ();
2241 else if (pname.
compare (
"plotboxaspectratio"))
2242 retval = get_plotboxaspectratio ();
2243 else if (pname.
compare (
"plotboxaspectratiomode"))
2244 retval = get_plotboxaspectratiomode ();
2245 else if (pname.
compare (
"pickableparts"))
2246 retval = get_pickableparts ();
2247 else if (pname.
compare (
"position"))
2248 retval = get_position ();
2249 else if (pname.
compare (
"projection"))
2250 retval = get_projection ();
2251 else if (pname.
compare (
"sortmethod"))
2252 retval = get_sortmethod ();
2253 else if (pname.
compare (
"tickdir"))
2254 retval = get_tickdir ();
2255 else if (pname.
compare (
"tickdirmode"))
2256 retval = get_tickdirmode ();
2257 else if (pname.
compare (
"ticklabelinterpreter"))
2258 retval = get_ticklabelinterpreter ();
2259 else if (pname.
compare (
"ticklength"))
2260 retval = get_ticklength ();
2261 else if (pname.
compare (
"tightinset"))
2262 retval = get_tightinset ();
2263 else if (pname.
compare (
"title"))
2264 retval = get_title ().as_octave_value ();
2265 else if (pname.
compare (
"titlefontsizemultiplier"))
2266 retval = get_titlefontsizemultiplier ();
2267 else if (pname.
compare (
"titlefontweight"))
2268 retval = get_titlefontweight ();
2269 else if (pname.
compare (
"units"))
2270 retval = get_units ();
2271 else if (pname.
compare (
"view"))
2272 retval = get_view ();
2273 else if (pname.
compare (
"xaxislocation"))
2274 retval = get_xaxislocation ();
2275 else if (pname.
compare (
"xcolor"))
2276 retval = get_xcolor ();
2277 else if (pname.
compare (
"xcolormode"))
2278 retval = get_xcolormode ();
2279 else if (pname.
compare (
"xdir"))
2280 retval = get_xdir ();
2281 else if (pname.
compare (
"xgrid"))
2282 retval = get_xgrid ();
2283 else if (pname.
compare (
"xlabel"))
2284 retval = get_xlabel ().as_octave_value ();
2285 else if (pname.
compare (
"xlim"))
2286 retval = get_xlim ();
2287 else if (pname.
compare (
"xlimmode"))
2288 retval = get_xlimmode ();
2289 else if (pname.
compare (
"xminorgrid"))
2290 retval = get_xminorgrid ();
2291 else if (pname.
compare (
"xminortick"))
2292 retval = get_xminortick ();
2293 else if (pname.
compare (
"xscale"))
2294 retval = get_xscale ();
2295 else if (pname.
compare (
"xtick"))
2296 retval = get_xtick ();
2297 else if (pname.
compare (
"xticklabel"))
2298 retval = get_xticklabel ();
2299 else if (pname.
compare (
"xticklabelmode"))
2300 retval = get_xticklabelmode ();
2301 else if (pname.
compare (
"xticklabelrotation"))
2302 retval = get_xticklabelrotation ();
2303 else if (pname.
compare (
"xtickmode"))
2304 retval = get_xtickmode ();
2305 else if (pname.
compare (
"yaxislocation"))
2306 retval = get_yaxislocation ();
2307 else if (pname.
compare (
"ycolor"))
2308 retval = get_ycolor ();
2309 else if (pname.
compare (
"ycolormode"))
2310 retval = get_ycolormode ();
2311 else if (pname.
compare (
"ydir"))
2312 retval = get_ydir ();
2313 else if (pname.
compare (
"ygrid"))
2314 retval = get_ygrid ();
2315 else if (pname.
compare (
"ylabel"))
2316 retval = get_ylabel ().as_octave_value ();
2317 else if (pname.
compare (
"ylim"))
2318 retval = get_ylim ();
2319 else if (pname.
compare (
"ylimmode"))
2320 retval = get_ylimmode ();
2321 else if (pname.
compare (
"yminorgrid"))
2322 retval = get_yminorgrid ();
2323 else if (pname.
compare (
"yminortick"))
2324 retval = get_yminortick ();
2325 else if (pname.
compare (
"yscale"))
2326 retval = get_yscale ();
2327 else if (pname.
compare (
"ytick"))
2328 retval = get_ytick ();
2329 else if (pname.
compare (
"yticklabel"))
2330 retval = get_yticklabel ();
2331 else if (pname.
compare (
"yticklabelmode"))
2332 retval = get_yticklabelmode ();
2333 else if (pname.
compare (
"yticklabelrotation"))
2334 retval = get_yticklabelrotation ();
2335 else if (pname.
compare (
"ytickmode"))
2336 retval = get_ytickmode ();
2337 else if (pname.
compare (
"zcolor"))
2338 retval = get_zcolor ();
2339 else if (pname.
compare (
"zcolormode"))
2340 retval = get_zcolormode ();
2341 else if (pname.
compare (
"zdir"))
2342 retval = get_zdir ();
2343 else if (pname.
compare (
"zgrid"))
2344 retval = get_zgrid ();
2345 else if (pname.
compare (
"zlabel"))
2346 retval = get_zlabel ().as_octave_value ();
2347 else if (pname.
compare (
"zlim"))
2348 retval = get_zlim ();
2349 else if (pname.
compare (
"zlimmode"))
2350 retval = get_zlimmode ();
2351 else if (pname.
compare (
"zminorgrid"))
2352 retval = get_zminorgrid ();
2353 else if (pname.
compare (
"zminortick"))
2354 retval = get_zminortick ();
2355 else if (pname.
compare (
"zscale"))
2356 retval = get_zscale ();
2357 else if (pname.
compare (
"ztick"))
2358 retval = get_ztick ();
2359 else if (pname.
compare (
"zticklabel"))
2360 retval = get_zticklabel ();
2361 else if (pname.
compare (
"zticklabelmode"))
2362 retval = get_zticklabelmode ();
2363 else if (pname.
compare (
"zticklabelrotation"))
2364 retval = get_zticklabelrotation ();
2365 else if (pname.
compare (
"ztickmode"))
2366 retval = get_ztickmode ();
2367 else if (pname.
compare (
"mousewheelzoom"))
2368 retval = get_mousewheelzoom ();
2369 else if (pname.
compare (
"autopos_tag"))
2370 retval = get_autopos_tag ();
2371 else if (pname.
compare (
"looseinset"))
2372 retval = get_looseinset ();
2373 else if (pname.
compare (
"x_viewtransform"))
2374 retval = get_x_viewtransform ();
2375 else if (pname.
compare (
"x_projectiontransform"))
2376 retval = get_x_projectiontransform ();
2377 else if (pname.
compare (
"x_viewporttransform"))
2378 retval = get_x_viewporttransform ();
2379 else if (pname.
compare (
"x_normrendertransform"))
2380 retval = get_x_normrendertransform ();
2381 else if (pname.
compare (
"x_rendertransform"))
2382 retval = get_x_rendertransform ();
2383 else if (pname.
compare (
"xmtick"))
2384 retval = get_xmtick ();
2385 else if (pname.
compare (
"ymtick"))
2386 retval = get_ymtick ();
2387 else if (pname.
compare (
"zmtick"))
2388 retval = get_zmtick ();
2389 else if (pname.
compare (
"fontsize_points"))
2390 retval = get_fontsize_points ();
2400 const std::set<std::string>& pnames = all_property_names ();
2404 if (pname.
compare (
"activepositionproperty"))
2405 return property (&activepositionproperty,
true);
2406 else if (pname.
compare (
"alim"))
2408 else if (pname.
compare (
"alimmode"))
2410 else if (pname.
compare (
"ambientlightcolor"))
2411 return property (&ambientlightcolor,
true);
2412 else if (pname.
compare (
"box"))
2414 else if (pname.
compare (
"boxstyle"))
2416 else if (pname.
compare (
"cameraposition"))
2417 return property (&cameraposition,
true);
2418 else if (pname.
compare (
"camerapositionmode"))
2419 return property (&camerapositionmode,
true);
2420 else if (pname.
compare (
"cameratarget"))
2421 return property (&cameratarget,
true);
2422 else if (pname.
compare (
"cameratargetmode"))
2423 return property (&cameratargetmode,
true);
2424 else if (pname.
compare (
"cameraupvector"))
2425 return property (&cameraupvector,
true);
2426 else if (pname.
compare (
"cameraupvectormode"))
2427 return property (&cameraupvectormode,
true);
2428 else if (pname.
compare (
"cameraviewangle"))
2429 return property (&cameraviewangle,
true);
2430 else if (pname.
compare (
"cameraviewanglemode"))
2431 return property (&cameraviewanglemode,
true);
2432 else if (pname.
compare (
"clim"))
2434 else if (pname.
compare (
"climmode"))
2436 else if (pname.
compare (
"clippingstyle"))
2437 return property (&clippingstyle,
true);
2438 else if (pname.
compare (
"color"))
2440 else if (pname.
compare (
"colororder"))
2441 return property (&colororder,
true);
2442 else if (pname.
compare (
"colororderindex"))
2443 return property (&colororderindex,
true);
2444 else if (pname.
compare (
"currentpoint"))
2445 return property (¤tpoint,
true);
2446 else if (pname.
compare (
"dataaspectratio"))
2447 return property (&dataaspectratio,
true);
2448 else if (pname.
compare (
"dataaspectratiomode"))
2449 return property (&dataaspectratiomode,
true);
2450 else if (pname.
compare (
"drawmode"))
2452 else if (pname.
compare (
"fontangle"))
2453 return property (&fontangle,
true);
2454 else if (pname.
compare (
"fontname"))
2456 else if (pname.
compare (
"fontsize"))
2458 else if (pname.
compare (
"fontunits"))
2459 return property (&fontunits,
true);
2460 else if (pname.
compare (
"fontsmoothing"))
2461 return property (&fontsmoothing,
true);
2462 else if (pname.
compare (
"fontweight"))
2463 return property (&fontweight,
true);
2464 else if (pname.
compare (
"gridalpha"))
2465 return property (&gridalpha,
true);
2466 else if (pname.
compare (
"gridalphamode"))
2467 return property (&gridalphamode,
true);
2468 else if (pname.
compare (
"gridcolor"))
2469 return property (&gridcolor,
true);
2470 else if (pname.
compare (
"gridcolormode"))
2471 return property (&gridcolormode,
true);
2472 else if (pname.
compare (
"gridlinestyle"))
2473 return property (&gridlinestyle,
true);
2474 else if (pname.
compare (
"labelfontsizemultiplier"))
2475 return property (&labelfontsizemultiplier,
true);
2476 else if (pname.
compare (
"layer"))
2478 else if (pname.
compare (
"linestyleorder"))
2479 return property (&linestyleorder,
true);
2480 else if (pname.
compare (
"linestyleorderindex"))
2481 return property (&linestyleorderindex,
true);
2482 else if (pname.
compare (
"linewidth"))
2483 return property (&linewidth,
true);
2484 else if (pname.
compare (
"minorgridalpha"))
2485 return property (&minorgridalpha,
true);
2486 else if (pname.
compare (
"minorgridalphamode"))
2487 return property (&minorgridalphamode,
true);
2488 else if (pname.
compare (
"minorgridcolor"))
2489 return property (&minorgridcolor,
true);
2490 else if (pname.
compare (
"minorgridcolormode"))
2491 return property (&minorgridcolormode,
true);
2492 else if (pname.
compare (
"minorgridlinestyle"))
2493 return property (&minorgridlinestyle,
true);
2494 else if (pname.
compare (
"nextplot"))
2496 else if (pname.
compare (
"outerposition"))
2497 return property (&outerposition,
true);
2498 else if (pname.
compare (
"plotboxaspectratio"))
2499 return property (&plotboxaspectratio,
true);
2500 else if (pname.
compare (
"plotboxaspectratiomode"))
2501 return property (&plotboxaspectratiomode,
true);
2502 else if (pname.
compare (
"pickableparts"))
2503 return property (&pickableparts,
true);
2504 else if (pname.
compare (
"position"))
2506 else if (pname.
compare (
"projection"))
2507 return property (&projection,
true);
2508 else if (pname.
compare (
"sortmethod"))
2509 return property (&sortmethod,
true);
2510 else if (pname.
compare (
"tickdir"))
2512 else if (pname.
compare (
"tickdirmode"))
2513 return property (&tickdirmode,
true);
2514 else if (pname.
compare (
"ticklabelinterpreter"))
2515 return property (&ticklabelinterpreter,
true);
2516 else if (pname.
compare (
"ticklength"))
2517 return property (&ticklength,
true);
2518 else if (pname.
compare (
"tightinset"))
2519 return property (&tightinset,
true);
2520 else if (pname.
compare (
"title"))
2522 else if (pname.
compare (
"titlefontsizemultiplier"))
2523 return property (&titlefontsizemultiplier,
true);
2524 else if (pname.
compare (
"titlefontweight"))
2525 return property (&titlefontweight,
true);
2526 else if (pname.
compare (
"units"))
2528 else if (pname.
compare (
"view"))
2530 else if (pname.
compare (
"xaxislocation"))
2531 return property (&xaxislocation,
true);
2532 else if (pname.
compare (
"xcolor"))
2534 else if (pname.
compare (
"xcolormode"))
2535 return property (&xcolormode,
true);
2536 else if (pname.
compare (
"xdir"))
2538 else if (pname.
compare (
"xgrid"))
2540 else if (pname.
compare (
"xlabel"))
2542 else if (pname.
compare (
"xlim"))
2544 else if (pname.
compare (
"xlimmode"))
2546 else if (pname.
compare (
"xminorgrid"))
2547 return property (&xminorgrid,
true);
2548 else if (pname.
compare (
"xminortick"))
2549 return property (&xminortick,
true);
2550 else if (pname.
compare (
"xscale"))
2552 else if (pname.
compare (
"xtick"))
2554 else if (pname.
compare (
"xticklabel"))
2555 return property (&xticklabel,
true);
2556 else if (pname.
compare (
"xticklabelmode"))
2557 return property (&xticklabelmode,
true);
2558 else if (pname.
compare (
"xticklabelrotation"))
2559 return property (&xticklabelrotation,
true);
2560 else if (pname.
compare (
"xtickmode"))
2561 return property (&xtickmode,
true);
2562 else if (pname.
compare (
"yaxislocation"))
2563 return property (&yaxislocation,
true);
2564 else if (pname.
compare (
"ycolor"))
2566 else if (pname.
compare (
"ycolormode"))
2567 return property (&ycolormode,
true);
2568 else if (pname.
compare (
"ydir"))
2570 else if (pname.
compare (
"ygrid"))
2572 else if (pname.
compare (
"ylabel"))
2574 else if (pname.
compare (
"ylim"))
2576 else if (pname.
compare (
"ylimmode"))
2578 else if (pname.
compare (
"yminorgrid"))
2579 return property (&yminorgrid,
true);
2580 else if (pname.
compare (
"yminortick"))
2581 return property (&yminortick,
true);
2582 else if (pname.
compare (
"yscale"))
2584 else if (pname.
compare (
"ytick"))
2586 else if (pname.
compare (
"yticklabel"))
2587 return property (&yticklabel,
true);
2588 else if (pname.
compare (
"yticklabelmode"))
2589 return property (&yticklabelmode,
true);
2590 else if (pname.
compare (
"yticklabelrotation"))
2591 return property (&yticklabelrotation,
true);
2592 else if (pname.
compare (
"ytickmode"))
2593 return property (&ytickmode,
true);
2594 else if (pname.
compare (
"zcolor"))
2596 else if (pname.
compare (
"zcolormode"))
2597 return property (&zcolormode,
true);
2598 else if (pname.
compare (
"zdir"))
2600 else if (pname.
compare (
"zgrid"))
2602 else if (pname.
compare (
"zlabel"))
2604 else if (pname.
compare (
"zlim"))
2606 else if (pname.
compare (
"zlimmode"))
2608 else if (pname.
compare (
"zminorgrid"))
2609 return property (&zminorgrid,
true);
2610 else if (pname.
compare (
"zminortick"))
2611 return property (&zminortick,
true);
2612 else if (pname.
compare (
"zscale"))
2614 else if (pname.
compare (
"ztick"))
2616 else if (pname.
compare (
"zticklabel"))
2617 return property (&zticklabel,
true);
2618 else if (pname.
compare (
"zticklabelmode"))
2619 return property (&zticklabelmode,
true);
2620 else if (pname.
compare (
"zticklabelrotation"))
2621 return property (&zticklabelrotation,
true);
2622 else if (pname.
compare (
"ztickmode"))
2623 return property (&ztickmode,
true);
2624 else if (pname.
compare (
"mousewheelzoom"))
2625 return property (&mousewheelzoom,
true);
2626 else if (pname.
compare (
"autopos_tag"))
2627 return property (&autopos_tag,
true);
2628 else if (pname.
compare (
"looseinset"))
2629 return property (&looseinset,
true);
2630 else if (pname.
compare (
"x_viewtransform"))
2631 return property (&x_viewtransform,
true);
2632 else if (pname.
compare (
"x_projectiontransform"))
2633 return property (&x_projectiontransform,
true);
2634 else if (pname.
compare (
"x_viewporttransform"))
2635 return property (&x_viewporttransform,
true);
2636 else if (pname.
compare (
"x_normrendertransform"))
2637 return property (&x_normrendertransform,
true);
2638 else if (pname.
compare (
"x_rendertransform"))
2639 return property (&x_rendertransform,
true);
2640 else if (pname.
compare (
"xmtick"))
2642 else if (pname.
compare (
"ymtick"))
2644 else if (pname.
compare (
"zmtick"))
2646 else if (pname.
compare (
"fontsize_points"))
2647 return property (&fontsize_points,
true);
2657 m[
"activepositionproperty"] =
"outerposition";
2659 m[
"alimmode"] =
"auto";
2662 m[
"boxstyle"] =
"back";
2663 m[
"cameraposition"] =
Matrix (1, 3, 0.0);
2664 m[
"camerapositionmode"] =
"auto";
2665 m[
"cameratarget"] =
Matrix (1, 3, 0.0);
2666 m[
"cameratargetmode"] =
"auto";
2667 m[
"cameraupvector"] =
Matrix (1, 3, 0.0);
2668 m[
"cameraupvectormode"] =
"auto";
2669 m[
"cameraviewangle"] = 6.6086;
2670 m[
"cameraviewanglemode"] =
"auto";
2672 m[
"climmode"] =
"auto";
2673 m[
"clippingstyle"] =
"3dbox";
2676 m[
"colororderindex"] = 1.0;
2677 m[
"currentpoint"] =
Matrix (2, 3, 0.0);
2678 m[
"dataaspectratio"] =
Matrix (1, 3, 1.0);
2679 m[
"dataaspectratiomode"] =
"auto";
2680 m[
"drawmode"] =
"normal";
2681 m[
"fontangle"] =
"normal";
2684 m[
"fontunits"] =
"points";
2685 m[
"fontsmoothing"] =
"on";
2686 m[
"fontweight"] =
"normal";
2687 m[
"gridalpha"] = 0.15;
2688 m[
"gridalphamode"] =
"auto";
2690 m[
"gridcolormode"] =
"auto";
2691 m[
"gridlinestyle"] =
"-";
2692 m[
"labelfontsizemultiplier"] = 1.1;
2693 m[
"layer"] =
"bottom";
2694 m[
"linestyleorder"] =
"-";
2695 m[
"linestyleorderindex"] = 1.0;
2696 m[
"linewidth"] = 0.5;
2697 m[
"minorgridalpha"] = 0.25;
2698 m[
"minorgridalphamode"] =
"auto";
2700 m[
"minorgridcolormode"] =
"auto";
2701 m[
"minorgridlinestyle"] =
":";
2702 m[
"nextplot"] =
"replace";
2704 m[
"plotboxaspectratio"] =
Matrix (1, 3, 1.0);
2705 m[
"plotboxaspectratiomode"] =
"auto";
2706 m[
"pickableparts"] =
"visible";
2708 m[
"projection"] =
"orthographic";
2709 m[
"sortmethod"] =
"depth";
2710 m[
"tickdir"] =
"in";
2711 m[
"tickdirmode"] =
"auto";
2712 m[
"ticklabelinterpreter"] =
"tex";
2714 m[
"tightinset"] =
Matrix (1, 4, 0.0);
2715 m[
"titlefontsizemultiplier"] = 1.1;
2716 m[
"titlefontweight"] =
"bold";
2717 m[
"units"] =
"normalized";
2719 m[
"xaxislocation"] =
"bottom";
2721 m[
"xcolormode"] =
"auto";
2722 m[
"xdir"] =
"normal";
2725 m[
"xlimmode"] =
"auto";
2726 m[
"xminorgrid"] =
"off";
2727 m[
"xminortick"] =
"off";
2728 m[
"xscale"] =
"linear";
2730 m[
"xticklabel"] =
"";
2731 m[
"xticklabelmode"] =
"auto";
2732 m[
"xticklabelrotation"] = 0.0;
2733 m[
"xtickmode"] =
"auto";
2734 m[
"yaxislocation"] =
"left";
2736 m[
"ycolormode"] =
"auto";
2737 m[
"ydir"] =
"normal";
2740 m[
"ylimmode"] =
"auto";
2741 m[
"yminorgrid"] =
"off";
2742 m[
"yminortick"] =
"off";
2743 m[
"yscale"] =
"linear";
2745 m[
"yticklabel"] =
"";
2746 m[
"yticklabelmode"] =
"auto";
2747 m[
"yticklabelrotation"] = 0.0;
2748 m[
"ytickmode"] =
"auto";
2750 m[
"zcolormode"] =
"auto";
2751 m[
"zdir"] =
"normal";
2754 m[
"zlimmode"] =
"auto";
2755 m[
"zminorgrid"] =
"off";
2756 m[
"zminortick"] =
"off";
2757 m[
"zscale"] =
"linear";
2759 m[
"zticklabel"] =
"";
2760 m[
"zticklabelmode"] =
"auto";
2761 m[
"zticklabelrotation"] = 0.0;
2762 m[
"ztickmode"] =
"auto";
2763 m[
"mousewheelzoom"] = 0.5;
2764 m[
"autopos_tag"] =
"none";
2765 m[
"looseinset"] =
Matrix (1, 4, 0.0);
2766 m[
"x_viewtransform"] =
Matrix (4, 4, 0.0);
2767 m[
"x_projectiontransform"] =
Matrix (4, 4, 0.0);
2768 m[
"x_viewporttransform"] =
Matrix (4, 4, 0.0);
2769 m[
"x_normrendertransform"] =
Matrix (4, 4, 0.0);
2770 m[
"x_rendertransform"] =
Matrix (4, 4, 0.0);
2774 m[
"fontsize_points"] = 0;
2781 std::set<std::string>
2784 static std::set<std::string> all_pnames;
2786 static bool initialized =
false;
2790 all_pnames.insert (
"activepositionproperty");
2791 all_pnames.insert (
"alim");
2792 all_pnames.insert (
"alimmode");
2793 all_pnames.insert (
"ambientlightcolor");
2794 all_pnames.insert (
"box");
2795 all_pnames.insert (
"boxstyle");
2796 all_pnames.insert (
"cameraposition");
2797 all_pnames.insert (
"camerapositionmode");
2798 all_pnames.insert (
"cameratarget");
2799 all_pnames.insert (
"cameratargetmode");
2800 all_pnames.insert (
"cameraupvector");
2801 all_pnames.insert (
"cameraupvectormode");
2802 all_pnames.insert (
"cameraviewangle");
2803 all_pnames.insert (
"cameraviewanglemode");
2804 all_pnames.insert (
"clim");
2805 all_pnames.insert (
"climmode");
2806 all_pnames.insert (
"clippingstyle");
2807 all_pnames.insert (
"color");
2808 all_pnames.insert (
"colororder");
2809 all_pnames.insert (
"colororderindex");
2810 all_pnames.insert (
"currentpoint");
2811 all_pnames.insert (
"dataaspectratio");
2812 all_pnames.insert (
"dataaspectratiomode");
2813 all_pnames.insert (
"drawmode");
2814 all_pnames.insert (
"fontangle");
2815 all_pnames.insert (
"fontname");
2816 all_pnames.insert (
"fontsize");
2817 all_pnames.insert (
"fontunits");
2818 all_pnames.insert (
"fontsmoothing");
2819 all_pnames.insert (
"fontweight");
2820 all_pnames.insert (
"gridalpha");
2821 all_pnames.insert (
"gridalphamode");
2822 all_pnames.insert (
"gridcolor");
2823 all_pnames.insert (
"gridcolormode");
2824 all_pnames.insert (
"gridlinestyle");
2825 all_pnames.insert (
"labelfontsizemultiplier");
2826 all_pnames.insert (
"layer");
2827 all_pnames.insert (
"linestyleorder");
2828 all_pnames.insert (
"linestyleorderindex");
2829 all_pnames.insert (
"linewidth");
2830 all_pnames.insert (
"minorgridalpha");
2831 all_pnames.insert (
"minorgridalphamode");
2832 all_pnames.insert (
"minorgridcolor");
2833 all_pnames.insert (
"minorgridcolormode");
2834 all_pnames.insert (
"minorgridlinestyle");
2835 all_pnames.insert (
"nextplot");
2836 all_pnames.insert (
"outerposition");
2837 all_pnames.insert (
"plotboxaspectratio");
2838 all_pnames.insert (
"plotboxaspectratiomode");
2839 all_pnames.insert (
"pickableparts");
2840 all_pnames.insert (
"position");
2841 all_pnames.insert (
"projection");
2842 all_pnames.insert (
"sortmethod");
2843 all_pnames.insert (
"tickdir");
2844 all_pnames.insert (
"tickdirmode");
2845 all_pnames.insert (
"ticklabelinterpreter");
2846 all_pnames.insert (
"ticklength");
2847 all_pnames.insert (
"tightinset");
2848 all_pnames.insert (
"title");
2849 all_pnames.insert (
"titlefontsizemultiplier");
2850 all_pnames.insert (
"titlefontweight");
2851 all_pnames.insert (
"units");
2852 all_pnames.insert (
"view");
2853 all_pnames.insert (
"xaxislocation");
2854 all_pnames.insert (
"xcolor");
2855 all_pnames.insert (
"xcolormode");
2856 all_pnames.insert (
"xdir");
2857 all_pnames.insert (
"xgrid");
2858 all_pnames.insert (
"xlabel");
2859 all_pnames.insert (
"xlim");
2860 all_pnames.insert (
"xlimmode");
2861 all_pnames.insert (
"xminorgrid");
2862 all_pnames.insert (
"xminortick");
2863 all_pnames.insert (
"xscale");
2864 all_pnames.insert (
"xtick");
2865 all_pnames.insert (
"xticklabel");
2866 all_pnames.insert (
"xticklabelmode");
2867 all_pnames.insert (
"xticklabelrotation");
2868 all_pnames.insert (
"xtickmode");
2869 all_pnames.insert (
"yaxislocation");
2870 all_pnames.insert (
"ycolor");
2871 all_pnames.insert (
"ycolormode");
2872 all_pnames.insert (
"ydir");
2873 all_pnames.insert (
"ygrid");
2874 all_pnames.insert (
"ylabel");
2875 all_pnames.insert (
"ylim");
2876 all_pnames.insert (
"ylimmode");
2877 all_pnames.insert (
"yminorgrid");
2878 all_pnames.insert (
"yminortick");
2879 all_pnames.insert (
"yscale");
2880 all_pnames.insert (
"ytick");
2881 all_pnames.insert (
"yticklabel");
2882 all_pnames.insert (
"yticklabelmode");
2883 all_pnames.insert (
"yticklabelrotation");
2884 all_pnames.insert (
"ytickmode");
2885 all_pnames.insert (
"zcolor");
2886 all_pnames.insert (
"zcolormode");
2887 all_pnames.insert (
"zdir");
2888 all_pnames.insert (
"zgrid");
2889 all_pnames.insert (
"zlabel");
2890 all_pnames.insert (
"zlim");
2891 all_pnames.insert (
"zlimmode");
2892 all_pnames.insert (
"zminorgrid");
2893 all_pnames.insert (
"zminortick");
2894 all_pnames.insert (
"zscale");
2895 all_pnames.insert (
"ztick");
2896 all_pnames.insert (
"zticklabel");
2897 all_pnames.insert (
"zticklabelmode");
2898 all_pnames.insert (
"zticklabelrotation");
2899 all_pnames.insert (
"ztickmode");
2900 all_pnames.insert (
"mousewheelzoom");
2901 all_pnames.insert (
"autopos_tag");
2902 all_pnames.insert (
"looseinset");
2903 all_pnames.insert (
"x_viewtransform");
2904 all_pnames.insert (
"x_projectiontransform");
2905 all_pnames.insert (
"x_viewporttransform");
2906 all_pnames.insert (
"x_normrendertransform");
2907 all_pnames.insert (
"x_rendertransform");
2908 all_pnames.insert (
"xmtick");
2909 all_pnames.insert (
"ymtick");
2910 all_pnames.insert (
"zmtick");
2911 all_pnames.insert (
"fontsize_points");
2914 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
2925 std::set<std::string> pnames = core_property_names ();
2927 return pnames.find (pname) != pnames.end ();
2930 std::set<std::string>
2933 static std::set<std::string> all_pnames;
2935 static bool initialized =
false;
2939 all_pnames.insert (
"tightinset");
2940 all_pnames.insert (
"fontsize_points");
2943 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
2954 std::set<std::string> pnames = readonly_property_names ();
2956 return pnames.find (pname) != pnames.end ();
2959 std::set<std::string>
2962 static std::set<std::string> all_pnames = core_property_names ();
2964 std::set<std::string>
retval = all_pnames;
2966 retval.insert (base_props.begin (), base_props.end ());
2974 std::set<std::string> pnames = all_property_names ();
2976 return pnames.find (pname) != pnames.end ();
2984 displayname (
"displayname", mh,
""),
2985 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
2986 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
2987 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
2988 linewidth (
"linewidth", mh, 0.5),
2989 marker (
"marker", mh,
"{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"),
2992 markersize (
"markersize", mh, 6),
2994 xdatasource (
"xdatasource", mh,
""),
2996 ydatasource (
"ydatasource", mh,
""),
2997 zdata (
"zdata", mh,
Matrix ()),
2998 zdatasource (
"zdatasource", mh,
""),
2999 xlim (
"xlim", mh,
Matrix ()),
3000 ylim (
"ylim", mh,
Matrix ()),
3001 zlim (
"zlim", mh,
Matrix ()),
3002 xliminclude (
"xliminclude", mh,
"on"),
3003 yliminclude (
"yliminclude", mh,
"on"),
3004 zliminclude (
"zliminclude", mh,
"off")
3041 const std::set<std::string>& pnames = all_property_names ();
3047 error (
"set: \"%s\" is read-only", pname.c_str ());
3053 else if (pname.
compare (
"displayname"))
3054 set_displayname (val);
3055 else if (pname.
compare (
"erasemode"))
3056 set_erasemode (val);
3057 else if (pname.
compare (
"interpreter"))
3058 set_interpreter (val);
3059 else if (pname.
compare (
"linestyle"))
3060 set_linestyle (val);
3061 else if (pname.
compare (
"linewidth"))
3062 set_linewidth (val);
3063 else if (pname.
compare (
"marker"))
3065 else if (pname.
compare (
"markeredgecolor"))
3066 set_markeredgecolor (val);
3067 else if (pname.
compare (
"markerfacecolor"))
3068 set_markerfacecolor (val);
3069 else if (pname.
compare (
"markersize"))
3070 set_markersize (val);
3071 else if (pname.
compare (
"xdata"))
3073 else if (pname.
compare (
"xdatasource"))
3074 set_xdatasource (val);
3075 else if (pname.
compare (
"ydata"))
3077 else if (pname.
compare (
"ydatasource"))
3078 set_ydatasource (val);
3079 else if (pname.
compare (
"zdata"))
3081 else if (pname.
compare (
"zdatasource"))
3082 set_zdatasource (val);
3083 else if (pname.
compare (
"xliminclude"))
3084 set_xliminclude (val);
3085 else if (pname.
compare (
"yliminclude"))
3086 set_yliminclude (val);
3087 else if (pname.
compare (
"zliminclude"))
3088 set_zliminclude (val);
3136 const std::set<std::string>& pnames = all_property_names ();
3141 retval = get_color ();
3142 else if (pname.
compare (
"displayname"))
3143 retval = get_displayname ();
3144 else if (pname.
compare (
"erasemode"))
3145 retval = get_erasemode ();
3146 else if (pname.
compare (
"interpreter"))
3147 retval = get_interpreter ();
3148 else if (pname.
compare (
"linestyle"))
3149 retval = get_linestyle ();
3150 else if (pname.
compare (
"linewidth"))
3151 retval = get_linewidth ();
3152 else if (pname.
compare (
"marker"))
3153 retval = get_marker ();
3154 else if (pname.
compare (
"markeredgecolor"))
3155 retval = get_markeredgecolor ();
3156 else if (pname.
compare (
"markerfacecolor"))
3157 retval = get_markerfacecolor ();
3158 else if (pname.
compare (
"markersize"))
3159 retval = get_markersize ();
3160 else if (pname.
compare (
"xdata"))
3161 retval = get_xdata ();
3162 else if (pname.
compare (
"xdatasource"))
3163 retval = get_xdatasource ();
3164 else if (pname.
compare (
"ydata"))
3165 retval = get_ydata ();
3166 else if (pname.
compare (
"ydatasource"))
3167 retval = get_ydatasource ();
3168 else if (pname.
compare (
"zdata"))
3169 retval = get_zdata ();
3170 else if (pname.
compare (
"zdatasource"))
3171 retval = get_zdatasource ();
3172 else if (pname.
compare (
"xlim"))
3173 retval = get_xlim ();
3174 else if (pname.
compare (
"ylim"))
3175 retval = get_ylim ();
3176 else if (pname.
compare (
"zlim"))
3177 retval = get_zlim ();
3178 else if (pname.
compare (
"xliminclude"))
3179 retval = get_xliminclude ();
3180 else if (pname.
compare (
"yliminclude"))
3181 retval = get_yliminclude ();
3182 else if (pname.
compare (
"zliminclude"))
3183 retval = get_zliminclude ();
3193 const std::set<std::string>& pnames = all_property_names ();
3199 else if (pname.
compare (
"displayname"))
3200 return property (&displayname,
true);
3201 else if (pname.
compare (
"erasemode"))
3202 return property (&erasemode,
true);
3203 else if (pname.
compare (
"interpreter"))
3204 return property (&interpreter,
true);
3205 else if (pname.
compare (
"linestyle"))
3206 return property (&linestyle,
true);
3207 else if (pname.
compare (
"linewidth"))
3208 return property (&linewidth,
true);
3209 else if (pname.
compare (
"marker"))
3211 else if (pname.
compare (
"markeredgecolor"))
3212 return property (&markeredgecolor,
true);
3213 else if (pname.
compare (
"markerfacecolor"))
3214 return property (&markerfacecolor,
true);
3215 else if (pname.
compare (
"markersize"))
3216 return property (&markersize,
true);
3217 else if (pname.
compare (
"xdata"))
3219 else if (pname.
compare (
"xdatasource"))
3220 return property (&xdatasource,
true);
3221 else if (pname.
compare (
"ydata"))
3223 else if (pname.
compare (
"ydatasource"))
3224 return property (&ydatasource,
true);
3225 else if (pname.
compare (
"zdata"))
3227 else if (pname.
compare (
"zdatasource"))
3228 return property (&zdatasource,
true);
3229 else if (pname.
compare (
"xlim"))
3231 else if (pname.
compare (
"ylim"))
3233 else if (pname.
compare (
"zlim"))
3235 else if (pname.
compare (
"xliminclude"))
3236 return property (&xliminclude,
true);
3237 else if (pname.
compare (
"yliminclude"))
3238 return property (&yliminclude,
true);
3239 else if (pname.
compare (
"zliminclude"))
3240 return property (&zliminclude,
true);
3251 m[
"displayname"] =
"";
3252 m[
"erasemode"] =
"normal";
3253 m[
"interpreter"] =
"tex";
3254 m[
"linestyle"] =
"-";
3255 m[
"linewidth"] = 0.5;
3256 m[
"marker"] =
"none";
3259 m[
"markersize"] = 6;
3261 m[
"xdatasource"] =
"";
3263 m[
"ydatasource"] =
"";
3265 m[
"zdatasource"] =
"";
3269 m[
"xliminclude"] =
"on";
3270 m[
"yliminclude"] =
"on";
3271 m[
"zliminclude"] =
"off";
3278 std::set<std::string>
3281 static std::set<std::string> all_pnames;
3283 static bool initialized =
false;
3287 all_pnames.insert (
"color");
3288 all_pnames.insert (
"displayname");
3289 all_pnames.insert (
"erasemode");
3290 all_pnames.insert (
"interpreter");
3291 all_pnames.insert (
"linestyle");
3292 all_pnames.insert (
"linewidth");
3293 all_pnames.insert (
"marker");
3294 all_pnames.insert (
"markeredgecolor");
3295 all_pnames.insert (
"markerfacecolor");
3296 all_pnames.insert (
"markersize");
3297 all_pnames.insert (
"xdata");
3298 all_pnames.insert (
"xdatasource");
3299 all_pnames.insert (
"ydata");
3300 all_pnames.insert (
"ydatasource");
3301 all_pnames.insert (
"zdata");
3302 all_pnames.insert (
"zdatasource");
3303 all_pnames.insert (
"xlim");
3304 all_pnames.insert (
"ylim");
3305 all_pnames.insert (
"zlim");
3306 all_pnames.insert (
"xliminclude");
3307 all_pnames.insert (
"yliminclude");
3308 all_pnames.insert (
"zliminclude");
3311 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3322 std::set<std::string> pnames = core_property_names ();
3324 return pnames.find (pname) != pnames.end ();
3327 std::set<std::string>
3330 static std::set<std::string> all_pnames;
3332 static bool initialized =
false;
3336 all_pnames.insert (
"xlim");
3337 all_pnames.insert (
"ylim");
3338 all_pnames.insert (
"zlim");
3341 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3352 std::set<std::string> pnames = readonly_property_names ();
3354 return pnames.find (pname) != pnames.end ();
3357 std::set<std::string>
3360 static std::set<std::string> all_pnames = core_property_names ();
3362 std::set<std::string>
retval = all_pnames;
3364 retval.insert (base_props.begin (), base_props.end ());
3372 std::set<std::string> pnames = all_property_names ();
3374 return pnames.find (pname) != pnames.end ();
3383 displayname (
"displayname", mh,
""),
3385 editing (
"editing", mh,
"off"),
3386 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
3387 extent (
"extent", mh,
Matrix (1, 4, 0.0)),
3388 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
3390 fontsize (
"fontsize", mh, 10),
3391 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
3392 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
3393 horizontalalignment (
"horizontalalignment", mh,
"{left}|center|right"),
3394 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
3395 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
3396 linewidth (
"linewidth", mh, 0.5),
3397 margin (
"margin", mh, 2),
3398 position (
"position", mh,
Matrix (1, 3, 0.0)),
3399 rotation (
"rotation", mh, 0),
3400 string (
"string", mh,
""),
3401 units (
"units", mh,
"{data}|pixels|normalized|inches|centimeters|points"),
3402 verticalalignment (
"verticalalignment", mh,
"top|cap|{middle}|baseline|bottom"),
3403 xlim (
"xlim", mh,
Matrix ()),
3404 ylim (
"ylim", mh,
Matrix ()),
3405 zlim (
"zlim", mh,
Matrix ()),
3406 xliminclude (
"xliminclude", mh,
"off"),
3407 yliminclude (
"yliminclude", mh,
"off"),
3408 zliminclude (
"zliminclude", mh,
"off"),
3409 positionmode (
"positionmode", mh,
"{auto}|manual"),
3410 rotationmode (
"rotationmode", mh,
"{auto}|manual"),
3411 horizontalalignmentmode (
"horizontalalignmentmode", mh,
"{auto}|manual"),
3412 verticalalignmentmode (
"verticalalignmentmode", mh,
"{auto}|manual"),
3413 autopos_tag (
"autopos_tag", mh,
"{none}|xlabel|ylabel|zlabel|title"),
3414 fontsize_points (
"fontsize_points", mh, 0)
3469 const std::set<std::string>& pnames = all_property_names ();
3475 error (
"set: \"%s\" is read-only", pname.c_str ());
3479 if (pname.
compare (
"backgroundcolor"))
3480 set_backgroundcolor (val);
3481 else if (pname.
compare (
"color"))
3483 else if (pname.
compare (
"displayname"))
3484 set_displayname (val);
3485 else if (pname.
compare (
"edgecolor"))
3486 set_edgecolor (val);
3487 else if (pname.
compare (
"editing"))
3489 else if (pname.
compare (
"erasemode"))
3490 set_erasemode (val);
3491 else if (pname.
compare (
"fontangle"))
3492 set_fontangle (val);
3493 else if (pname.
compare (
"fontname"))
3495 else if (pname.
compare (
"fontsize"))
3497 else if (pname.
compare (
"fontunits"))
3498 set_fontunits (val);
3499 else if (pname.
compare (
"fontweight"))
3500 set_fontweight (val);
3501 else if (pname.
compare (
"horizontalalignment"))
3502 set_horizontalalignment (val);
3503 else if (pname.
compare (
"interpreter"))
3504 set_interpreter (val);
3505 else if (pname.
compare (
"linestyle"))
3506 set_linestyle (val);
3507 else if (pname.
compare (
"linewidth"))
3508 set_linewidth (val);
3509 else if (pname.
compare (
"margin"))
3511 else if (pname.
compare (
"position"))
3513 else if (pname.
compare (
"rotation"))
3515 else if (pname.
compare (
"string"))
3517 else if (pname.
compare (
"units"))
3519 else if (pname.
compare (
"verticalalignment"))
3520 set_verticalalignment (val);
3521 else if (pname.
compare (
"xliminclude"))
3522 set_xliminclude (val);
3523 else if (pname.
compare (
"yliminclude"))
3524 set_yliminclude (val);
3525 else if (pname.
compare (
"zliminclude"))
3526 set_zliminclude (val);
3527 else if (pname.
compare (
"positionmode"))
3528 set_positionmode (val);
3529 else if (pname.
compare (
"rotationmode"))
3530 set_rotationmode (val);
3531 else if (pname.
compare (
"horizontalalignmentmode"))
3532 set_horizontalalignmentmode (val);
3533 else if (pname.
compare (
"verticalalignmentmode"))
3534 set_verticalalignmentmode (val);
3535 else if (pname.
compare (
"autopos_tag"))
3536 set_autopos_tag (val);
3602 const std::set<std::string>& pnames = all_property_names ();
3606 if (pname.
compare (
"backgroundcolor"))
3607 retval = get_backgroundcolor ();
3608 else if (pname.
compare (
"color"))
3609 retval = get_color ();
3610 else if (pname.
compare (
"displayname"))
3611 retval = get_displayname ();
3612 else if (pname.
compare (
"edgecolor"))
3613 retval = get_edgecolor ();
3614 else if (pname.
compare (
"editing"))
3615 retval = get_editing ();
3616 else if (pname.
compare (
"erasemode"))
3617 retval = get_erasemode ();
3618 else if (pname.
compare (
"extent"))
3619 retval = get_extent ();
3620 else if (pname.
compare (
"fontangle"))
3621 retval = get_fontangle ();
3622 else if (pname.
compare (
"fontname"))
3623 retval = get_fontname ();
3624 else if (pname.
compare (
"fontsize"))
3625 retval = get_fontsize ();
3626 else if (pname.
compare (
"fontunits"))
3627 retval = get_fontunits ();
3628 else if (pname.
compare (
"fontweight"))
3629 retval = get_fontweight ();
3630 else if (pname.
compare (
"horizontalalignment"))
3631 retval = get_horizontalalignment ();
3632 else if (pname.
compare (
"interpreter"))
3633 retval = get_interpreter ();
3634 else if (pname.
compare (
"linestyle"))
3635 retval = get_linestyle ();
3636 else if (pname.
compare (
"linewidth"))
3637 retval = get_linewidth ();
3638 else if (pname.
compare (
"margin"))
3639 retval = get_margin ();
3640 else if (pname.
compare (
"position"))
3641 retval = get_position ();
3642 else if (pname.
compare (
"rotation"))
3643 retval = get_rotation ();
3644 else if (pname.
compare (
"string"))
3645 retval = get_string ();
3646 else if (pname.
compare (
"units"))
3647 retval = get_units ();
3648 else if (pname.
compare (
"verticalalignment"))
3649 retval = get_verticalalignment ();
3650 else if (pname.
compare (
"xlim"))
3651 retval = get_xlim ();
3652 else if (pname.
compare (
"ylim"))
3653 retval = get_ylim ();
3654 else if (pname.
compare (
"zlim"))
3655 retval = get_zlim ();
3656 else if (pname.
compare (
"xliminclude"))
3657 retval = get_xliminclude ();
3658 else if (pname.
compare (
"yliminclude"))
3659 retval = get_yliminclude ();
3660 else if (pname.
compare (
"zliminclude"))
3661 retval = get_zliminclude ();
3662 else if (pname.
compare (
"positionmode"))
3663 retval = get_positionmode ();
3664 else if (pname.
compare (
"rotationmode"))
3665 retval = get_rotationmode ();
3666 else if (pname.
compare (
"horizontalalignmentmode"))
3667 retval = get_horizontalalignmentmode ();
3668 else if (pname.
compare (
"verticalalignmentmode"))
3669 retval = get_verticalalignmentmode ();
3670 else if (pname.
compare (
"autopos_tag"))
3671 retval = get_autopos_tag ();
3672 else if (pname.
compare (
"fontsize_points"))
3673 retval = get_fontsize_points ();
3683 const std::set<std::string>& pnames = all_property_names ();
3687 if (pname.
compare (
"backgroundcolor"))
3688 return property (&backgroundcolor,
true);
3689 else if (pname.
compare (
"color"))
3691 else if (pname.
compare (
"displayname"))
3692 return property (&displayname,
true);
3693 else if (pname.
compare (
"edgecolor"))
3694 return property (&edgecolor,
true);
3695 else if (pname.
compare (
"editing"))
3697 else if (pname.
compare (
"erasemode"))
3698 return property (&erasemode,
true);
3699 else if (pname.
compare (
"extent"))
3701 else if (pname.
compare (
"fontangle"))
3702 return property (&fontangle,
true);
3703 else if (pname.
compare (
"fontname"))
3705 else if (pname.
compare (
"fontsize"))
3707 else if (pname.
compare (
"fontunits"))
3708 return property (&fontunits,
true);
3709 else if (pname.
compare (
"fontweight"))
3710 return property (&fontweight,
true);
3711 else if (pname.
compare (
"horizontalalignment"))
3712 return property (&horizontalalignment,
true);
3713 else if (pname.
compare (
"interpreter"))
3714 return property (&interpreter,
true);
3715 else if (pname.
compare (
"linestyle"))
3716 return property (&linestyle,
true);
3717 else if (pname.
compare (
"linewidth"))
3718 return property (&linewidth,
true);
3719 else if (pname.
compare (
"margin"))
3721 else if (pname.
compare (
"position"))
3723 else if (pname.
compare (
"rotation"))
3725 else if (pname.
compare (
"string"))
3727 else if (pname.
compare (
"units"))
3729 else if (pname.
compare (
"verticalalignment"))
3730 return property (&verticalalignment,
true);
3731 else if (pname.
compare (
"xlim"))
3733 else if (pname.
compare (
"ylim"))
3735 else if (pname.
compare (
"zlim"))
3737 else if (pname.
compare (
"xliminclude"))
3738 return property (&xliminclude,
true);
3739 else if (pname.
compare (
"yliminclude"))
3740 return property (&yliminclude,
true);
3741 else if (pname.
compare (
"zliminclude"))
3742 return property (&zliminclude,
true);
3743 else if (pname.
compare (
"positionmode"))
3744 return property (&positionmode,
true);
3745 else if (pname.
compare (
"rotationmode"))
3746 return property (&rotationmode,
true);
3747 else if (pname.
compare (
"horizontalalignmentmode"))
3748 return property (&horizontalalignmentmode,
true);
3749 else if (pname.
compare (
"verticalalignmentmode"))
3750 return property (&verticalalignmentmode,
true);
3751 else if (pname.
compare (
"autopos_tag"))
3752 return property (&autopos_tag,
true);
3753 else if (pname.
compare (
"fontsize_points"))
3754 return property (&fontsize_points,
true);
3766 m[
"displayname"] =
"";
3768 m[
"editing"] =
"off";
3769 m[
"erasemode"] =
"normal";
3770 m[
"extent"] =
Matrix (1, 4, 0.0);
3771 m[
"fontangle"] =
"normal";
3774 m[
"fontunits"] =
"points";
3775 m[
"fontweight"] =
"normal";
3776 m[
"horizontalalignment"] =
"left";
3777 m[
"interpreter"] =
"tex";
3778 m[
"linestyle"] =
"-";
3779 m[
"linewidth"] = 0.5;
3781 m[
"position"] =
Matrix (1, 3, 0.0);
3784 m[
"units"] =
"data";
3785 m[
"verticalalignment"] =
"middle";
3789 m[
"xliminclude"] =
"off";
3790 m[
"yliminclude"] =
"off";
3791 m[
"zliminclude"] =
"off";
3792 m[
"positionmode"] =
"auto";
3793 m[
"rotationmode"] =
"auto";
3794 m[
"horizontalalignmentmode"] =
"auto";
3795 m[
"verticalalignmentmode"] =
"auto";
3796 m[
"autopos_tag"] =
"none";
3797 m[
"fontsize_points"] = 0;
3804 std::set<std::string>
3807 static std::set<std::string> all_pnames;
3809 static bool initialized =
false;
3813 all_pnames.insert (
"backgroundcolor");
3814 all_pnames.insert (
"color");
3815 all_pnames.insert (
"displayname");
3816 all_pnames.insert (
"edgecolor");
3817 all_pnames.insert (
"editing");
3818 all_pnames.insert (
"erasemode");
3819 all_pnames.insert (
"extent");
3820 all_pnames.insert (
"fontangle");
3821 all_pnames.insert (
"fontname");
3822 all_pnames.insert (
"fontsize");
3823 all_pnames.insert (
"fontunits");
3824 all_pnames.insert (
"fontweight");
3825 all_pnames.insert (
"horizontalalignment");
3826 all_pnames.insert (
"interpreter");
3827 all_pnames.insert (
"linestyle");
3828 all_pnames.insert (
"linewidth");
3829 all_pnames.insert (
"margin");
3830 all_pnames.insert (
"position");
3831 all_pnames.insert (
"rotation");
3832 all_pnames.insert (
"string");
3833 all_pnames.insert (
"units");
3834 all_pnames.insert (
"verticalalignment");
3835 all_pnames.insert (
"xlim");
3836 all_pnames.insert (
"ylim");
3837 all_pnames.insert (
"zlim");
3838 all_pnames.insert (
"xliminclude");
3839 all_pnames.insert (
"yliminclude");
3840 all_pnames.insert (
"zliminclude");
3841 all_pnames.insert (
"positionmode");
3842 all_pnames.insert (
"rotationmode");
3843 all_pnames.insert (
"horizontalalignmentmode");
3844 all_pnames.insert (
"verticalalignmentmode");
3845 all_pnames.insert (
"autopos_tag");
3846 all_pnames.insert (
"fontsize_points");
3849 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3860 std::set<std::string> pnames = core_property_names ();
3862 return pnames.find (pname) != pnames.end ();
3865 std::set<std::string>
3868 static std::set<std::string> all_pnames;
3870 static bool initialized =
false;
3874 all_pnames.insert (
"extent");
3875 all_pnames.insert (
"xlim");
3876 all_pnames.insert (
"ylim");
3877 all_pnames.insert (
"zlim");
3878 all_pnames.insert (
"fontsize_points");
3881 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3892 std::set<std::string> pnames = readonly_property_names ();
3894 return pnames.find (pname) != pnames.end ();
3897 std::set<std::string>
3900 static std::set<std::string> all_pnames = core_property_names ();
3902 std::set<std::string>
retval = all_pnames;
3904 retval.insert (base_props.begin (), base_props.end ());
3912 std::set<std::string> pnames = all_property_names ();
3914 return pnames.find (pname) != pnames.end ();
3921 alphadata (
"alphadata", mh,
Matrix (1, 1, 1.0)),
3922 alphadatamapping (
"alphadatamapping", mh,
"{none}|direct|scaled"),
3924 cdatamapping (
"cdatamapping", mh,
"scaled|{direct}"),
3925 displayname (
"displayname", mh,
""),
3926 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
3927 xdata (
"xdata", mh,
Matrix ()),
3928 ydata (
"ydata", mh,
Matrix ()),
3929 alim (
"alim", mh,
Matrix ()),
3930 clim (
"clim", mh,
Matrix ()),
3931 xlim (
"xlim", mh,
Matrix ()),
3932 ylim (
"ylim", mh,
Matrix ()),
3933 aliminclude (
"aliminclude", mh,
"on"),
3934 climinclude (
"climinclude", mh,
"on"),
3935 xliminclude (
"xliminclude", mh,
"on"),
3936 yliminclude (
"yliminclude", mh,
"on"),
3937 xdatamode (
"xdatamode", mh,
"{auto}|manual"),
3938 ydatamode (
"ydatamode", mh,
"{auto}|manual")
3975 const std::set<std::string>& pnames = all_property_names ();
3981 error (
"set: \"%s\" is read-only", pname.c_str ());
3985 if (pname.
compare (
"alphadata"))
3986 set_alphadata (val);
3987 else if (pname.
compare (
"alphadatamapping"))
3988 set_alphadatamapping (val);
3989 else if (pname.
compare (
"cdata"))
3991 else if (pname.
compare (
"cdatamapping"))
3992 set_cdatamapping (val);
3993 else if (pname.
compare (
"displayname"))
3994 set_displayname (val);
3995 else if (pname.
compare (
"erasemode"))
3996 set_erasemode (val);
3997 else if (pname.
compare (
"xdata"))
3999 else if (pname.
compare (
"ydata"))
4001 else if (pname.
compare (
"aliminclude"))
4002 set_aliminclude (val);
4003 else if (pname.
compare (
"climinclude"))
4004 set_climinclude (val);
4005 else if (pname.
compare (
"xliminclude"))
4006 set_xliminclude (val);
4007 else if (pname.
compare (
"yliminclude"))
4008 set_yliminclude (val);
4009 else if (pname.
compare (
"xdatamode"))
4010 set_xdatamode (val);
4011 else if (pname.
compare (
"ydatamode"))
4012 set_ydatamode (val);
4060 const std::set<std::string>& pnames = all_property_names ();
4064 if (pname.
compare (
"alphadata"))
4065 retval = get_alphadata ();
4066 else if (pname.
compare (
"alphadatamapping"))
4067 retval = get_alphadatamapping ();
4068 else if (pname.
compare (
"cdata"))
4069 retval = get_cdata ();
4070 else if (pname.
compare (
"cdatamapping"))
4071 retval = get_cdatamapping ();
4072 else if (pname.
compare (
"displayname"))
4073 retval = get_displayname ();
4074 else if (pname.
compare (
"erasemode"))
4075 retval = get_erasemode ();
4076 else if (pname.
compare (
"xdata"))
4077 retval = get_xdata ();
4078 else if (pname.
compare (
"ydata"))
4079 retval = get_ydata ();
4080 else if (pname.
compare (
"alim"))
4081 retval = get_alim ();
4082 else if (pname.
compare (
"clim"))
4083 retval = get_clim ();
4084 else if (pname.
compare (
"xlim"))
4085 retval = get_xlim ();
4086 else if (pname.
compare (
"ylim"))
4087 retval = get_ylim ();
4088 else if (pname.
compare (
"aliminclude"))
4089 retval = get_aliminclude ();
4090 else if (pname.
compare (
"climinclude"))
4091 retval = get_climinclude ();
4092 else if (pname.
compare (
"xliminclude"))
4093 retval = get_xliminclude ();
4094 else if (pname.
compare (
"yliminclude"))
4095 retval = get_yliminclude ();
4096 else if (pname.
compare (
"xdatamode"))
4097 retval = get_xdatamode ();
4098 else if (pname.
compare (
"ydatamode"))
4099 retval = get_ydatamode ();
4109 const std::set<std::string>& pnames = all_property_names ();
4113 if (pname.
compare (
"alphadata"))
4114 return property (&alphadata,
true);
4115 else if (pname.
compare (
"alphadatamapping"))
4116 return property (&alphadatamapping,
true);
4117 else if (pname.
compare (
"cdata"))
4119 else if (pname.
compare (
"cdatamapping"))
4120 return property (&cdatamapping,
true);
4121 else if (pname.
compare (
"displayname"))
4122 return property (&displayname,
true);
4123 else if (pname.
compare (
"erasemode"))
4124 return property (&erasemode,
true);
4125 else if (pname.
compare (
"xdata"))
4127 else if (pname.
compare (
"ydata"))
4129 else if (pname.
compare (
"alim"))
4131 else if (pname.
compare (
"clim"))
4133 else if (pname.
compare (
"xlim"))
4135 else if (pname.
compare (
"ylim"))
4137 else if (pname.
compare (
"aliminclude"))
4138 return property (&aliminclude,
true);
4139 else if (pname.
compare (
"climinclude"))
4140 return property (&climinclude,
true);
4141 else if (pname.
compare (
"xliminclude"))
4142 return property (&xliminclude,
true);
4143 else if (pname.
compare (
"yliminclude"))
4144 return property (&yliminclude,
true);
4145 else if (pname.
compare (
"xdatamode"))
4146 return property (&xdatamode,
true);
4147 else if (pname.
compare (
"ydatamode"))
4148 return property (&ydatamode,
true);
4158 m[
"alphadata"] =
Matrix (1, 1, 1.0);
4159 m[
"alphadatamapping"] =
"none";
4161 m[
"cdatamapping"] =
"direct";
4162 m[
"displayname"] =
"";
4163 m[
"erasemode"] =
"normal";
4170 m[
"aliminclude"] =
"on";
4171 m[
"climinclude"] =
"on";
4172 m[
"xliminclude"] =
"on";
4173 m[
"yliminclude"] =
"on";
4174 m[
"xdatamode"] =
"auto";
4175 m[
"ydatamode"] =
"auto";
4182 std::set<std::string>
4185 static std::set<std::string> all_pnames;
4187 static bool initialized =
false;
4191 all_pnames.insert (
"alphadata");
4192 all_pnames.insert (
"alphadatamapping");
4193 all_pnames.insert (
"cdata");
4194 all_pnames.insert (
"cdatamapping");
4195 all_pnames.insert (
"displayname");
4196 all_pnames.insert (
"erasemode");
4197 all_pnames.insert (
"xdata");
4198 all_pnames.insert (
"ydata");
4199 all_pnames.insert (
"alim");
4200 all_pnames.insert (
"clim");
4201 all_pnames.insert (
"xlim");
4202 all_pnames.insert (
"ylim");
4203 all_pnames.insert (
"aliminclude");
4204 all_pnames.insert (
"climinclude");
4205 all_pnames.insert (
"xliminclude");
4206 all_pnames.insert (
"yliminclude");
4207 all_pnames.insert (
"xdatamode");
4208 all_pnames.insert (
"ydatamode");
4211 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4222 std::set<std::string> pnames = core_property_names ();
4224 return pnames.find (pname) != pnames.end ();
4227 std::set<std::string>
4230 static std::set<std::string> all_pnames;
4232 static bool initialized =
false;
4236 all_pnames.insert (
"alim");
4237 all_pnames.insert (
"clim");
4238 all_pnames.insert (
"xlim");
4239 all_pnames.insert (
"ylim");
4242 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4253 std::set<std::string> pnames = readonly_property_names ();
4255 return pnames.find (pname) != pnames.end ();
4258 std::set<std::string>
4261 static std::set<std::string> all_pnames = core_property_names ();
4263 std::set<std::string>
retval = all_pnames;
4265 retval.insert (base_props.begin (), base_props.end ());
4273 std::set<std::string> pnames = all_property_names ();
4275 return pnames.find (pname) != pnames.end ();
4284 style (
"style", mh,
"{infinite}|local")
4295 const std::set<std::string>& pnames = all_property_names ();
4301 error (
"set: \"%s\" is read-only", pname.c_str ());
4307 else if (pname.
compare (
"position"))
4309 else if (pname.
compare (
"style"))
4332 const std::set<std::string>& pnames = all_property_names ();
4337 retval = get_color ();
4338 else if (pname.
compare (
"position"))
4339 retval = get_position ();
4340 else if (pname.
compare (
"style"))
4341 retval = get_style ();
4351 const std::set<std::string>& pnames = all_property_names ();
4357 else if (pname.
compare (
"position"))
4359 else if (pname.
compare (
"style"))
4372 m[
"style"] =
"infinite";
4379 std::set<std::string>
4382 static std::set<std::string> all_pnames;
4384 static bool initialized =
false;
4388 all_pnames.insert (
"color");
4389 all_pnames.insert (
"position");
4390 all_pnames.insert (
"style");
4393 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4404 std::set<std::string> pnames = core_property_names ();
4406 return pnames.find (pname) != pnames.end ();
4409 std::set<std::string>
4412 static std::set<std::string> all_pnames;
4414 static bool initialized =
false;
4420 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4431 std::set<std::string> pnames = readonly_property_names ();
4433 return pnames.find (pname) != pnames.end ();
4436 std::set<std::string>
4439 static std::set<std::string> all_pnames = core_property_names ();
4441 std::set<std::string>
retval = all_pnames;
4443 retval.insert (base_props.begin (), base_props.end ());
4451 std::set<std::string> pnames = all_property_names ();
4453 return pnames.find (pname) != pnames.end ();
4460 alphadatamapping (
"alphadatamapping", mh,
"none|{scaled}|direct"),
4461 ambientstrength (
"ambientstrength", mh, 0.3),
4462 backfacelighting (
"backfacelighting", mh,
"unlit|lit|{reverselit}"),
4463 cdata (
"cdata", mh,
Matrix ()),
4464 cdatamapping (
"cdatamapping", mh,
"{scaled}|direct"),
4465 diffusestrength (
"diffusestrength", mh, 0.6),
4466 displayname (
"displayname", mh,
""),
4469 edgelighting (
"edgelighting", mh,
"{none}|flat|gouraud|phong"),
4470 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
4473 facelighting (
"facelighting", mh,
"none|{flat}|gouraud|phong"),
4474 facenormals (
"facenormals", mh,
Matrix ()),
4475 facenormalsmode (
"facenormalsmode", mh,
"{auto}|manual"),
4477 facevertexalphadata (
"facevertexalphadata", mh,
Matrix ()),
4478 facevertexcdata (
"facevertexcdata", mh,
Matrix ()),
4479 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
4480 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
4481 linewidth (
"linewidth", mh, 0.5),
4482 marker (
"marker", mh,
"{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"),
4485 markersize (
"markersize", mh, 6),
4486 normalmode (
"normalmode", mh,
"{auto}|manual"),
4487 specularcolorreflectance (
"specularcolorreflectance", mh, 1.0),
4488 specularexponent (
"specularexponent", mh, 10.0),
4489 specularstrength (
"specularstrength", mh, 0.9),
4490 vertexnormals (
"vertexnormals", mh,
Matrix ()),
4491 vertexnormalsmode (
"vertexnormalsmode", mh,
"{auto}|manual"),
4495 zdata (
"zdata", mh,
Matrix ()),
4496 alim (
"alim", mh,
Matrix ()),
4497 clim (
"clim", mh,
Matrix ()),
4498 xlim (
"xlim", mh,
Matrix ()),
4499 ylim (
"ylim", mh,
Matrix ()),
4500 zlim (
"zlim", mh,
Matrix ()),
4501 aliminclude (
"aliminclude", mh,
"on"),
4502 climinclude (
"climinclude", mh,
"on"),
4503 xliminclude (
"xliminclude", mh,
"on"),
4504 yliminclude (
"yliminclude", mh,
"on"),
4505 zliminclude (
"zliminclude", mh,
"on")
4571 const std::set<std::string>& pnames = all_property_names ();
4577 error (
"set: \"%s\" is read-only", pname.c_str ());
4581 if (pname.
compare (
"alphadatamapping"))
4582 set_alphadatamapping (val);
4583 else if (pname.
compare (
"ambientstrength"))
4584 set_ambientstrength (val);
4585 else if (pname.
compare (
"backfacelighting"))
4586 set_backfacelighting (val);
4587 else if (pname.
compare (
"cdata"))
4589 else if (pname.
compare (
"cdatamapping"))
4590 set_cdatamapping (val);
4591 else if (pname.
compare (
"diffusestrength"))
4592 set_diffusestrength (val);
4593 else if (pname.
compare (
"displayname"))
4594 set_displayname (val);
4595 else if (pname.
compare (
"edgealpha"))
4596 set_edgealpha (val);
4597 else if (pname.
compare (
"edgecolor"))
4598 set_edgecolor (val);
4599 else if (pname.
compare (
"edgelighting"))
4600 set_edgelighting (val);
4601 else if (pname.
compare (
"erasemode"))
4602 set_erasemode (val);
4603 else if (pname.
compare (
"facealpha"))
4604 set_facealpha (val);
4605 else if (pname.
compare (
"facecolor"))
4606 set_facecolor (val);
4607 else if (pname.
compare (
"facelighting"))
4608 set_facelighting (val);
4609 else if (pname.
compare (
"facenormals"))
4610 set_facenormals (val);
4611 else if (pname.
compare (
"facenormalsmode"))
4612 set_facenormalsmode (val);
4613 else if (pname.
compare (
"faces"))
4615 else if (pname.
compare (
"facevertexalphadata"))
4616 set_facevertexalphadata (val);
4617 else if (pname.
compare (
"facevertexcdata"))
4618 set_facevertexcdata (val);
4619 else if (pname.
compare (
"interpreter"))
4620 set_interpreter (val);
4621 else if (pname.
compare (
"linestyle"))
4622 set_linestyle (val);
4623 else if (pname.
compare (
"linewidth"))
4624 set_linewidth (val);
4625 else if (pname.
compare (
"marker"))
4627 else if (pname.
compare (
"markeredgecolor"))
4628 set_markeredgecolor (val);
4629 else if (pname.
compare (
"markerfacecolor"))
4630 set_markerfacecolor (val);
4631 else if (pname.
compare (
"markersize"))
4632 set_markersize (val);
4633 else if (pname.
compare (
"normalmode"))
4634 set_normalmode (val);
4635 else if (pname.
compare (
"specularcolorreflectance"))
4636 set_specularcolorreflectance (val);
4637 else if (pname.
compare (
"specularexponent"))
4638 set_specularexponent (val);
4639 else if (pname.
compare (
"specularstrength"))
4640 set_specularstrength (val);
4641 else if (pname.
compare (
"vertexnormals"))
4642 set_vertexnormals (val);
4643 else if (pname.
compare (
"vertexnormalsmode"))
4644 set_vertexnormalsmode (val);
4645 else if (pname.
compare (
"vertices"))
4647 else if (pname.
compare (
"xdata"))
4649 else if (pname.
compare (
"ydata"))
4651 else if (pname.
compare (
"zdata"))
4653 else if (pname.
compare (
"aliminclude"))
4654 set_aliminclude (val);
4655 else if (pname.
compare (
"climinclude"))
4656 set_climinclude (val);
4657 else if (pname.
compare (
"xliminclude"))
4658 set_xliminclude (val);
4659 else if (pname.
compare (
"yliminclude"))
4660 set_yliminclude (val);
4661 else if (pname.
compare (
"zliminclude"))
4662 set_zliminclude (val);
4701 m.
assign (
"specularcolorreflectance",
octave_value (get_specularcolorreflectance ()));
4739 const std::set<std::string>& pnames = all_property_names ();
4743 if (pname.
compare (
"alphadatamapping"))
4744 retval = get_alphadatamapping ();
4745 else if (pname.
compare (
"ambientstrength"))
4746 retval = get_ambientstrength ();
4747 else if (pname.
compare (
"backfacelighting"))
4748 retval = get_backfacelighting ();
4749 else if (pname.
compare (
"cdata"))
4750 retval = get_cdata ();
4751 else if (pname.
compare (
"cdatamapping"))
4752 retval = get_cdatamapping ();
4753 else if (pname.
compare (
"diffusestrength"))
4754 retval = get_diffusestrength ();
4755 else if (pname.
compare (
"displayname"))
4756 retval = get_displayname ();
4757 else if (pname.
compare (
"edgealpha"))
4758 retval = get_edgealpha ();
4759 else if (pname.
compare (
"edgecolor"))
4760 retval = get_edgecolor ();
4761 else if (pname.
compare (
"edgelighting"))
4762 retval = get_edgelighting ();
4763 else if (pname.
compare (
"erasemode"))
4764 retval = get_erasemode ();
4765 else if (pname.
compare (
"facealpha"))
4766 retval = get_facealpha ();
4767 else if (pname.
compare (
"facecolor"))
4768 retval = get_facecolor ();
4769 else if (pname.
compare (
"facelighting"))
4770 retval = get_facelighting ();
4771 else if (pname.
compare (
"facenormals"))
4772 retval = get_facenormals ();
4773 else if (pname.
compare (
"facenormalsmode"))
4774 retval = get_facenormalsmode ();
4775 else if (pname.
compare (
"faces"))
4776 retval = get_faces ();
4777 else if (pname.
compare (
"facevertexalphadata"))
4778 retval = get_facevertexalphadata ();
4779 else if (pname.
compare (
"facevertexcdata"))
4780 retval = get_facevertexcdata ();
4781 else if (pname.
compare (
"interpreter"))
4782 retval = get_interpreter ();
4783 else if (pname.
compare (
"linestyle"))
4784 retval = get_linestyle ();
4785 else if (pname.
compare (
"linewidth"))
4786 retval = get_linewidth ();
4787 else if (pname.
compare (
"marker"))
4788 retval = get_marker ();
4789 else if (pname.
compare (
"markeredgecolor"))
4790 retval = get_markeredgecolor ();
4791 else if (pname.
compare (
"markerfacecolor"))
4792 retval = get_markerfacecolor ();
4793 else if (pname.
compare (
"markersize"))
4794 retval = get_markersize ();
4795 else if (pname.
compare (
"normalmode"))
4796 retval = get_normalmode ();
4797 else if (pname.
compare (
"specularcolorreflectance"))
4798 retval = get_specularcolorreflectance ();
4799 else if (pname.
compare (
"specularexponent"))
4800 retval = get_specularexponent ();
4801 else if (pname.
compare (
"specularstrength"))
4802 retval = get_specularstrength ();
4803 else if (pname.
compare (
"vertexnormals"))
4804 retval = get_vertexnormals ();
4805 else if (pname.
compare (
"vertexnormalsmode"))
4806 retval = get_vertexnormalsmode ();
4807 else if (pname.
compare (
"vertices"))
4808 retval = get_vertices ();
4809 else if (pname.
compare (
"xdata"))
4810 retval = get_xdata ();
4811 else if (pname.
compare (
"ydata"))
4812 retval = get_ydata ();
4813 else if (pname.
compare (
"zdata"))
4814 retval = get_zdata ();
4815 else if (pname.
compare (
"alim"))
4816 retval = get_alim ();
4817 else if (pname.
compare (
"clim"))
4818 retval = get_clim ();
4819 else if (pname.
compare (
"xlim"))
4820 retval = get_xlim ();
4821 else if (pname.
compare (
"ylim"))
4822 retval = get_ylim ();
4823 else if (pname.
compare (
"zlim"))
4824 retval = get_zlim ();
4825 else if (pname.
compare (
"aliminclude"))
4826 retval = get_aliminclude ();
4827 else if (pname.
compare (
"climinclude"))
4828 retval = get_climinclude ();
4829 else if (pname.
compare (
"xliminclude"))
4830 retval = get_xliminclude ();
4831 else if (pname.
compare (
"yliminclude"))
4832 retval = get_yliminclude ();
4833 else if (pname.
compare (
"zliminclude"))
4834 retval = get_zliminclude ();
4844 const std::set<std::string>& pnames = all_property_names ();
4848 if (pname.
compare (
"alphadatamapping"))
4849 return property (&alphadatamapping,
true);
4850 else if (pname.
compare (
"ambientstrength"))
4851 return property (&ambientstrength,
true);
4852 else if (pname.
compare (
"backfacelighting"))
4853 return property (&backfacelighting,
true);
4854 else if (pname.
compare (
"cdata"))
4856 else if (pname.
compare (
"cdatamapping"))
4857 return property (&cdatamapping,
true);
4858 else if (pname.
compare (
"diffusestrength"))
4859 return property (&diffusestrength,
true);
4860 else if (pname.
compare (
"displayname"))
4861 return property (&displayname,
true);
4862 else if (pname.
compare (
"edgealpha"))
4863 return property (&edgealpha,
true);
4864 else if (pname.
compare (
"edgecolor"))
4865 return property (&edgecolor,
true);
4866 else if (pname.
compare (
"edgelighting"))
4867 return property (&edgelighting,
true);
4868 else if (pname.
compare (
"erasemode"))
4869 return property (&erasemode,
true);
4870 else if (pname.
compare (
"facealpha"))
4871 return property (&facealpha,
true);
4872 else if (pname.
compare (
"facecolor"))
4873 return property (&facecolor,
true);
4874 else if (pname.
compare (
"facelighting"))
4875 return property (&facelighting,
true);
4876 else if (pname.
compare (
"facenormals"))
4877 return property (&facenormals,
true);
4878 else if (pname.
compare (
"facenormalsmode"))
4879 return property (&facenormalsmode,
true);
4880 else if (pname.
compare (
"faces"))
4882 else if (pname.
compare (
"facevertexalphadata"))
4883 return property (&facevertexalphadata,
true);
4884 else if (pname.
compare (
"facevertexcdata"))
4885 return property (&facevertexcdata,
true);
4886 else if (pname.
compare (
"interpreter"))
4887 return property (&interpreter,
true);
4888 else if (pname.
compare (
"linestyle"))
4889 return property (&linestyle,
true);
4890 else if (pname.
compare (
"linewidth"))
4891 return property (&linewidth,
true);
4892 else if (pname.
compare (
"marker"))
4894 else if (pname.
compare (
"markeredgecolor"))
4895 return property (&markeredgecolor,
true);
4896 else if (pname.
compare (
"markerfacecolor"))
4897 return property (&markerfacecolor,
true);
4898 else if (pname.
compare (
"markersize"))
4899 return property (&markersize,
true);
4900 else if (pname.
compare (
"normalmode"))
4901 return property (&normalmode,
true);
4902 else if (pname.
compare (
"specularcolorreflectance"))
4903 return property (&specularcolorreflectance,
true);
4904 else if (pname.
compare (
"specularexponent"))
4905 return property (&specularexponent,
true);
4906 else if (pname.
compare (
"specularstrength"))
4907 return property (&specularstrength,
true);
4908 else if (pname.
compare (
"vertexnormals"))
4909 return property (&vertexnormals,
true);
4910 else if (pname.
compare (
"vertexnormalsmode"))
4911 return property (&vertexnormalsmode,
true);
4912 else if (pname.
compare (
"vertices"))
4914 else if (pname.
compare (
"xdata"))
4916 else if (pname.
compare (
"ydata"))
4918 else if (pname.
compare (
"zdata"))
4920 else if (pname.
compare (
"alim"))
4922 else if (pname.
compare (
"clim"))
4924 else if (pname.
compare (
"xlim"))
4926 else if (pname.
compare (
"ylim"))
4928 else if (pname.
compare (
"zlim"))
4930 else if (pname.
compare (
"aliminclude"))
4931 return property (&aliminclude,
true);
4932 else if (pname.
compare (
"climinclude"))
4933 return property (&climinclude,
true);
4934 else if (pname.
compare (
"xliminclude"))
4935 return property (&xliminclude,
true);
4936 else if (pname.
compare (
"yliminclude"))
4937 return property (&yliminclude,
true);
4938 else if (pname.
compare (
"zliminclude"))
4939 return property (&zliminclude,
true);
4949 m[
"alphadatamapping"] =
"scaled";
4950 m[
"ambientstrength"] = 0.3;
4951 m[
"backfacelighting"] =
"reverselit";
4953 m[
"cdatamapping"] =
"scaled";
4954 m[
"diffusestrength"] = 0.6;
4955 m[
"displayname"] =
"";
4958 m[
"edgelighting"] =
"none";
4959 m[
"erasemode"] =
"normal";
4962 m[
"facelighting"] =
"flat";
4963 m[
"facenormals"] =
Matrix ();
4964 m[
"facenormalsmode"] =
"auto";
4966 m[
"facevertexalphadata"] =
Matrix ();
4967 m[
"facevertexcdata"] =
Matrix ();
4968 m[
"interpreter"] =
"tex";
4969 m[
"linestyle"] =
"-";
4970 m[
"linewidth"] = 0.5;
4971 m[
"marker"] =
"none";
4974 m[
"markersize"] = 6;
4975 m[
"normalmode"] =
"auto";
4976 m[
"specularcolorreflectance"] = 1.0;
4977 m[
"specularexponent"] = 10.0;
4978 m[
"specularstrength"] = 0.9;
4979 m[
"vertexnormals"] =
Matrix ();
4980 m[
"vertexnormalsmode"] =
"auto";
4990 m[
"aliminclude"] =
"on";
4991 m[
"climinclude"] =
"on";
4992 m[
"xliminclude"] =
"on";
4993 m[
"yliminclude"] =
"on";
4994 m[
"zliminclude"] =
"on";
5001 std::set<std::string>
5004 static std::set<std::string> all_pnames;
5006 static bool initialized =
false;
5010 all_pnames.insert (
"alphadatamapping");
5011 all_pnames.insert (
"ambientstrength");
5012 all_pnames.insert (
"backfacelighting");
5013 all_pnames.insert (
"cdata");
5014 all_pnames.insert (
"cdatamapping");
5015 all_pnames.insert (
"diffusestrength");
5016 all_pnames.insert (
"displayname");
5017 all_pnames.insert (
"edgealpha");
5018 all_pnames.insert (
"edgecolor");
5019 all_pnames.insert (
"edgelighting");
5020 all_pnames.insert (
"erasemode");
5021 all_pnames.insert (
"facealpha");
5022 all_pnames.insert (
"facecolor");
5023 all_pnames.insert (
"facelighting");
5024 all_pnames.insert (
"facenormals");
5025 all_pnames.insert (
"facenormalsmode");
5026 all_pnames.insert (
"faces");
5027 all_pnames.insert (
"facevertexalphadata");
5028 all_pnames.insert (
"facevertexcdata");
5029 all_pnames.insert (
"interpreter");
5030 all_pnames.insert (
"linestyle");
5031 all_pnames.insert (
"linewidth");
5032 all_pnames.insert (
"marker");
5033 all_pnames.insert (
"markeredgecolor");
5034 all_pnames.insert (
"markerfacecolor");
5035 all_pnames.insert (
"markersize");
5036 all_pnames.insert (
"normalmode");
5037 all_pnames.insert (
"specularcolorreflectance");
5038 all_pnames.insert (
"specularexponent");
5039 all_pnames.insert (
"specularstrength");
5040 all_pnames.insert (
"vertexnormals");
5041 all_pnames.insert (
"vertexnormalsmode");
5042 all_pnames.insert (
"vertices");
5043 all_pnames.insert (
"xdata");
5044 all_pnames.insert (
"ydata");
5045 all_pnames.insert (
"zdata");
5046 all_pnames.insert (
"alim");
5047 all_pnames.insert (
"clim");
5048 all_pnames.insert (
"xlim");
5049 all_pnames.insert (
"ylim");
5050 all_pnames.insert (
"zlim");
5051 all_pnames.insert (
"aliminclude");
5052 all_pnames.insert (
"climinclude");
5053 all_pnames.insert (
"xliminclude");
5054 all_pnames.insert (
"yliminclude");
5055 all_pnames.insert (
"zliminclude");
5058 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5069 std::set<std::string> pnames = core_property_names ();
5071 return pnames.find (pname) != pnames.end ();
5074 std::set<std::string>
5077 static std::set<std::string> all_pnames;
5079 static bool initialized =
false;
5083 all_pnames.insert (
"alim");
5084 all_pnames.insert (
"clim");
5085 all_pnames.insert (
"xlim");
5086 all_pnames.insert (
"ylim");
5087 all_pnames.insert (
"zlim");
5090 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5101 std::set<std::string> pnames = readonly_property_names ();
5103 return pnames.find (pname) != pnames.end ();
5106 std::set<std::string>
5109 static std::set<std::string> all_pnames = core_property_names ();
5111 std::set<std::string>
retval = all_pnames;
5113 retval.insert (base_props.begin (), base_props.end ());
5121 std::set<std::string> pnames = all_property_names ();
5123 return pnames.find (pname) != pnames.end ();
5130 alphadata (
"alphadata", mh,
Matrix (1, 1, 1.0)),
5131 alphadatamapping (
"alphadatamapping", mh,
"none|direct|{scaled}"),
5132 ambientstrength (
"ambientstrength", mh, 0.3),
5133 backfacelighting (
"backfacelighting", mh,
"unlit|lit|{reverselit}"),
5135 cdatamapping (
"cdatamapping", mh,
"{scaled}|direct"),
5136 cdatasource (
"cdatasource", mh,
""),
5137 diffusestrength (
"diffusestrength", mh, 0.6),
5138 displayname (
"displayname", mh,
""),
5141 edgelighting (
"edgelighting", mh,
"{none}|flat|gouraud|phong"),
5142 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
5145 facelighting (
"facelighting", mh,
"none|{flat}|gouraud|phong"),
5146 facenormals (
"facenormals", mh,
Matrix ()),
5147 facenormalsmode (
"facenormalsmode", mh,
"{auto}|manual"),
5148 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
5149 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
5150 linewidth (
"linewidth", mh, 0.5),
5151 marker (
"marker", mh,
"{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"),
5154 markersize (
"markersize", mh, 6),
5155 meshstyle (
"meshstyle", mh,
"{both}|row|column"),
5156 normalmode (
"normalmode", mh,
"{auto}|manual"),
5157 specularcolorreflectance (
"specularcolorreflectance", mh, 1),
5158 specularexponent (
"specularexponent", mh, 10),
5159 specularstrength (
"specularstrength", mh, 0.9),
5160 vertexnormals (
"vertexnormals", mh,
Matrix ()),
5161 vertexnormalsmode (
"vertexnormalsmode", mh,
"{auto}|manual"),
5163 xdatasource (
"xdatasource", mh,
""),
5165 ydatasource (
"ydatasource", mh,
""),
5167 zdatasource (
"zdatasource", mh,
""),
5168 alim (
"alim", mh,
Matrix ()),
5169 clim (
"clim", mh,
Matrix ()),
5170 xlim (
"xlim", mh,
Matrix ()),
5171 ylim (
"ylim", mh,
Matrix ()),
5172 zlim (
"zlim", mh,
Matrix ()),
5173 aliminclude (
"aliminclude", mh,
"on"),
5174 climinclude (
"climinclude", mh,
"on"),
5175 xliminclude (
"xliminclude", mh,
"on"),
5176 yliminclude (
"yliminclude", mh,
"on"),
5177 zliminclude (
"zliminclude", mh,
"on")
5245 const std::set<std::string>& pnames = all_property_names ();
5251 error (
"set: \"%s\" is read-only", pname.c_str ());
5255 if (pname.
compare (
"alphadata"))
5256 set_alphadata (val);
5257 else if (pname.
compare (
"alphadatamapping"))
5258 set_alphadatamapping (val);
5259 else if (pname.
compare (
"ambientstrength"))
5260 set_ambientstrength (val);
5261 else if (pname.
compare (
"backfacelighting"))
5262 set_backfacelighting (val);
5263 else if (pname.
compare (
"cdata"))
5265 else if (pname.
compare (
"cdatamapping"))
5266 set_cdatamapping (val);
5267 else if (pname.
compare (
"cdatasource"))
5268 set_cdatasource (val);
5269 else if (pname.
compare (
"diffusestrength"))
5270 set_diffusestrength (val);
5271 else if (pname.
compare (
"displayname"))
5272 set_displayname (val);
5273 else if (pname.
compare (
"edgealpha"))
5274 set_edgealpha (val);
5275 else if (pname.
compare (
"edgecolor"))
5276 set_edgecolor (val);
5277 else if (pname.
compare (
"edgelighting"))
5278 set_edgelighting (val);
5279 else if (pname.
compare (
"erasemode"))
5280 set_erasemode (val);
5281 else if (pname.
compare (
"facealpha"))
5282 set_facealpha (val);
5283 else if (pname.
compare (
"facecolor"))
5284 set_facecolor (val);
5285 else if (pname.
compare (
"facelighting"))
5286 set_facelighting (val);
5287 else if (pname.
compare (
"facenormals"))
5288 set_facenormals (val);
5289 else if (pname.
compare (
"facenormalsmode"))
5290 set_facenormalsmode (val);
5291 else if (pname.
compare (
"interpreter"))
5292 set_interpreter (val);
5293 else if (pname.
compare (
"linestyle"))
5294 set_linestyle (val);
5295 else if (pname.
compare (
"linewidth"))
5296 set_linewidth (val);
5297 else if (pname.
compare (
"marker"))
5299 else if (pname.
compare (
"markeredgecolor"))
5300 set_markeredgecolor (val);
5301 else if (pname.
compare (
"markerfacecolor"))
5302 set_markerfacecolor (val);
5303 else if (pname.
compare (
"markersize"))
5304 set_markersize (val);
5305 else if (pname.
compare (
"meshstyle"))
5306 set_meshstyle (val);
5307 else if (pname.
compare (
"normalmode"))
5308 set_normalmode (val);
5309 else if (pname.
compare (
"specularcolorreflectance"))
5310 set_specularcolorreflectance (val);
5311 else if (pname.
compare (
"specularexponent"))
5312 set_specularexponent (val);
5313 else if (pname.
compare (
"specularstrength"))
5314 set_specularstrength (val);
5315 else if (pname.
compare (
"vertexnormals"))
5316 set_vertexnormals (val);
5317 else if (pname.
compare (
"vertexnormalsmode"))
5318 set_vertexnormalsmode (val);
5319 else if (pname.
compare (
"xdata"))
5321 else if (pname.
compare (
"xdatasource"))
5322 set_xdatasource (val);
5323 else if (pname.
compare (
"ydata"))
5325 else if (pname.
compare (
"ydatasource"))
5326 set_ydatasource (val);
5327 else if (pname.
compare (
"zdata"))
5329 else if (pname.
compare (
"zdatasource"))
5330 set_zdatasource (val);
5331 else if (pname.
compare (
"aliminclude"))
5332 set_aliminclude (val);
5333 else if (pname.
compare (
"climinclude"))
5334 set_climinclude (val);
5335 else if (pname.
compare (
"xliminclude"))
5336 set_xliminclude (val);
5337 else if (pname.
compare (
"yliminclude"))
5338 set_yliminclude (val);
5339 else if (pname.
compare (
"zliminclude"))
5340 set_zliminclude (val);
5379 m.
assign (
"specularcolorreflectance",
octave_value (get_specularcolorreflectance ()));
5419 const std::set<std::string>& pnames = all_property_names ();
5423 if (pname.
compare (
"alphadata"))
5424 retval = get_alphadata ();
5425 else if (pname.
compare (
"alphadatamapping"))
5426 retval = get_alphadatamapping ();
5427 else if (pname.
compare (
"ambientstrength"))
5428 retval = get_ambientstrength ();
5429 else if (pname.
compare (
"backfacelighting"))
5430 retval = get_backfacelighting ();
5431 else if (pname.
compare (
"cdata"))
5432 retval = get_cdata ();
5433 else if (pname.
compare (
"cdatamapping"))
5434 retval = get_cdatamapping ();
5435 else if (pname.
compare (
"cdatasource"))
5436 retval = get_cdatasource ();
5437 else if (pname.
compare (
"diffusestrength"))
5438 retval = get_diffusestrength ();
5439 else if (pname.
compare (
"displayname"))
5440 retval = get_displayname ();
5441 else if (pname.
compare (
"edgealpha"))
5442 retval = get_edgealpha ();
5443 else if (pname.
compare (
"edgecolor"))
5444 retval = get_edgecolor ();
5445 else if (pname.
compare (
"edgelighting"))
5446 retval = get_edgelighting ();
5447 else if (pname.
compare (
"erasemode"))
5448 retval = get_erasemode ();
5449 else if (pname.
compare (
"facealpha"))
5450 retval = get_facealpha ();
5451 else if (pname.
compare (
"facecolor"))
5452 retval = get_facecolor ();
5453 else if (pname.
compare (
"facelighting"))
5454 retval = get_facelighting ();
5455 else if (pname.
compare (
"facenormals"))
5456 retval = get_facenormals ();
5457 else if (pname.
compare (
"facenormalsmode"))
5458 retval = get_facenormalsmode ();
5459 else if (pname.
compare (
"interpreter"))
5460 retval = get_interpreter ();
5461 else if (pname.
compare (
"linestyle"))
5462 retval = get_linestyle ();
5463 else if (pname.
compare (
"linewidth"))
5464 retval = get_linewidth ();
5465 else if (pname.
compare (
"marker"))
5466 retval = get_marker ();
5467 else if (pname.
compare (
"markeredgecolor"))
5468 retval = get_markeredgecolor ();
5469 else if (pname.
compare (
"markerfacecolor"))
5470 retval = get_markerfacecolor ();
5471 else if (pname.
compare (
"markersize"))
5472 retval = get_markersize ();
5473 else if (pname.
compare (
"meshstyle"))
5474 retval = get_meshstyle ();
5475 else if (pname.
compare (
"normalmode"))
5476 retval = get_normalmode ();
5477 else if (pname.
compare (
"specularcolorreflectance"))
5478 retval = get_specularcolorreflectance ();
5479 else if (pname.
compare (
"specularexponent"))
5480 retval = get_specularexponent ();
5481 else if (pname.
compare (
"specularstrength"))
5482 retval = get_specularstrength ();
5483 else if (pname.
compare (
"vertexnormals"))
5484 retval = get_vertexnormals ();
5485 else if (pname.
compare (
"vertexnormalsmode"))
5486 retval = get_vertexnormalsmode ();
5487 else if (pname.
compare (
"xdata"))
5488 retval = get_xdata ();
5489 else if (pname.
compare (
"xdatasource"))
5490 retval = get_xdatasource ();
5491 else if (pname.
compare (
"ydata"))
5492 retval = get_ydata ();
5493 else if (pname.
compare (
"ydatasource"))
5494 retval = get_ydatasource ();
5495 else if (pname.
compare (
"zdata"))
5496 retval = get_zdata ();
5497 else if (pname.
compare (
"zdatasource"))
5498 retval = get_zdatasource ();
5499 else if (pname.
compare (
"alim"))
5500 retval = get_alim ();
5501 else if (pname.
compare (
"clim"))
5502 retval = get_clim ();
5503 else if (pname.
compare (
"xlim"))
5504 retval = get_xlim ();
5505 else if (pname.
compare (
"ylim"))
5506 retval = get_ylim ();
5507 else if (pname.
compare (
"zlim"))
5508 retval = get_zlim ();
5509 else if (pname.
compare (
"aliminclude"))
5510 retval = get_aliminclude ();
5511 else if (pname.
compare (
"climinclude"))
5512 retval = get_climinclude ();
5513 else if (pname.
compare (
"xliminclude"))
5514 retval = get_xliminclude ();
5515 else if (pname.
compare (
"yliminclude"))
5516 retval = get_yliminclude ();
5517 else if (pname.
compare (
"zliminclude"))
5518 retval = get_zliminclude ();
5528 const std::set<std::string>& pnames = all_property_names ();
5532 if (pname.
compare (
"alphadata"))
5533 return property (&alphadata,
true);
5534 else if (pname.
compare (
"alphadatamapping"))
5535 return property (&alphadatamapping,
true);
5536 else if (pname.
compare (
"ambientstrength"))
5537 return property (&ambientstrength,
true);
5538 else if (pname.
compare (
"backfacelighting"))
5539 return property (&backfacelighting,
true);
5540 else if (pname.
compare (
"cdata"))
5542 else if (pname.
compare (
"cdatamapping"))
5543 return property (&cdatamapping,
true);
5544 else if (pname.
compare (
"cdatasource"))
5545 return property (&cdatasource,
true);
5546 else if (pname.
compare (
"diffusestrength"))
5547 return property (&diffusestrength,
true);
5548 else if (pname.
compare (
"displayname"))
5549 return property (&displayname,
true);
5550 else if (pname.
compare (
"edgealpha"))
5551 return property (&edgealpha,
true);
5552 else if (pname.
compare (
"edgecolor"))
5553 return property (&edgecolor,
true);
5554 else if (pname.
compare (
"edgelighting"))
5555 return property (&edgelighting,
true);
5556 else if (pname.
compare (
"erasemode"))
5557 return property (&erasemode,
true);
5558 else if (pname.
compare (
"facealpha"))
5559 return property (&facealpha,
true);
5560 else if (pname.
compare (
"facecolor"))
5561 return property (&facecolor,
true);
5562 else if (pname.
compare (
"facelighting"))
5563 return property (&facelighting,
true);
5564 else if (pname.
compare (
"facenormals"))
5565 return property (&facenormals,
true);
5566 else if (pname.
compare (
"facenormalsmode"))
5567 return property (&facenormalsmode,
true);
5568 else if (pname.
compare (
"interpreter"))
5569 return property (&interpreter,
true);
5570 else if (pname.
compare (
"linestyle"))
5571 return property (&linestyle,
true);
5572 else if (pname.
compare (
"linewidth"))
5573 return property (&linewidth,
true);
5574 else if (pname.
compare (
"marker"))
5576 else if (pname.
compare (
"markeredgecolor"))
5577 return property (&markeredgecolor,
true);
5578 else if (pname.
compare (
"markerfacecolor"))
5579 return property (&markerfacecolor,
true);
5580 else if (pname.
compare (
"markersize"))
5581 return property (&markersize,
true);
5582 else if (pname.
compare (
"meshstyle"))
5583 return property (&meshstyle,
true);
5584 else if (pname.
compare (
"normalmode"))
5585 return property (&normalmode,
true);
5586 else if (pname.
compare (
"specularcolorreflectance"))
5587 return property (&specularcolorreflectance,
true);
5588 else if (pname.
compare (
"specularexponent"))
5589 return property (&specularexponent,
true);
5590 else if (pname.
compare (
"specularstrength"))
5591 return property (&specularstrength,
true);
5592 else if (pname.
compare (
"vertexnormals"))
5593 return property (&vertexnormals,
true);
5594 else if (pname.
compare (
"vertexnormalsmode"))
5595 return property (&vertexnormalsmode,
true);
5596 else if (pname.
compare (
"xdata"))
5598 else if (pname.
compare (
"xdatasource"))
5599 return property (&xdatasource,
true);
5600 else if (pname.
compare (
"ydata"))
5602 else if (pname.
compare (
"ydatasource"))
5603 return property (&ydatasource,
true);
5604 else if (pname.
compare (
"zdata"))
5606 else if (pname.
compare (
"zdatasource"))
5607 return property (&zdatasource,
true);
5608 else if (pname.
compare (
"alim"))
5610 else if (pname.
compare (
"clim"))
5612 else if (pname.
compare (
"xlim"))
5614 else if (pname.
compare (
"ylim"))
5616 else if (pname.
compare (
"zlim"))
5618 else if (pname.
compare (
"aliminclude"))
5619 return property (&aliminclude,
true);
5620 else if (pname.
compare (
"climinclude"))
5621 return property (&climinclude,
true);
5622 else if (pname.
compare (
"xliminclude"))
5623 return property (&xliminclude,
true);
5624 else if (pname.
compare (
"yliminclude"))
5625 return property (&yliminclude,
true);
5626 else if (pname.
compare (
"zliminclude"))
5627 return property (&zliminclude,
true);
5637 m[
"alphadata"] =
Matrix (1, 1, 1.0);
5638 m[
"alphadatamapping"] =
"scaled";
5639 m[
"ambientstrength"] = 0.3;
5640 m[
"backfacelighting"] =
"reverselit";
5642 m[
"cdatamapping"] =
"scaled";
5643 m[
"cdatasource"] =
"";
5644 m[
"diffusestrength"] = 0.6;
5645 m[
"displayname"] =
"";
5648 m[
"edgelighting"] =
"none";
5649 m[
"erasemode"] =
"normal";
5652 m[
"facelighting"] =
"flat";
5653 m[
"facenormals"] =
Matrix ();
5654 m[
"facenormalsmode"] =
"auto";
5655 m[
"interpreter"] =
"tex";
5656 m[
"linestyle"] =
"-";
5657 m[
"linewidth"] = 0.5;
5658 m[
"marker"] =
"none";
5661 m[
"markersize"] = 6;
5662 m[
"meshstyle"] =
"both";
5663 m[
"normalmode"] =
"auto";
5664 m[
"specularcolorreflectance"] = 1;
5665 m[
"specularexponent"] = 10;
5666 m[
"specularstrength"] = 0.9;
5667 m[
"vertexnormals"] =
Matrix ();
5668 m[
"vertexnormalsmode"] =
"auto";
5670 m[
"xdatasource"] =
"";
5672 m[
"ydatasource"] =
"";
5674 m[
"zdatasource"] =
"";
5680 m[
"aliminclude"] =
"on";
5681 m[
"climinclude"] =
"on";
5682 m[
"xliminclude"] =
"on";
5683 m[
"yliminclude"] =
"on";
5684 m[
"zliminclude"] =
"on";
5691 std::set<std::string>
5694 static std::set<std::string> all_pnames;
5696 static bool initialized =
false;
5700 all_pnames.insert (
"alphadata");
5701 all_pnames.insert (
"alphadatamapping");
5702 all_pnames.insert (
"ambientstrength");
5703 all_pnames.insert (
"backfacelighting");
5704 all_pnames.insert (
"cdata");
5705 all_pnames.insert (
"cdatamapping");
5706 all_pnames.insert (
"cdatasource");
5707 all_pnames.insert (
"diffusestrength");
5708 all_pnames.insert (
"displayname");
5709 all_pnames.insert (
"edgealpha");
5710 all_pnames.insert (
"edgecolor");
5711 all_pnames.insert (
"edgelighting");
5712 all_pnames.insert (
"erasemode");
5713 all_pnames.insert (
"facealpha");
5714 all_pnames.insert (
"facecolor");
5715 all_pnames.insert (
"facelighting");
5716 all_pnames.insert (
"facenormals");
5717 all_pnames.insert (
"facenormalsmode");
5718 all_pnames.insert (
"interpreter");
5719 all_pnames.insert (
"linestyle");
5720 all_pnames.insert (
"linewidth");
5721 all_pnames.insert (
"marker");
5722 all_pnames.insert (
"markeredgecolor");
5723 all_pnames.insert (
"markerfacecolor");
5724 all_pnames.insert (
"markersize");
5725 all_pnames.insert (
"meshstyle");
5726 all_pnames.insert (
"normalmode");
5727 all_pnames.insert (
"specularcolorreflectance");
5728 all_pnames.insert (
"specularexponent");
5729 all_pnames.insert (
"specularstrength");
5730 all_pnames.insert (
"vertexnormals");
5731 all_pnames.insert (
"vertexnormalsmode");
5732 all_pnames.insert (
"xdata");
5733 all_pnames.insert (
"xdatasource");
5734 all_pnames.insert (
"ydata");
5735 all_pnames.insert (
"ydatasource");
5736 all_pnames.insert (
"zdata");
5737 all_pnames.insert (
"zdatasource");
5738 all_pnames.insert (
"alim");
5739 all_pnames.insert (
"clim");
5740 all_pnames.insert (
"xlim");
5741 all_pnames.insert (
"ylim");
5742 all_pnames.insert (
"zlim");
5743 all_pnames.insert (
"aliminclude");
5744 all_pnames.insert (
"climinclude");
5745 all_pnames.insert (
"xliminclude");
5746 all_pnames.insert (
"yliminclude");
5747 all_pnames.insert (
"zliminclude");
5750 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5761 std::set<std::string> pnames = core_property_names ();
5763 return pnames.find (pname) != pnames.end ();
5766 std::set<std::string>
5769 static std::set<std::string> all_pnames;
5771 static bool initialized =
false;
5775 all_pnames.insert (
"alim");
5776 all_pnames.insert (
"clim");
5777 all_pnames.insert (
"xlim");
5778 all_pnames.insert (
"ylim");
5779 all_pnames.insert (
"zlim");
5782 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5793 std::set<std::string> pnames = readonly_property_names ();
5795 return pnames.find (pname) != pnames.end ();
5798 std::set<std::string>
5801 static std::set<std::string> all_pnames = core_property_names ();
5803 std::set<std::string>
retval = all_pnames;
5805 retval.insert (base_props.begin (), base_props.end ());
5813 std::set<std::string> pnames = all_property_names ();
5815 return pnames.find (pname) != pnames.end ();
5822 displayname (
"displayname", mh,
""),
5823 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
5824 alim (
"alim", mh,
Matrix ()),
5825 clim (
"clim", mh,
Matrix ()),
5826 xlim (
"xlim", mh,
Matrix ()),
5827 ylim (
"ylim", mh,
Matrix ()),
5828 zlim (
"zlim", mh,
Matrix ()),
5829 aliminclude (
"aliminclude", mh,
"on"),
5830 climinclude (
"climinclude", mh,
"on"),
5831 xliminclude (
"xliminclude", mh,
"on"),
5832 yliminclude (
"yliminclude", mh,
"on"),
5833 zliminclude (
"zliminclude", mh,
"on")
5864 const std::set<std::string>& pnames = all_property_names ();
5870 error (
"set: \"%s\" is read-only", pname.c_str ());
5874 if (pname.
compare (
"displayname"))
5875 set_displayname (val);
5876 else if (pname.
compare (
"erasemode"))
5877 set_erasemode (val);
5878 else if (pname.
compare (
"aliminclude"))
5879 set_aliminclude (val);
5880 else if (pname.
compare (
"climinclude"))
5881 set_climinclude (val);
5882 else if (pname.
compare (
"xliminclude"))
5883 set_xliminclude (val);
5884 else if (pname.
compare (
"yliminclude"))
5885 set_yliminclude (val);
5886 else if (pname.
compare (
"zliminclude"))
5887 set_zliminclude (val);
5929 const std::set<std::string>& pnames = all_property_names ();
5933 if (pname.
compare (
"displayname"))
5934 retval = get_displayname ();
5935 else if (pname.
compare (
"erasemode"))
5936 retval = get_erasemode ();
5937 else if (pname.
compare (
"alim"))
5938 retval = get_alim ();
5939 else if (pname.
compare (
"clim"))
5940 retval = get_clim ();
5941 else if (pname.
compare (
"xlim"))
5942 retval = get_xlim ();
5943 else if (pname.
compare (
"ylim"))
5944 retval = get_ylim ();
5945 else if (pname.
compare (
"zlim"))
5946 retval = get_zlim ();
5947 else if (pname.
compare (
"aliminclude"))
5948 retval = get_aliminclude ();
5949 else if (pname.
compare (
"climinclude"))
5950 retval = get_climinclude ();
5951 else if (pname.
compare (
"xliminclude"))
5952 retval = get_xliminclude ();
5953 else if (pname.
compare (
"yliminclude"))
5954 retval = get_yliminclude ();
5955 else if (pname.
compare (
"zliminclude"))
5956 retval = get_zliminclude ();
5966 const std::set<std::string>& pnames = all_property_names ();
5970 if (pname.
compare (
"displayname"))
5971 return property (&displayname,
true);
5972 else if (pname.
compare (
"erasemode"))
5973 return property (&erasemode,
true);
5974 else if (pname.
compare (
"alim"))
5976 else if (pname.
compare (
"clim"))
5978 else if (pname.
compare (
"xlim"))
5980 else if (pname.
compare (
"ylim"))
5982 else if (pname.
compare (
"zlim"))
5984 else if (pname.
compare (
"aliminclude"))
5985 return property (&aliminclude,
true);
5986 else if (pname.
compare (
"climinclude"))
5987 return property (&climinclude,
true);
5988 else if (pname.
compare (
"xliminclude"))
5989 return property (&xliminclude,
true);
5990 else if (pname.
compare (
"yliminclude"))
5991 return property (&yliminclude,
true);
5992 else if (pname.
compare (
"zliminclude"))
5993 return property (&zliminclude,
true);
6003 m[
"displayname"] =
"";
6004 m[
"erasemode"] =
"normal";
6010 m[
"aliminclude"] =
"on";
6011 m[
"climinclude"] =
"on";
6012 m[
"xliminclude"] =
"on";
6013 m[
"yliminclude"] =
"on";
6014 m[
"zliminclude"] =
"on";
6021 std::set<std::string>
6024 static std::set<std::string> all_pnames;
6026 static bool initialized =
false;
6030 all_pnames.insert (
"displayname");
6031 all_pnames.insert (
"erasemode");
6032 all_pnames.insert (
"alim");
6033 all_pnames.insert (
"clim");
6034 all_pnames.insert (
"xlim");
6035 all_pnames.insert (
"ylim");
6036 all_pnames.insert (
"zlim");
6037 all_pnames.insert (
"aliminclude");
6038 all_pnames.insert (
"climinclude");
6039 all_pnames.insert (
"xliminclude");
6040 all_pnames.insert (
"yliminclude");
6041 all_pnames.insert (
"zliminclude");
6044 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6055 std::set<std::string> pnames = core_property_names ();
6057 return pnames.find (pname) != pnames.end ();
6060 std::set<std::string>
6063 static std::set<std::string> all_pnames;
6065 static bool initialized =
false;
6069 all_pnames.insert (
"alim");
6070 all_pnames.insert (
"clim");
6071 all_pnames.insert (
"xlim");
6072 all_pnames.insert (
"ylim");
6073 all_pnames.insert (
"zlim");
6076 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6087 std::set<std::string> pnames = readonly_property_names ();
6089 return pnames.find (pname) != pnames.end ();
6092 std::set<std::string>
6095 static std::set<std::string> all_pnames = core_property_names ();
6097 std::set<std::string>
retval = all_pnames;
6099 retval.insert (base_props.begin (), base_props.end ());
6107 std::set<std::string> pnames = all_property_names ();
6109 return pnames.find (pname) != pnames.end ();
6116 __object__ (
"__object__", mh,
Matrix ()),
6117 accelerator (
"accelerator", mh,
""),
6118 callback (
"callback", mh,
Matrix ()),
6119 checked (
"checked", mh,
"off"),
6120 enable (
"enable", mh,
"on"),
6121 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
6122 label (
"label", mh,
""),
6123 position (
"position", mh, 0),
6124 separator (
"separator", mh,
"off"),
6125 fltk_label (
"fltk_label", mh,
"")
6145 const std::set<std::string>& pnames = all_property_names ();
6151 error (
"set: \"%s\" is read-only", pname.c_str ());
6155 if (pname.
compare (
"__object__"))
6156 set___object__ (val);
6157 else if (pname.
compare (
"accelerator"))
6158 set_accelerator (val);
6159 else if (pname.
compare (
"callback"))
6161 else if (pname.
compare (
"checked"))
6163 else if (pname.
compare (
"enable"))
6165 else if (pname.
compare (
"foregroundcolor"))
6166 set_foregroundcolor (val);
6167 else if (pname.
compare (
"label"))
6169 else if (pname.
compare (
"position"))
6171 else if (pname.
compare (
"separator"))
6172 set_separator (val);
6173 else if (pname.
compare (
"fltk_label"))
6174 set_fltk_label (val);
6205 const std::set<std::string>& pnames = all_property_names ();
6209 if (pname.
compare (
"__object__"))
6210 retval = get___object__ ();
6211 else if (pname.
compare (
"accelerator"))
6212 retval = get_accelerator ();
6213 else if (pname.
compare (
"callback"))
6214 retval = get_callback ();
6215 else if (pname.
compare (
"checked"))
6216 retval = get_checked ();
6217 else if (pname.
compare (
"enable"))
6218 retval = get_enable ();
6219 else if (pname.
compare (
"foregroundcolor"))
6220 retval = get_foregroundcolor ();
6221 else if (pname.
compare (
"label"))
6222 retval = get_label ();
6223 else if (pname.
compare (
"position"))
6224 retval = get_position ();
6225 else if (pname.
compare (
"separator"))
6226 retval = get_separator ();
6227 else if (pname.
compare (
"fltk_label"))
6228 retval = get_fltk_label ();
6238 const std::set<std::string>& pnames = all_property_names ();
6242 if (pname.
compare (
"__object__"))
6243 return property (&__object__,
true);
6244 else if (pname.
compare (
"accelerator"))
6245 return property (&accelerator,
true);
6246 else if (pname.
compare (
"callback"))
6248 else if (pname.
compare (
"checked"))
6250 else if (pname.
compare (
"enable"))
6252 else if (pname.
compare (
"foregroundcolor"))
6253 return property (&foregroundcolor,
true);
6254 else if (pname.
compare (
"label"))
6256 else if (pname.
compare (
"position"))
6258 else if (pname.
compare (
"separator"))
6259 return property (&separator,
true);
6260 else if (pname.
compare (
"fltk_label"))
6261 return property (&fltk_label,
true);
6271 m[
"__object__"] =
Matrix ();
6272 m[
"accelerator"] =
"";
6273 m[
"callback"] =
Matrix ();
6274 m[
"checked"] =
"off";
6279 m[
"separator"] =
"off";
6280 m[
"fltk_label"] =
"";
6287 std::set<std::string>
6290 static std::set<std::string> all_pnames;
6292 static bool initialized =
false;
6296 all_pnames.insert (
"__object__");
6297 all_pnames.insert (
"accelerator");
6298 all_pnames.insert (
"callback");
6299 all_pnames.insert (
"checked");
6300 all_pnames.insert (
"enable");
6301 all_pnames.insert (
"foregroundcolor");
6302 all_pnames.insert (
"label");
6303 all_pnames.insert (
"position");
6304 all_pnames.insert (
"separator");
6305 all_pnames.insert (
"fltk_label");
6308 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6319 std::set<std::string> pnames = core_property_names ();
6321 return pnames.find (pname) != pnames.end ();
6324 std::set<std::string>
6327 static std::set<std::string> all_pnames;
6329 static bool initialized =
false;
6335 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6346 std::set<std::string> pnames = readonly_property_names ();
6348 return pnames.find (pname) != pnames.end ();
6351 std::set<std::string>
6354 static std::set<std::string> all_pnames = core_property_names ();
6356 std::set<std::string>
retval = all_pnames;
6358 retval.insert (base_props.begin (), base_props.end ());
6366 std::set<std::string> pnames = all_property_names ();
6368 return pnames.find (pname) != pnames.end ();
6375 __object__ (
"__object__", mh,
Matrix ()),
6376 callback (
"callback", mh,
Matrix ()),
6377 position (
"position", mh,
Matrix (1, 2, 0.0))
6389 const std::set<std::string>& pnames = all_property_names ();
6395 error (
"set: \"%s\" is read-only", pname.c_str ());
6399 if (pname.
compare (
"__object__"))
6400 set___object__ (val);
6401 else if (pname.
compare (
"callback"))
6403 else if (pname.
compare (
"position"))
6427 const std::set<std::string>& pnames = all_property_names ();
6431 if (pname.
compare (
"__object__"))
6432 retval = get___object__ ();
6433 else if (pname.
compare (
"callback"))
6434 retval = get_callback ();
6435 else if (pname.
compare (
"position"))
6436 retval = get_position ();
6446 const std::set<std::string>& pnames = all_property_names ();
6450 if (pname.
compare (
"__object__"))
6451 return property (&__object__,
true);
6452 else if (pname.
compare (
"callback"))
6454 else if (pname.
compare (
"position"))
6465 m[
"__object__"] =
Matrix ();
6466 m[
"callback"] =
Matrix ();
6467 m[
"position"] =
Matrix (1, 2, 0.0);
6474 std::set<std::string>
6477 static std::set<std::string> all_pnames;
6479 static bool initialized =
false;
6483 all_pnames.insert (
"__object__");
6484 all_pnames.insert (
"callback");
6485 all_pnames.insert (
"position");
6488 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6499 std::set<std::string> pnames = core_property_names ();
6501 return pnames.find (pname) != pnames.end ();
6504 std::set<std::string>
6507 static std::set<std::string> all_pnames;
6509 static bool initialized =
false;
6515 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6526 std::set<std::string> pnames = readonly_property_names ();
6528 return pnames.find (pname) != pnames.end ();
6531 std::set<std::string>
6534 static std::set<std::string> all_pnames = core_property_names ();
6536 std::set<std::string>
retval = all_pnames;
6538 retval.insert (base_props.begin (), base_props.end ());
6546 std::set<std::string> pnames = all_property_names ();
6548 return pnames.find (pname) != pnames.end ();
6555 __object__ (
"__object__", mh,
Matrix ()),
6556 backgroundcolor (
"backgroundcolor", mh,
color_values (1, 1, 1)),
6557 callback (
"callback", mh,
Matrix ()),
6558 cdata (
"cdata", mh,
Matrix ()),
6559 clipping (
"clipping", mh,
"on"),
6560 enable (
"enable", mh,
"{on}|inactive|off"),
6561 extent (
"extent", mh,
Matrix (1, 4, 0.0)),
6562 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
6564 fontsize (
"fontsize", mh, 10),
6565 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
6566 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
6567 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
6568 horizontalalignment (
"horizontalalignment", mh,
"left|{center}|right"),
6569 keypressfcn (
"keypressfcn", mh,
Matrix ()),
6570 listboxtop (
"listboxtop", mh, 1),
6575 string (
"string", mh,
""),
6576 style (
"style", mh,
"{pushbutton}|togglebutton|radiobutton|checkbox|edit|text|slider|frame|listbox|popupmenu"),
6577 tooltipstring (
"tooltipstring", mh,
""),
6578 units (
"units", mh,
"normalized|inches|centimeters|points|{pixels}|characters"),
6580 verticalalignment (
"verticalalignment", mh,
"top|{middle}|bottom")
6615 const std::set<std::string>& pnames = all_property_names ();
6621 error (
"set: \"%s\" is read-only", pname.c_str ());
6625 if (pname.
compare (
"__object__"))
6626 set___object__ (val);
6627 else if (pname.
compare (
"backgroundcolor"))
6628 set_backgroundcolor (val);
6629 else if (pname.
compare (
"callback"))
6631 else if (pname.
compare (
"cdata"))
6633 else if (pname.
compare (
"clipping"))
6635 else if (pname.
compare (
"enable"))
6637 else if (pname.
compare (
"fontangle"))
6638 set_fontangle (val);
6639 else if (pname.
compare (
"fontname"))
6641 else if (pname.
compare (
"fontsize"))
6643 else if (pname.
compare (
"fontunits"))
6644 set_fontunits (val);
6645 else if (pname.
compare (
"fontweight"))
6646 set_fontweight (val);
6647 else if (pname.
compare (
"foregroundcolor"))
6648 set_foregroundcolor (val);
6649 else if (pname.
compare (
"horizontalalignment"))
6650 set_horizontalalignment (val);
6651 else if (pname.
compare (
"keypressfcn"))
6652 set_keypressfcn (val);
6653 else if (pname.
compare (
"listboxtop"))
6654 set_listboxtop (val);
6655 else if (pname.
compare (
"max"))
6657 else if (pname.
compare (
"min"))
6659 else if (pname.
compare (
"position"))
6661 else if (pname.
compare (
"sliderstep"))
6662 set_sliderstep (val);
6663 else if (pname.
compare (
"string"))
6665 else if (pname.
compare (
"style"))
6667 else if (pname.
compare (
"tooltipstring"))
6668 set_tooltipstring (val);
6669 else if (pname.
compare (
"units"))
6671 else if (pname.
compare (
"value"))
6673 else if (pname.
compare (
"verticalalignment"))
6674 set_verticalalignment (val);
6720 const std::set<std::string>& pnames = all_property_names ();
6724 if (pname.
compare (
"__object__"))
6725 retval = get___object__ ();
6726 else if (pname.
compare (
"backgroundcolor"))
6727 retval = get_backgroundcolor ();
6728 else if (pname.
compare (
"callback"))
6729 retval = get_callback ();
6730 else if (pname.
compare (
"cdata"))
6731 retval = get_cdata ();
6732 else if (pname.
compare (
"clipping"))
6733 retval = get_clipping ();
6734 else if (pname.
compare (
"enable"))
6735 retval = get_enable ();
6736 else if (pname.
compare (
"extent"))
6737 retval = get_extent ();
6738 else if (pname.
compare (
"fontangle"))
6739 retval = get_fontangle ();
6740 else if (pname.
compare (
"fontname"))
6741 retval = get_fontname ();
6742 else if (pname.
compare (
"fontsize"))
6743 retval = get_fontsize ();
6744 else if (pname.
compare (
"fontunits"))
6745 retval = get_fontunits ();
6746 else if (pname.
compare (
"fontweight"))
6747 retval = get_fontweight ();
6748 else if (pname.
compare (
"foregroundcolor"))
6749 retval = get_foregroundcolor ();
6750 else if (pname.
compare (
"horizontalalignment"))
6751 retval = get_horizontalalignment ();
6752 else if (pname.
compare (
"keypressfcn"))
6753 retval = get_keypressfcn ();
6754 else if (pname.
compare (
"listboxtop"))
6755 retval = get_listboxtop ();
6756 else if (pname.
compare (
"max"))
6757 retval = get_max ();
6758 else if (pname.
compare (
"min"))
6759 retval = get_min ();
6760 else if (pname.
compare (
"position"))
6761 retval = get_position ();
6762 else if (pname.
compare (
"sliderstep"))
6763 retval = get_sliderstep ();
6764 else if (pname.
compare (
"string"))
6765 retval = get_string ();
6766 else if (pname.
compare (
"style"))
6767 retval = get_style ();
6768 else if (pname.
compare (
"tooltipstring"))
6769 retval = get_tooltipstring ();
6770 else if (pname.
compare (
"units"))
6771 retval = get_units ();
6772 else if (pname.
compare (
"value"))
6773 retval = get_value ();
6774 else if (pname.
compare (
"verticalalignment"))
6775 retval = get_verticalalignment ();
6785 const std::set<std::string>& pnames = all_property_names ();
6789 if (pname.
compare (
"__object__"))
6790 return property (&__object__,
true);
6791 else if (pname.
compare (
"backgroundcolor"))
6792 return property (&backgroundcolor,
true);
6793 else if (pname.
compare (
"callback"))
6795 else if (pname.
compare (
"cdata"))
6797 else if (pname.
compare (
"clipping"))
6799 else if (pname.
compare (
"enable"))
6801 else if (pname.
compare (
"extent"))
6803 else if (pname.
compare (
"fontangle"))
6804 return property (&fontangle,
true);
6805 else if (pname.
compare (
"fontname"))
6807 else if (pname.
compare (
"fontsize"))
6809 else if (pname.
compare (
"fontunits"))
6810 return property (&fontunits,
true);
6811 else if (pname.
compare (
"fontweight"))
6812 return property (&fontweight,
true);
6813 else if (pname.
compare (
"foregroundcolor"))
6814 return property (&foregroundcolor,
true);
6815 else if (pname.
compare (
"horizontalalignment"))
6816 return property (&horizontalalignment,
true);
6817 else if (pname.
compare (
"keypressfcn"))
6818 return property (&keypressfcn,
true);
6819 else if (pname.
compare (
"listboxtop"))
6820 return property (&listboxtop,
true);
6821 else if (pname.
compare (
"max"))
6823 else if (pname.
compare (
"min"))
6825 else if (pname.
compare (
"position"))
6827 else if (pname.
compare (
"sliderstep"))
6828 return property (&sliderstep,
true);
6829 else if (pname.
compare (
"string"))
6831 else if (pname.
compare (
"style"))
6833 else if (pname.
compare (
"tooltipstring"))
6834 return property (&tooltipstring,
true);
6835 else if (pname.
compare (
"units"))
6837 else if (pname.
compare (
"value"))
6839 else if (pname.
compare (
"verticalalignment"))
6840 return property (&verticalalignment,
true);
6850 m[
"__object__"] =
Matrix ();
6852 m[
"callback"] =
Matrix ();
6854 m[
"clipping"] =
"on";
6856 m[
"extent"] =
Matrix (1, 4, 0.0);
6857 m[
"fontangle"] =
"normal";
6860 m[
"fontunits"] =
"points";
6861 m[
"fontweight"] =
"normal";
6863 m[
"horizontalalignment"] =
"center";
6864 m[
"keypressfcn"] =
Matrix ();
6865 m[
"listboxtop"] = 1;
6871 m[
"style"] =
"pushbutton";
6872 m[
"tooltipstring"] =
"";
6873 m[
"units"] =
"pixels";
6874 m[
"value"] =
Matrix (1, 1, 0.0);
6875 m[
"verticalalignment"] =
"middle";
6882 std::set<std::string>
6885 static std::set<std::string> all_pnames;
6887 static bool initialized =
false;
6891 all_pnames.insert (
"__object__");
6892 all_pnames.insert (
"backgroundcolor");
6893 all_pnames.insert (
"callback");
6894 all_pnames.insert (
"cdata");
6895 all_pnames.insert (
"clipping");
6896 all_pnames.insert (
"enable");
6897 all_pnames.insert (
"extent");
6898 all_pnames.insert (
"fontangle");
6899 all_pnames.insert (
"fontname");
6900 all_pnames.insert (
"fontsize");
6901 all_pnames.insert (
"fontunits");
6902 all_pnames.insert (
"fontweight");
6903 all_pnames.insert (
"foregroundcolor");
6904 all_pnames.insert (
"horizontalalignment");
6905 all_pnames.insert (
"keypressfcn");
6906 all_pnames.insert (
"listboxtop");
6907 all_pnames.insert (
"max");
6908 all_pnames.insert (
"min");
6909 all_pnames.insert (
"position");
6910 all_pnames.insert (
"sliderstep");
6911 all_pnames.insert (
"string");
6912 all_pnames.insert (
"style");
6913 all_pnames.insert (
"tooltipstring");
6914 all_pnames.insert (
"units");
6915 all_pnames.insert (
"value");
6916 all_pnames.insert (
"verticalalignment");
6919 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6930 std::set<std::string> pnames = core_property_names ();
6932 return pnames.find (pname) != pnames.end ();
6935 std::set<std::string>
6938 static std::set<std::string> all_pnames;
6940 static bool initialized =
false;
6944 all_pnames.insert (
"extent");
6947 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6958 std::set<std::string> pnames = readonly_property_names ();
6960 return pnames.find (pname) != pnames.end ();
6963 std::set<std::string>
6966 static std::set<std::string> all_pnames = core_property_names ();
6968 std::set<std::string>
retval = all_pnames;
6970 retval.insert (base_props.begin (), base_props.end ());
6978 std::set<std::string> pnames = all_property_names ();
6980 return pnames.find (pname) != pnames.end ();
6987 __object__ (
"__object__", mh,
Matrix ()),
6988 backgroundcolor (
"backgroundcolor", mh,
color_values (1, 1, 1)),
6989 bordertype (
"bordertype", mh,
"none|{etchedin}|etchedout|beveledin|beveledout|line"),
6990 borderwidth (
"borderwidth", mh, 1),
6991 clipping (
"clipping", mh,
"on"),
6992 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
6994 fontsize (
"fontsize", mh, 10),
6995 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
6996 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
6997 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
6998 highlightcolor (
"highlightcolor", mh,
color_values (1, 1, 1)),
7000 resizefcn (
"resizefcn", mh,
Matrix ()),
7002 selectionchangedfcn (
"selectionchangedfcn", mh,
Matrix()),
7003 shadowcolor (
"shadowcolor", mh,
color_values (0, 0, 0)),
7004 sizechangedfcn (
"sizechangedfcn", mh,
Matrix ()),
7005 units (
"units", mh,
"{normalized}|inches|centimeters|points|pixels|characters"),
7006 title (
"title", mh,
""),
7007 titleposition (
"titleposition", mh,
"{lefttop}|centertop|righttop|leftbottom|centerbottom|rightbottom")
7037 const std::set<std::string>& pnames = all_property_names ();
7043 error (
"set: \"%s\" is read-only", pname.c_str ());
7047 if (pname.
compare (
"__object__"))
7048 set___object__ (val);
7049 else if (pname.
compare (
"backgroundcolor"))
7050 set_backgroundcolor (val);
7051 else if (pname.
compare (
"bordertype"))
7052 set_bordertype (val);
7053 else if (pname.
compare (
"borderwidth"))
7054 set_borderwidth (val);
7055 else if (pname.
compare (
"clipping"))
7057 else if (pname.
compare (
"fontangle"))
7058 set_fontangle (val);
7059 else if (pname.
compare (
"fontname"))
7061 else if (pname.
compare (
"fontsize"))
7063 else if (pname.
compare (
"fontunits"))
7064 set_fontunits (val);
7065 else if (pname.
compare (
"fontweight"))
7066 set_fontweight (val);
7067 else if (pname.
compare (
"foregroundcolor"))
7068 set_foregroundcolor (val);
7069 else if (pname.
compare (
"highlightcolor"))
7070 set_highlightcolor (val);
7071 else if (pname.
compare (
"position"))
7073 else if (pname.
compare (
"resizefcn"))
7074 set_resizefcn (val);
7075 else if (pname.
compare (
"selectedobject"))
7076 set_selectedobject (val);
7077 else if (pname.
compare (
"selectionchangedfcn"))
7078 set_selectionchangedfcn (val);
7079 else if (pname.
compare (
"shadowcolor"))
7080 set_shadowcolor (val);
7081 else if (pname.
compare (
"sizechangedfcn"))
7082 set_sizechangedfcn (val);
7083 else if (pname.
compare (
"units"))
7085 else if (pname.
compare (
"title"))
7087 else if (pname.
compare (
"titleposition"))
7088 set_titleposition (val);
7113 m.
assign (
"selectedobject",
octave_value (get_selectedobject ().as_octave_value ()));
7129 const std::set<std::string>& pnames = all_property_names ();
7133 if (pname.
compare (
"__object__"))
7134 retval = get___object__ ();
7135 else if (pname.
compare (
"backgroundcolor"))
7136 retval = get_backgroundcolor ();
7137 else if (pname.
compare (
"bordertype"))
7138 retval = get_bordertype ();
7139 else if (pname.
compare (
"borderwidth"))
7140 retval = get_borderwidth ();
7141 else if (pname.
compare (
"clipping"))
7142 retval = get_clipping ();
7143 else if (pname.
compare (
"fontangle"))
7144 retval = get_fontangle ();
7145 else if (pname.
compare (
"fontname"))
7146 retval = get_fontname ();
7147 else if (pname.
compare (
"fontsize"))
7148 retval = get_fontsize ();
7149 else if (pname.
compare (
"fontunits"))
7150 retval = get_fontunits ();
7151 else if (pname.
compare (
"fontweight"))
7152 retval = get_fontweight ();
7153 else if (pname.
compare (
"foregroundcolor"))
7154 retval = get_foregroundcolor ();
7155 else if (pname.
compare (
"highlightcolor"))
7156 retval = get_highlightcolor ();
7157 else if (pname.
compare (
"position"))
7158 retval = get_position ();
7159 else if (pname.
compare (
"resizefcn"))
7160 retval = get_resizefcn ();
7161 else if (pname.
compare (
"selectedobject"))
7162 retval = get_selectedobject ().as_octave_value ();
7163 else if (pname.
compare (
"selectionchangedfcn"))
7164 retval = get_selectionchangedfcn ();
7165 else if (pname.
compare (
"shadowcolor"))
7166 retval = get_shadowcolor ();
7167 else if (pname.
compare (
"sizechangedfcn"))
7168 retval = get_sizechangedfcn ();
7169 else if (pname.
compare (
"units"))
7170 retval = get_units ();
7171 else if (pname.
compare (
"title"))
7172 retval = get_title ();
7173 else if (pname.
compare (
"titleposition"))
7174 retval = get_titleposition ();
7184 const std::set<std::string>& pnames = all_property_names ();
7188 if (pname.
compare (
"__object__"))
7189 return property (&__object__,
true);
7190 else if (pname.
compare (
"backgroundcolor"))
7191 return property (&backgroundcolor,
true);
7192 else if (pname.
compare (
"bordertype"))
7193 return property (&bordertype,
true);
7194 else if (pname.
compare (
"borderwidth"))
7195 return property (&borderwidth,
true);
7196 else if (pname.
compare (
"clipping"))
7198 else if (pname.
compare (
"fontangle"))
7199 return property (&fontangle,
true);
7200 else if (pname.
compare (
"fontname"))
7202 else if (pname.
compare (
"fontsize"))
7204 else if (pname.
compare (
"fontunits"))
7205 return property (&fontunits,
true);
7206 else if (pname.
compare (
"fontweight"))
7207 return property (&fontweight,
true);
7208 else if (pname.
compare (
"foregroundcolor"))
7209 return property (&foregroundcolor,
true);
7210 else if (pname.
compare (
"highlightcolor"))
7211 return property (&highlightcolor,
true);
7212 else if (pname.
compare (
"position"))
7214 else if (pname.
compare (
"resizefcn"))
7215 return property (&resizefcn,
true);
7216 else if (pname.
compare (
"selectedobject"))
7217 return property (&selectedobject,
true);
7218 else if (pname.
compare (
"selectionchangedfcn"))
7219 return property (&selectionchangedfcn,
true);
7220 else if (pname.
compare (
"shadowcolor"))
7221 return property (&shadowcolor,
true);
7222 else if (pname.
compare (
"sizechangedfcn"))
7223 return property (&sizechangedfcn,
true);
7224 else if (pname.
compare (
"units"))
7226 else if (pname.
compare (
"title"))
7228 else if (pname.
compare (
"titleposition"))
7229 return property (&titleposition,
true);
7239 m[
"__object__"] =
Matrix ();
7241 m[
"bordertype"] =
"etchedin";
7242 m[
"borderwidth"] = 1;
7243 m[
"clipping"] =
"on";
7244 m[
"fontangle"] =
"normal";
7247 m[
"fontunits"] =
"points";
7248 m[
"fontweight"] =
"normal";
7252 m[
"resizefcn"] =
Matrix ();
7254 m[
"selectionchangedfcn"] =
Matrix();
7256 m[
"sizechangedfcn"] =
Matrix ();
7257 m[
"units"] =
"normalized";
7259 m[
"titleposition"] =
"lefttop";
7266 std::set<std::string>
7269 static std::set<std::string> all_pnames;
7271 static bool initialized =
false;
7275 all_pnames.insert (
"__object__");
7276 all_pnames.insert (
"backgroundcolor");
7277 all_pnames.insert (
"bordertype");
7278 all_pnames.insert (
"borderwidth");
7279 all_pnames.insert (
"clipping");
7280 all_pnames.insert (
"fontangle");
7281 all_pnames.insert (
"fontname");
7282 all_pnames.insert (
"fontsize");
7283 all_pnames.insert (
"fontunits");
7284 all_pnames.insert (
"fontweight");
7285 all_pnames.insert (
"foregroundcolor");
7286 all_pnames.insert (
"highlightcolor");
7287 all_pnames.insert (
"position");
7288 all_pnames.insert (
"resizefcn");
7289 all_pnames.insert (
"selectedobject");
7290 all_pnames.insert (
"selectionchangedfcn");
7291 all_pnames.insert (
"shadowcolor");
7292 all_pnames.insert (
"sizechangedfcn");
7293 all_pnames.insert (
"units");
7294 all_pnames.insert (
"title");
7295 all_pnames.insert (
"titleposition");
7298 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7309 std::set<std::string> pnames = core_property_names ();
7311 return pnames.find (pname) != pnames.end ();
7314 std::set<std::string>
7317 static std::set<std::string> all_pnames;
7319 static bool initialized =
false;
7325 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7336 std::set<std::string> pnames = readonly_property_names ();
7338 return pnames.find (pname) != pnames.end ();
7341 std::set<std::string>
7344 static std::set<std::string> all_pnames = core_property_names ();
7346 std::set<std::string>
retval = all_pnames;
7348 retval.insert (base_props.begin (), base_props.end ());
7356 std::set<std::string> pnames = all_property_names ();
7358 return pnames.find (pname) != pnames.end ();
7365 __object__ (
"__object__", mh,
Matrix ()),
7366 backgroundcolor (
"backgroundcolor", mh,
color_values (1, 1, 1)),
7367 bordertype (
"bordertype", mh,
"none|{etchedin}|etchedout|beveledin|beveledout|line"),
7368 borderwidth (
"borderwidth", mh, 1),
7369 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
7371 fontsize (
"fontsize", mh, 10),
7372 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
7373 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
7374 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
7375 highlightcolor (
"highlightcolor", mh,
color_values (1, 1, 1)),
7377 resizefcn (
"resizefcn", mh,
Matrix ()),
7378 shadowcolor (
"shadowcolor", mh,
color_values (0, 0, 0)),
7379 title (
"title", mh,
""),
7380 titleposition (
"titleposition", mh,
"{lefttop}|centertop|righttop|leftbottom|centerbottom|rightbottom"),
7381 units (
"units", mh,
"{normalized}|inches|centimeters|points|pixels|characters")
7407 const std::set<std::string>& pnames = all_property_names ();
7413 error (
"set: \"%s\" is read-only", pname.c_str ());
7417 if (pname.
compare (
"__object__"))
7418 set___object__ (val);
7419 else if (pname.
compare (
"backgroundcolor"))
7420 set_backgroundcolor (val);
7421 else if (pname.
compare (
"bordertype"))
7422 set_bordertype (val);
7423 else if (pname.
compare (
"borderwidth"))
7424 set_borderwidth (val);
7425 else if (pname.
compare (
"fontangle"))
7426 set_fontangle (val);
7427 else if (pname.
compare (
"fontname"))
7429 else if (pname.
compare (
"fontsize"))
7431 else if (pname.
compare (
"fontunits"))
7432 set_fontunits (val);
7433 else if (pname.
compare (
"fontweight"))
7434 set_fontweight (val);
7435 else if (pname.
compare (
"foregroundcolor"))
7436 set_foregroundcolor (val);
7437 else if (pname.
compare (
"highlightcolor"))
7438 set_highlightcolor (val);
7439 else if (pname.
compare (
"position"))
7441 else if (pname.
compare (
"resizefcn"))
7442 set_resizefcn (val);
7443 else if (pname.
compare (
"shadowcolor"))
7444 set_shadowcolor (val);
7445 else if (pname.
compare (
"title"))
7447 else if (pname.
compare (
"titleposition"))
7448 set_titleposition (val);
7449 else if (pname.
compare (
"units"))
7487 const std::set<std::string>& pnames = all_property_names ();
7491 if (pname.
compare (
"__object__"))
7492 retval = get___object__ ();
7493 else if (pname.
compare (
"backgroundcolor"))
7494 retval = get_backgroundcolor ();
7495 else if (pname.
compare (
"bordertype"))
7496 retval = get_bordertype ();
7497 else if (pname.
compare (
"borderwidth"))
7498 retval = get_borderwidth ();
7499 else if (pname.
compare (
"fontangle"))
7500 retval = get_fontangle ();
7501 else if (pname.
compare (
"fontname"))
7502 retval = get_fontname ();
7503 else if (pname.
compare (
"fontsize"))
7504 retval = get_fontsize ();
7505 else if (pname.
compare (
"fontunits"))
7506 retval = get_fontunits ();
7507 else if (pname.
compare (
"fontweight"))
7508 retval = get_fontweight ();
7509 else if (pname.
compare (
"foregroundcolor"))
7510 retval = get_foregroundcolor ();
7511 else if (pname.
compare (
"highlightcolor"))
7512 retval = get_highlightcolor ();
7513 else if (pname.
compare (
"position"))
7514 retval = get_position ();
7515 else if (pname.
compare (
"resizefcn"))
7516 retval = get_resizefcn ();
7517 else if (pname.
compare (
"shadowcolor"))
7518 retval = get_shadowcolor ();
7519 else if (pname.
compare (
"title"))
7520 retval = get_title ();
7521 else if (pname.
compare (
"titleposition"))
7522 retval = get_titleposition ();
7523 else if (pname.
compare (
"units"))
7524 retval = get_units ();
7534 const std::set<std::string>& pnames = all_property_names ();
7538 if (pname.
compare (
"__object__"))
7539 return property (&__object__,
true);
7540 else if (pname.
compare (
"backgroundcolor"))
7541 return property (&backgroundcolor,
true);
7542 else if (pname.
compare (
"bordertype"))
7543 return property (&bordertype,
true);
7544 else if (pname.
compare (
"borderwidth"))
7545 return property (&borderwidth,
true);
7546 else if (pname.
compare (
"fontangle"))
7547 return property (&fontangle,
true);
7548 else if (pname.
compare (
"fontname"))
7550 else if (pname.
compare (
"fontsize"))
7552 else if (pname.
compare (
"fontunits"))
7553 return property (&fontunits,
true);
7554 else if (pname.
compare (
"fontweight"))
7555 return property (&fontweight,
true);
7556 else if (pname.
compare (
"foregroundcolor"))
7557 return property (&foregroundcolor,
true);
7558 else if (pname.
compare (
"highlightcolor"))
7559 return property (&highlightcolor,
true);
7560 else if (pname.
compare (
"position"))
7562 else if (pname.
compare (
"resizefcn"))
7563 return property (&resizefcn,
true);
7564 else if (pname.
compare (
"shadowcolor"))
7565 return property (&shadowcolor,
true);
7566 else if (pname.
compare (
"title"))
7568 else if (pname.
compare (
"titleposition"))
7569 return property (&titleposition,
true);
7570 else if (pname.
compare (
"units"))
7581 m[
"__object__"] =
Matrix ();
7583 m[
"bordertype"] =
"etchedin";
7584 m[
"borderwidth"] = 1;
7585 m[
"fontangle"] =
"normal";
7588 m[
"fontunits"] =
"points";
7589 m[
"fontweight"] =
"normal";
7593 m[
"resizefcn"] =
Matrix ();
7596 m[
"titleposition"] =
"lefttop";
7597 m[
"units"] =
"normalized";
7604 std::set<std::string>
7607 static std::set<std::string> all_pnames;
7609 static bool initialized =
false;
7613 all_pnames.insert (
"__object__");
7614 all_pnames.insert (
"backgroundcolor");
7615 all_pnames.insert (
"bordertype");
7616 all_pnames.insert (
"borderwidth");
7617 all_pnames.insert (
"fontangle");
7618 all_pnames.insert (
"fontname");
7619 all_pnames.insert (
"fontsize");
7620 all_pnames.insert (
"fontunits");
7621 all_pnames.insert (
"fontweight");
7622 all_pnames.insert (
"foregroundcolor");
7623 all_pnames.insert (
"highlightcolor");
7624 all_pnames.insert (
"position");
7625 all_pnames.insert (
"resizefcn");
7626 all_pnames.insert (
"shadowcolor");
7627 all_pnames.insert (
"title");
7628 all_pnames.insert (
"titleposition");
7629 all_pnames.insert (
"units");
7632 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7643 std::set<std::string> pnames = core_property_names ();
7645 return pnames.find (pname) != pnames.end ();
7648 std::set<std::string>
7651 static std::set<std::string> all_pnames;
7653 static bool initialized =
false;
7659 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7670 std::set<std::string> pnames = readonly_property_names ();
7672 return pnames.find (pname) != pnames.end ();
7675 std::set<std::string>
7678 static std::set<std::string> all_pnames = core_property_names ();
7680 std::set<std::string>
retval = all_pnames;
7682 retval.insert (base_props.begin (), base_props.end ());
7690 std::set<std::string> pnames = all_property_names ();
7692 return pnames.find (pname) != pnames.end ();
7699 __object__ (
"__object__", mh,
Matrix ())
7709 const std::set<std::string>& pnames = all_property_names ();
7715 error (
"set: \"%s\" is read-only", pname.c_str ());
7719 if (pname.
compare (
"__object__"))
7720 set___object__ (val);
7741 const std::set<std::string>& pnames = all_property_names ();
7745 if (pname.
compare (
"__object__"))
7746 retval = get___object__ ();
7756 const std::set<std::string>& pnames = all_property_names ();
7760 if (pname.
compare (
"__object__"))
7761 return property (&__object__,
true);
7771 m[
"__object__"] =
Matrix ();
7778 std::set<std::string>
7781 static std::set<std::string> all_pnames;
7783 static bool initialized =
false;
7787 all_pnames.insert (
"__object__");
7790 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7801 std::set<std::string> pnames = core_property_names ();
7803 return pnames.find (pname) != pnames.end ();
7806 std::set<std::string>
7809 static std::set<std::string> all_pnames;
7811 static bool initialized =
false;
7817 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7828 std::set<std::string> pnames = readonly_property_names ();
7830 return pnames.find (pname) != pnames.end ();
7833 std::set<std::string>
7836 static std::set<std::string> all_pnames = core_property_names ();
7838 std::set<std::string>
retval = all_pnames;
7840 retval.insert (base_props.begin (), base_props.end ());
7848 std::set<std::string> pnames = all_property_names ();
7850 return pnames.find (pname) != pnames.end ();
7857 __object__ (
"__object__", mh,
Matrix ()),
7858 cdata (
"cdata", mh,
Matrix ()),
7859 clickedcallback (
"clickedcallback", mh,
Matrix ()),
7860 enable (
"enable", mh,
"on"),
7861 separator (
"separator", mh,
"off"),
7862 tooltipstring (
"tooltipstring", mh,
"")
7877 const std::set<std::string>& pnames = all_property_names ();
7883 error (
"set: \"%s\" is read-only", pname.c_str ());
7887 if (pname.
compare (
"__object__"))
7888 set___object__ (val);
7889 else if (pname.
compare (
"cdata"))
7891 else if (pname.
compare (
"clickedcallback"))
7892 set_clickedcallback (val);
7893 else if (pname.
compare (
"enable"))
7895 else if (pname.
compare (
"separator"))
7896 set_separator (val);
7897 else if (pname.
compare (
"tooltipstring"))
7898 set_tooltipstring (val);
7924 const std::set<std::string>& pnames = all_property_names ();
7928 if (pname.
compare (
"__object__"))
7929 retval = get___object__ ();
7930 else if (pname.
compare (
"cdata"))
7931 retval = get_cdata ();
7932 else if (pname.
compare (
"clickedcallback"))
7933 retval = get_clickedcallback ();
7934 else if (pname.
compare (
"enable"))
7935 retval = get_enable ();
7936 else if (pname.
compare (
"separator"))
7937 retval = get_separator ();
7938 else if (pname.
compare (
"tooltipstring"))
7939 retval = get_tooltipstring ();
7949 const std::set<std::string>& pnames = all_property_names ();
7953 if (pname.
compare (
"__object__"))
7954 return property (&__object__,
true);
7955 else if (pname.
compare (
"cdata"))
7957 else if (pname.
compare (
"clickedcallback"))
7958 return property (&clickedcallback,
true);
7959 else if (pname.
compare (
"enable"))
7961 else if (pname.
compare (
"separator"))
7962 return property (&separator,
true);
7963 else if (pname.
compare (
"tooltipstring"))
7964 return property (&tooltipstring,
true);
7974 m[
"__object__"] =
Matrix ();
7976 m[
"clickedcallback"] =
Matrix ();
7978 m[
"separator"] =
"off";
7979 m[
"tooltipstring"] =
"";
7986 std::set<std::string>
7989 static std::set<std::string> all_pnames;
7991 static bool initialized =
false;
7995 all_pnames.insert (
"__object__");
7996 all_pnames.insert (
"cdata");
7997 all_pnames.insert (
"clickedcallback");
7998 all_pnames.insert (
"enable");
7999 all_pnames.insert (
"separator");
8000 all_pnames.insert (
"tooltipstring");
8003 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
8014 std::set<std::string> pnames = core_property_names ();
8016 return pnames.find (pname) != pnames.end ();
8019 std::set<std::string>
8022 static std::set<std::string> all_pnames;
8024 static bool initialized =
false;
8030 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
8041 std::set<std::string> pnames = readonly_property_names ();
8043 return pnames.find (pname) != pnames.end ();
8046 std::set<std::string>
8049 static std::set<std::string> all_pnames = core_property_names ();
8051 std::set<std::string>
retval = all_pnames;
8053 retval.insert (base_props.begin (), base_props.end ());
8061 std::set<std::string> pnames = all_property_names ();
8063 return pnames.find (pname) != pnames.end ();
8070 __object__ (
"__object__", mh,
Matrix ()),
8071 cdata (
"cdata", mh,
Matrix ()),
8072 clickedcallback (
"clickedcallback", mh,
Matrix ()),
8073 enable (
"enable", mh,
"on"),
8074 offcallback (
"offcallback", mh,
Matrix ()),
8075 oncallback (
"oncallback", mh,
Matrix ()),
8076 separator (
"separator", mh,
"off"),
8077 state (
"state", mh,
"off"),
8078 tooltipstring (
"tooltipstring", mh,
"")
8096 const std::set<std::string>& pnames = all_property_names ();
8102 error (
"set: \"%s\" is read-only", pname.c_str ());
8106 if (pname.
compare (
"__object__"))
8107 set___object__ (val);
8108 else if (pname.
compare (
"cdata"))
8110 else if (pname.
compare (
"clickedcallback"))
8111 set_clickedcallback (val);
8112 else if (pname.
compare (
"enable"))
8114 else if (pname.
compare (
"offcallback"))
8115 set_offcallback (val);
8116 else if (pname.
compare (
"oncallback"))
8117 set_oncallback (val);
8118 else if (pname.
compare (
"separator"))
8119 set_separator (val);
8120 else if (pname.
compare (
"state"))
8122 else if (pname.
compare (
"tooltipstring"))
8123 set_tooltipstring (val);
8152 const std::set<std::string>& pnames = all_property_names ();
8156 if (pname.
compare (
"__object__"))
8157 retval = get___object__ ();
8158 else if (pname.
compare (
"cdata"))
8159 retval = get_cdata ();
8160 else if (pname.
compare (
"clickedcallback"))
8161 retval = get_clickedcallback ();
8162 else if (pname.
compare (
"enable"))
8163 retval = get_enable ();
8164 else if (pname.
compare (
"offcallback"))
8165 retval = get_offcallback ();
8166 else if (pname.
compare (
"oncallback"))
8167 retval = get_oncallback ();
8168 else if (pname.
compare (
"separator"))
8169 retval = get_separator ();
8170 else if (pname.
compare (
"state"))
8171 retval = get_state ();
8172 else if (pname.
compare (
"tooltipstring"))
8173 retval = get_tooltipstring ();
8183 const std::set<std::string>& pnames = all_property_names ();
8187 if (pname.
compare (
"__object__"))
8188 return property (&__object__,
true);
8189 else if (pname.
compare (
"cdata"))
8191 else if (pname.
compare (
"clickedcallback"))
8192 return property (&clickedcallback,
true);
8193 else if (pname.
compare (
"enable"))
8195 else if (pname.
compare (
"offcallback"))
8196 return property (&offcallback,
true);
8197 else if (pname.
compare (
"oncallback"))
8198 return property (&oncallback,
true);
8199 else if (pname.
compare (
"separator"))
8200 return property (&separator,
true);
8201 else if (pname.
compare (
"state"))
8203 else if (pname.
compare (
"tooltipstring"))
8204 return property (&tooltipstring,
true);
8214 m[
"__object__"] =
Matrix ();
8216 m[
"clickedcallback"] =
Matrix ();
8218 m[
"offcallback"] =
Matrix ();
8219 m[
"oncallback"] =
Matrix ();
8220 m[
"separator"] =
"off";
8222 m[
"tooltipstring"] =
"";
8229 std::set<std::string>
8232 static std::set<std::string> all_pnames;
8234 static bool initialized =
false;
8238 all_pnames.insert (
"__object__");
8239 all_pnames.insert (
"cdata");
8240 all_pnames.insert (
"clickedcallback");
8241 all_pnames.insert (
"enable");
8242 all_pnames.insert (
"offcallback");
8243 all_pnames.insert (
"oncallback");
8244 all_pnames.insert (
"separator");
8245 all_pnames.insert (
"state");
8246 all_pnames.insert (
"tooltipstring");
8249 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
8260 std::set<std::string> pnames = core_property_names ();
8262 return pnames.find (pname) != pnames.end ();
8265 std::set<std::string>
8268 static std::set<std::string> all_pnames;
8270 static bool initialized =
false;
8276 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
8287 std::set<std::string> pnames = readonly_property_names ();
8289 return pnames.find (pname) != pnames.end ();
8292 std::set<std::string>
8295 static std::set<std::string> all_pnames = core_property_names ();
8297 std::set<std::string>
retval = all_pnames;
8299 retval.insert (base_props.begin (), base_props.end ());
8307 std::set<std::string> pnames = all_property_names ();
8309 return pnames.find (pname) != pnames.end ();
bool_property zliminclude
bool has_property(const caseless_str &pname) const
static Matrix default_axes_ticklength(void)
bool_property zliminclude
octave_value get(bool all=false) const
void set_createfcn(const octave_value &val)
radio_property yticklabelmode
radio_property sortmethod
radio_property verticalalignment
octave_value get(bool all=false) const
static std::set< std::string > core_property_names(void)
std::set< std::string > all_property_names(void) const
static bool has_readonly_property(const caseless_str &pname)
bool has_readonly_property(const caseless_str &pname) const
array_property colororder
static bool has_core_property(const caseless_str &pname)
bool has_property(const caseless_str &pname) const
#define OCTAVE_DEFAULT_FONTNAME
callback_property keypressfcn
static std::string go_name
bool has_property(const caseless_str &pname) const
std::string get_clipping(void) const
bool_property yliminclude
static Matrix default_screensize(void)
bool has_property(const caseless_str &pname) const
radio_property activepositionproperty
radio_property horizontalalignmentmode
std::string get_busyaction(void) const
static Matrix default_axes_tick(void)
radio_property verticalalignmentmode
radio_property interpreter
static double default_screenpixelsperinch(void)
static caseless_str validate_property_name(const std::string &who, const std::string &what, const std::set< std::string > &pnames, const caseless_str &pname)
static Matrix default_axes_outerposition(void)
radio_property ticklabelinterpreter
static Matrix default_axes_view(void)
double_radio_property edgealpha
static std::string go_name
void set_selected(const octave_value &val)
radio_property minorgridlinestyle
double_property linewidth
base_properties(const std::string &ty="unknown", const graphics_handle &mh=graphics_handle(), const graphics_handle &p=graphics_handle())
bool_property xliminclude
row_vector_property ytick
row_vector_property value
virtual property get_property(const caseless_str &pname)
static Matrix default_control_sliderstep(void)
static property_list::pval_map_type factory_defaults(void)
double_property specularcolorreflectance
radio_property fontweight
static std::set< std::string > core_property_names(void)
bool_property xliminclude
void assign(const std::string &k, const Cell &val)
radio_property vertexnormalsmode
static Matrix default_figure_paperposition(void)
double_property markersize
static Matrix default_patch_xdata(void)
bool_property aliminclude
double_property fontsize_points
static property_list::pval_map_type factory_defaults(void)
property get_property(const caseless_str &pname)
double_property minorgridalpha
double_property markersize
static Matrix default_data(void)
void set(const caseless_str &pname, const octave_value &val)
radio_property alphadatamapping
octave_value get_buttondownfcn(void) const
void set_selectionhighlight(const octave_value &val)
array_property facenormals
bool_property aliminclude
color_property backgroundcolor
bool_property interruptible
static Matrix default_patch_ydata(void)
std::string get_type(void) const
identity matrix If supplied two scalar respectively For allows like xample val
array_property sliderstep
std::set< std::string > all_property_names(void) const
octave_map map_value(void) const
row_vector_property zmtick
row_vector_property ydata
array_property plotboxaspectratio
double_property titlefontsizemultiplier
static bool has_readonly_property(const caseless_str &pname)
double_property specularstrength
static std::set< std::string > readonly_property_names(void)
array_property cameraposition
static bool has_readonly_property(const caseless_str &pname)
radio_property minorgridcolormode
static bool has_core_property(const caseless_str &pname)
double_property fontsize_points
double_property listboxtop
octave_value get_dynamic(const caseless_str &pname) const
void set_deletefcn(const octave_value &val)
static bool has_readonly_property(const caseless_str &pname)
array_property cameratarget
static std::set< std::string > core_property_names(void)
static std::string go_name
bool_property climinclude
radio_property xcolormode
double_property mousewheelzoom
static bool has_core_property(const caseless_str &pname)
radio_property yaxislocation
bool has_readonly_property(const caseless_str &pname) const
bool_property __modified__
octave_value get_userdata(void) const
octave_value get(bool all=false) const
row_vector_property xdata
void error(const char *fmt,...)
void set_dynamic(const caseless_str &pname, const octave_value &val)
double_property gridalpha
color_property markerfacecolor
radio_property pickableparts
bool_property fontsmoothing
array_property facevertexcdata
property get_property_dynamic(const caseless_str &pname)
void set_visible(const octave_value &val)
octave_value get(bool all=false) const
static Matrix default_axes_position(void)
radio_property projection
radio_property gridalphamode
std::set< std::string > all_property_names(void) const
static property_list::pval_map_type factory_defaults(void)
array_property x_projectiontransform
radio_property normalmode
color_property highlightcolor
octave_value get(bool all=false) const
radio_property facenormalsmode
static std::set< std::string > core_property_names(void)
bool has_readonly_property(const caseless_str &pname) const
radio_property titlefontweight
radio_property edgelighting
static property_list::pval_map_type factory_defaults(void)
double_property zticklabelrotation
std::string get___modified__(void) const
bool has_property(const caseless_str &pname) const
static std::set< std::string > readonly_property_names(void)
array_property x_viewtransform
std::set< std::string > all_property_names(void) const
color_property shadowcolor
string_property ydatasource
static std::set< std::string > readonly_property_names(void)
static Matrix default_surface_xdata(void)
string_property zdatasource
string_property cdatasource
color_property markerfacecolor
radio_property positionmode
static std::string default_toolkit(void)
string_property displayname
static double default_screendepth(void)
radio_property alphadatamapping
color_property foregroundcolor
radio_property cameraviewanglemode
std::string get_tag(void) const
bool has_readonly_property(const caseless_str &pname) const
double_property xticklabelrotation
static Matrix default_lim(bool logscale=false)
double_property borderwidth
void set_hidden(bool flag)
double_property ambientstrength
bool_property yliminclude
std::string get_selectionhighlight(void) const
color_property markeredgecolor
bool has_readonly_property(const caseless_str &pname) const
void set(const caseless_str &pname, const octave_value &val)
double_property specularexponent
void set(const caseless_str &pname, const octave_value &val)
static std::set< std::string > readonly_property_names(void)
array_property facenormals
static std::set< std::string > readonly_property_names(void)
property get_property(const caseless_str &pname)
color_property foregroundcolor
std::map< caseless_str, property, cmp_caseless_str > all_props
properties(const graphics_handle &mh, const graphics_handle &p)
void set_interruptible(const octave_value &val)
static property_list::pval_map_type factory_defaults(void)
array_property cameraupvector
array_property dataaspectratio
std::set< std::string > all_property_names(void) const
properties(const graphics_handle &mh, const graphics_handle &p)
bool_property climinclude
radio_property handlevisibility
radio_property zticklabelmode
void set(const caseless_str &pname, const octave_value &val)
void set_clipping(const octave_value &val)
bool has_readonly_property(const caseless_str &pname) const
double_radio_property facealpha
string_property zdatasource
bool has_property(const caseless_str &pname) const
bool_property yliminclude
radio_property gridlinestyle
octave_value get_createfcn(void) const
radio_property backfacelighting
static bool has_core_property(const caseless_str &pname)
string_property displayname
static bool has_core_property(const caseless_str &pname)
static bool has_core_property(const caseless_str &pname)
bool_property yliminclude
void set(const caseless_str &pname, const octave_value &val)
string_property xdatasource
static bool has_readonly_property(const caseless_str &pname)
radio_property clippingstyle
octave_value get(bool all=false) const
bool_property xliminclude
radio_property horizontalalignment
static Matrix default_patch_vertices(void)
string_property displayname
std::set< std::string > dynamic_property_names(void) const
static std::string go_name
Matrix get_children(void) const
string_property displayname
bool_property zliminclude
nd deftypefn *octave_map m
static std::string go_name
radio_property autopos_tag
double_property labelfontsizemultiplier
radio_property facenormalsmode
color_property markeredgecolor
static Matrix default_control_position(void)
std::set< std::string > all_property_names(void) const
radio_property normalmode
callback_property callback
std::string get_beingdeleted(void) const
bool has_readonly_property(const caseless_str &pname) const
row_vector_property zdata
bool has_property(const caseless_str &pname) const
radio_property cameraupvectormode
color_property markerfacecolor
row_vector_property xmtick
std::set< std::string > all_property_names(void) const
double_property linestyleorderindex
static Matrix default_figure_position(void)
radio_property tickdirmode
std::string get_visible(void) const
void set___modified__(const octave_value &val)
static std::set< std::string > core_property_names(void)
row_vector_property ymtick
void set(const caseless_str &pname, const octave_value &val)
properties(const graphics_handle &mh, const graphics_handle &p)
radio_property plotboxaspectratiomode
bool has_readonly_property(const caseless_str &pname) const
static bool has_readonly_property(const caseless_str &pname)
array_property looseinset
double_property linewidth
double_property diffusestrength
properties(const graphics_handle &mh, const graphics_handle &p)
radio_property cameratargetmode
radio_property alphadatamapping
radio_property minorgridalphamode
static std::set< std::string > core_property_names(void)
radio_property vertexnormalsmode
static Matrix default_panel_position(void)
octave_value get(bool all=false) const
octave_value get(bool all=false) const
static bool has_core_property(const caseless_str &pname)
radio_property verticalalignment
string_property xdatasource
radio_property edgelighting
double_radio_property edgealpha
callback_property deletefcn
static Matrix default_figure_papersize(void)
row_vector_property xdata
static std::string go_name
property get_property(const caseless_str &pname)
static Matrix default_light_position(void)
properties(const graphics_handle &mh, const graphics_handle &p)
any_property linestyleorder
octave_value get(bool all=false) const
static bool has_readonly_property(const caseless_str &pname)
properties(const graphics_handle &mh, const graphics_handle &p)
radio_property fontweight
bool_property selectionhighlight
octave_value get(bool all=false) const
array_property outerposition
double_property colororderindex
static Matrix default_surface_ydata(void)
string_property displayname
bool_property climinclude
static std::set< std::string > readonly_property_names(void)
static Matrix default_colororder(void)
radio_property gridcolormode
property get_property(const caseless_str &pname)
static std::string go_name
std::set< std::string > all_property_names(void) const
double_property linewidth
static bool has_core_property(const caseless_str &pname)
void set(const caseless_str &pname, const octave_value &val)
static uint32_t state[624]
std::string get_selected(void) const
bool_property aliminclude
array_property vertexnormals
radio_property interpreter
double_radio_property facealpha
static Matrix default_surface_cdata(void)
octave_value get_deletefcn(void) const
static std::set< std::string > core_property_names(void)
static bool has_readonly_property(const caseless_str &pname)
array_property facevertexalphadata
bool has_property(const caseless_str &pname) const
static bool has_readonly_property(const caseless_str &pname)
properties(const graphics_handle &mh, const graphics_handle &p)
bool_property xliminclude
callback_property createfcn
bool has_readonly_property(const caseless_str &pname) const
radio_property titleposition
graphics_handle get_uicontextmenu(void) const
bool_property yliminclude
charNDArray max(char d, const charNDArray &m)
bool has_property(const caseless_str &pname) const
radio_property dataaspectratiomode
radio_property rotationmode
double_property ambientstrength
property get_property(const caseless_str &pname)
std::set< std::string > all_property_names(void) const
static std::set< std::string > readonly_property_names(void)
radio_property interpreter
void set_handlevisibility(const octave_value &val)
radio_property autopos_tag
children_property children
radio_property ycolormode
virtual octave_value get(const caseless_str &pname) const
radio_property fontweight
static property_list::pval_map_type factory_defaults(void)
void set_children(const octave_value &val)
bool_property aliminclude
color_property backgroundcolor
properties(const graphics_handle &mh, const graphics_handle &p)
double_property specularstrength
radio_property cdatamapping
bool_property zliminclude
string_property ydatasource
void set(const caseless_str &pname, const octave_value &val)
double_property specularcolorreflectance
array_property vertexnormals
static std::set< std::string > readonly_property_names(void)
static octave_value box(JNIEnv *jni_env, void *jobj, void *jcls_arg=0)
Convert the Java object pointed to by jobj_arg with class jcls_arg to an Octave value.
static std::string go_name
void set_userdata(const octave_value &val)
radio_property facelighting
property get_property(const caseless_str &pname)
static Matrix default_image_cdata(void)
OCTAVE_EXPORT octave_value_list or N dimensional array whose elements are all equal to the IEEE symbol zero divided by nd tex zero divided by nd ifnottex and any operation involving another NaN value(5+NaN).Note that NaN always compares not equal to NaN(NaN!
static property_list::pval_map_type factory_defaults(void)
std::string get_interruptible(void) const
static bool has_readonly_property(const caseless_str &pname)
double_property cameraviewangle
double_property linewidth
static std::set< std::string > core_property_names(void)
octave_handle graphics_handle
bool_property beingdeleted
radio_property fontweight
bool_property xliminclude
void set(const caseless_str &pname, const octave_value &val)
static std::set< std::string > core_property_names(void)
bool_property climinclude
radio_property horizontalalignment
color_property ambientlightcolor
array_property x_rendertransform
bool compare(const std::string &s, size_t limit=std::string::npos) const
color_property markeredgecolor
array_property currentpoint
void set(const caseless_str &pname, const octave_value &val)
array_property tightinset
static property_list::pval_map_type factory_defaults(void)
callback_property buttondownfcn
static std::set< std::string > core_property_names(void)
radio_property facelighting
std::string get_handlevisibility(void) const
radio_property busyaction
double_property yticklabelrotation
std::string get_hittest(void) const
radio_property zcolormode
graphics_handle get_parent(void) const
static std::set< std::string > readonly_property_names(void)
double_property markersize
string_property tooltipstring
static std::set< std::string > readonly_property_names(void)
property get_property(const caseless_str &pname)
static Matrix viridis_colormap(void)
radio_property backfacelighting
void set_beingdeleted(const octave_value &val)
static std::set< std::string > readonly_property_names(void)
double_property specularexponent
properties(const graphics_handle &mh, const graphics_handle &p)
virtual void set(const caseless_str &, const octave_value &)
static property_list::pval_map_type factory_defaults(void)
radio_property interpreter
static property_list::pval_map_type factory_defaults(void)
graphics_handle get___myhandle__(void) const
double_property diffusestrength
static std::set< std::string > core_property_names(void)
radio_property xaxislocation
properties(const graphics_handle &mh, const graphics_handle &p)
void set_busyaction(const octave_value &val)
std::set< std::string > all_property_names(void) const
row_vector_property ztick
std::set< std::string > all_property_names(void) const
color_property backgroundcolor
bool_property yliminclude
bool has_property(const caseless_str &pname) const
bool has_readonly_property(const caseless_str &pname) const
string_property displayname
static bool has_core_property(const caseless_str &pname)
property get_property(const caseless_str &pname)
array_property ticklength
octave_value as_octave_value(void) const
property get_property(const caseless_str &pname)
bool_property xliminclude
color_property minorgridcolor
void set_uicontextmenu(const octave_value &val)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
void set_tag(const octave_value &val)
radio_property cdatamapping
static property_list::pval_map_type factory_defaults(void)
static Matrix default_surface_zdata(void)
static std::string go_name
static bool has_readonly_property(const caseless_str &pname)
callback_property resizefcn
property get_property(const caseless_str &pname)
array_property x_normrendertransform
row_vector_property ydata
static bool has_core_property(const caseless_str &pname)
void set_parent(const octave_value &val)
void set_hittest(const octave_value &val)
radio_property cdatamapping
array_property x_viewporttransform
static bool has_core_property(const caseless_str &pname)
static std::string go_name
bool_property zliminclude
void set_buttondownfcn(const octave_value &val)
charNDArray min(char d, const charNDArray &m)
static Matrix default_patch_faces(void)
double_property linewidth
radio_property bordertype
radio_property camerapositionmode
row_vector_property xtick
radio_property xticklabelmode