34 explicit SheetNode(
const std::string &name);
39 virtual void output(std::ostream &out)
const;
40 virtual void write(std::ostream &out,
int indent_level = 0)
const;
52 INLINE
void set_use_vertex_color(
bool flag);
53 INLINE
bool get_use_vertex_color()
const;
55 INLINE
void set_num_u_subdiv(
int num_u_subdiv);
56 INLINE
int get_num_u_subdiv()
const;
57 INLINE
void set_num_v_subdiv(
int num_v_subdiv);
58 INLINE
int get_num_v_subdiv()
const;
60 void reset_bound(
const NodePath &rel_to);
63 virtual void compute_internal_bounds(CPT(
BoundingVolume) &internal_bounds,
64 int &internal_vertices,
66 Thread *current_thread)
const;
71 Thread *current_thread)
const;
77 class EXPCL_PANDA_PARAMETRICS CData :
public CycleData {
80 INLINE CData(
const CData ©);
85 return SheetNode::get_class_type();
89 bool _use_vertex_color;
101 static void register_with_read_factory();
112 static void init_type() {
113 PandaNode::init_type();
115 PandaNode::get_class_type());
118 return get_class_type();
120 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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,...