18 #include "pandabase.h" 19 #include "nurbsSurfaceEvaluator.h" 20 #include "pandaNode.h" 21 #include "pStatCollector.h" 43 virtual void output(ostream &out)
const;
44 virtual void write(ostream &out,
int indent_level = 0)
const;
56 INLINE
void set_use_vertex_color(
bool flag);
57 INLINE
bool get_use_vertex_color()
const;
59 INLINE
void set_num_u_subdiv(
int num_u_subdiv);
60 INLINE
int get_num_u_subdiv()
const;
61 INLINE
void set_num_v_subdiv(
int num_v_subdiv);
62 INLINE
int get_num_v_subdiv()
const;
64 void reset_bound(
const NodePath &rel_to);
67 virtual void compute_internal_bounds(CPT(
BoundingVolume) &internal_bounds,
68 int &internal_vertices,
70 Thread *current_thread)
const;
75 Thread *current_thread)
const;
81 class EXPCL_PANDA_PARAMETRICS CData :
public CycleData {
84 INLINE CData(
const CData ©);
89 return SheetNode::get_class_type();
93 bool _use_vertex_color;
105 static void register_with_read_factory();
116 static void init_type() {
117 PandaNode::init_type();
118 register_type(_type_handle,
"SheetNode",
119 PandaNode::get_class_type());
122 return get_class_type();
124 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
130 #include "sheetNode.I" A basic node of the scene graph or data graph.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
A single page of data maintained by a PipelineCycler.
Base class for objects that can be written to and read from Bam files.
virtual TypeHandle get_parent_type() const
Returns the type of the container that owns the CycleData.
This collects together the pieces of data that are accumulated for each node while walking the scene ...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
This class is an abstraction for evaluating NURBS surfaces.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
A lightweight class that represents a single element that may be timed and/or counted via stats...
virtual void write_datagram(BamWriter *, Datagram &) const
Writes the contents of this object to the datagram for shipping out to a Bam file.
This class draws a visible representation of the NURBS surface stored in its NurbsSurfaceEvaluator.
The result of a NurbsSurfaceEvaluator.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
virtual PandaNode * make_copy() const
Returns a newly-allocated PandaNode that is a shallow copy of this one.
virtual void fillin(DatagramIterator &scan, BamReader *manager)
This internal function is intended to be called by each class's make_from_bam() method to read in all...
A thread; that is, a lightweight process.
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
virtual bool safe_to_transform() const
Returns true if it is generally safe to transform this particular kind of PandaNode by calling the xf...
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
virtual bool is_renderable() const
Returns true if there is some value to visiting this particular node during the cull traversal for an...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling...