15 #ifndef PGVIRTUALFRAME_H
16 #define PGVIRTUALFRAME_H
18 #include "pandabase.h"
21 #include "modelNode.h"
62 void setup(PN_stdfloat width, PN_stdfloat height);
64 INLINE
void set_clip_frame(PN_stdfloat left, PN_stdfloat right, PN_stdfloat bottom, PN_stdfloat top);
65 void set_clip_frame(
const LVecBase4 &clip_frame);
66 INLINE
const LVecBase4 &get_clip_frame()
const;
67 INLINE
bool has_clip_frame()
const;
68 void clear_clip_frame();
70 INLINE
void set_canvas_transform(
const TransformState *transform);
71 INLINE
const TransformState *get_canvas_transform()
const;
73 INLINE
PandaNode *get_canvas_node()
const;
74 INLINE
PandaNode *get_canvas_parent()
const;
77 virtual void clip_frame_changed();
80 void setup_child_nodes();
93 static void init_type() {
95 register_type(_type_handle,
"PGVirtualFrame",
96 PGItem::get_class_type());
99 return get_class_type();
101 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
107 #include "pgVirtualFrame.I"
A basic node of the scene graph or data graph.
This is our own Panda specialization on the default STL map.
This is the base class for all the various kinds of gui widget objects.
This represents a frame that is rendered as a window onto another (possibly much larger) canvas...
This node is placed at key points within the scene graph to indicate the roots of "models": subtrees ...
This is the base class for all three-component vectors and points.
A thread; that is, a lightweight process.
TypeHandle is the identifier used to differentiate C++ class types.