Go to the documentation of this file.
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 single page of data maintained by a PipelineCycler.
virtual TypeHandle get_parent_type() const
Returns the type of the container that owns the CycleData.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is an abstraction for evaluating NURBS surfaces.
A class to retrieve the individual data elements previously stored in a Datagram.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...
This class draws a visible representation of the NURBS surface stored in its NurbsSurfaceEvaluator.
Base class for objects that can be written to and read from Bam files.
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...
virtual void write_datagram(BamWriter *, Datagram &) const
Writes the contents of this object to the datagram for shipping out to a Bam file.
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 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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
A lightweight class that represents a single element that may be timed and/or counted via stats.
This collects together the pieces of data that are accumulated for each node while walking the scene ...
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...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
virtual PandaNode * make_copy() const
Returns a newly-allocated PandaNode that is a shallow copy of this one.
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
A basic node of the scene graph or data graph.
A thread; that is, a lightweight process.
The result of a NurbsSurfaceEvaluator.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.