Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NodePath Class Reference

#include <nodePath.h>

List of all members.

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Private Types

typedef pset< Texture * > Textures

Private Member Functions

INLINE NodePath ()
INLINE NodePath (const string &top_node_name)
INLINE NodePath (PandaNode *node)
INLINE NodePath (const NodePath &parent, PandaNode *child_node)
INLINE NodePath (const NodePath &copy)
INLINE void operator= (const NodePath &copy)
INLINE bool is_empty () const
INLINE bool is_singleton () const
int get_num_nodes () const
PandaNodeget_node (int index) const
INLINE ErrorType get_error_type () const
PandaNodeget_top_node () const
INLINE PandaNodenode () const
INLINE int get_key () const
NodePathCollection get_children () const
INLINE int get_num_children () const
INLINE NodePath get_child (int n) const
INLINE bool has_parent () const
INLINE NodePath get_parent () const
NodePath find (const string &path) const
NodePath find_path_to (PandaNode *node) const
NodePathCollection find_all_matches (const string &path) const
NodePathCollection find_all_paths_to (PandaNode *node) const
void reparent_to (const NodePath &other, int sort=0)
void wrt_reparent_to (const NodePath &other, int sort=0)
NodePath instance_to (const NodePath &other, int sort=0) const
NodePath instance_under_node (const NodePath &other, const string &name, int sort=0) const
NodePath copy_to (const NodePath &other, int sort=0) const
NodePath attach_new_node (PandaNode *node, int sort=0) const
INLINE NodePath attach_new_node (const string &name, int sort=0) const
void remove_node ()
void detach_node ()
void output (ostream &out) const
INLINE void ls () const
INLINE void ls (ostream &out, int indent_level=0) const
INLINE const RenderStateget_state () const
INLINE void set_state (const RenderState *state) const
 CPT (RenderState) get_state(const NodePath &other) const
void set_state (const NodePath &other, const RenderState *state) const
INLINE CPT (RenderState) get_net_state() const
INLINE const TransformStateget_transform () const
INLINE void set_transform (const TransformState *transform) const
 CPT (TransformState) get_transform(const NodePath &other) const
void set_transform (const NodePath &other, const TransformState *transform) const
INLINE CPT (TransformState) get_net_transform() const
INLINE void set_pos (float x, float y, float z)
void set_pos (const LVecBase3f &pos)
void set_x (float x)
void set_y (float y)
void set_z (float z)
LPoint3f get_pos () const
INLINE float get_x () const
INLINE float get_y () const
INLINE float get_z () const
INLINE void set_hpr (float h, float p, float r)
void set_hpr (const LVecBase3f &hpr)
void set_h (float h)
void set_p (float p)
void set_r (float r)
LVecBase3f get_hpr () const
LVecBase3f get_hpr (float roll) const
INLINE float get_h () const
INLINE float get_p () const
INLINE float get_r () const
void set_quat (const LQuaternionf &quat)
LQuaternionf get_quat () const
INLINE void set_scale (float scale)
INLINE void set_scale (float sx, float sy, float sz)
void set_scale (const LVecBase3f &scale)
void set_sx (float sx)
void set_sy (float sy)
void set_sz (float sz)
LVecBase3f get_scale () const
INLINE float get_sx () const
INLINE float get_sy () const
INLINE float get_sz () const
INLINE void set_pos_hpr (float x, float y, float z, float h, float p, float r)
void set_pos_hpr (const LVecBase3f &pos, const LVecBase3f &hpr)
INLINE void set_hpr_scale (float h, float p, float r, float sx, float sy, float sz)
void set_hpr_scale (const LVecBase3f &hpr, const LVecBase3f &scale)
INLINE void set_pos_hpr_scale (float x, float y, float z, float h, float p, float r, float sx, float sy, float sz)
void set_pos_hpr_scale (const LVecBase3f &pos, const LVecBase3f &hpr, const LVecBase3f &scale)
void set_pos_quat_scale (const LVecBase3f &pos, const LQuaternionf &quat, const LVecBase3f &scale)
void set_mat (const LMatrix4f &mat)
INLINE void clear_mat ()
INLINE bool has_mat () const
INLINE const LMatrix4f & get_mat () const
bool has_color_scale () const
void clear_color_scale ()
void set_color_scale (const LVecBase4f &scale)
INLINE void set_color_scale (float sx, float sy, float sz, float sa)
INLINE void set_sr (float sr)
INLINE void set_sg (float sg)
INLINE void set_sb (float sb)
INLINE void set_sa (float sa)
const LVecBase4f & get_color_scale () const
INLINE float get_sr () const
INLINE float get_sg () const
INLINE float get_sb () const
INLINE float get_sa () const
INLINE void look_at (float x, float y, float z)
void look_at (const LPoint3f &point, const LVector3f &up=LVector3f::up())
INLINE void heads_up (float x, float y, float z)
void heads_up (const LPoint3f &point, const LVector3f &up=LVector3f::up())
INLINE void set_pos (const NodePath &other, float x, float y, float z)
void set_pos (const NodePath &other, const LVecBase3f &pos)
void set_x (const NodePath &other, float x)
void set_y (const NodePath &other, float y)
void set_z (const NodePath &other, float z)
LPoint3f get_pos (const NodePath &other) const
INLINE float get_x (const NodePath &other) const
INLINE float get_y (const NodePath &other) const
INLINE float get_z (const NodePath &other) const
INLINE void set_hpr (const NodePath &other, float h, float p, float r)
void set_hpr (const NodePath &other, const LVecBase3f &hpr)
void set_h (const NodePath &other, float h)
void set_p (const NodePath &other, float p)
void set_r (const NodePath &other, float r)
LVecBase3f get_hpr (const NodePath &other) const
LVecBase3f get_hpr (const NodePath &other, float roll) const
INLINE float get_h (const NodePath &other) const
INLINE float get_p (const NodePath &other) const
INLINE float get_r (const NodePath &other) const
void set_quat (const NodePath &other, const LQuaternionf &quat)
LQuaternionf get_quat (const NodePath &other) const
INLINE void set_scale (const NodePath &other, float sx, float sy, float sz)
void set_scale (const NodePath &other, const LVecBase3f &scale)
void set_sx (const NodePath &other, float sx)
void set_sy (const NodePath &other, float sy)
void set_sz (const NodePath &other, float sz)
LVecBase3f get_scale (const NodePath &other) const
INLINE float get_sx (const NodePath &other) const
INLINE float get_sy (const NodePath &other) const
INLINE float get_sz (const NodePath &other) const
INLINE void set_pos_hpr (const NodePath &other, float x, float y, float z, float h, float p, float r)
void set_pos_hpr (const NodePath &other, const LVecBase3f &pos, const LVecBase3f &hpr)
INLINE void set_hpr_scale (const NodePath &other, float h, float p, float r, float sx, float sy, float sz)
void set_hpr_scale (const NodePath &other, const LVecBase3f &hpr, const LVecBase3f &scale)
INLINE void set_pos_hpr_scale (const NodePath &other, float x, float y, float z, float h, float p, float r, float sx, float sy, float sz)
void set_pos_hpr_scale (const NodePath &other, const LVecBase3f &pos, const LVecBase3f &hpr, const LVecBase3f &scale)
void set_pos_quat_scale (const NodePath &other, const LVecBase3f &pos, const LQuaternionf &quat, const LVecBase3f &scale)
const LMatrix4f & get_mat (const NodePath &other) const
void set_mat (const NodePath &other, const LMatrix4f &mat)
LPoint3f get_relative_point (const NodePath &other, const LVecBase3f &point)
INLINE void look_at (const NodePath &other, float x, float y, float z)
void look_at (const NodePath &other, const LPoint3f &point=LPoint3f(0.0, 0.0, 0.0), const LVector3f &up=LVector3f::up())
INLINE void heads_up (const NodePath &other, float x, float y, float z)
void heads_up (const NodePath &other, const LPoint3f &point=LPoint3f(0.0, 0.0, 0.0), const LVector3f &up=LVector3f::up())
INLINE float get_distance (const NodePath &other) const
void set_color (float r, float g, float b, float a=1.0, int priority=0)
void set_color (const Colorf &color, int priority=0)
void set_color_off (int priority=0)
void clear_color ()
bool has_color () const
Colorf get_color () const
void set_bin (const string &bin_name, int draw_order, int priority=0)
void clear_bin ()
bool has_bin () const
string get_bin_name () const
int get_bin_draw_order () const
void set_texture (Texture *tex, int priority=0)
void set_texture_off (int priority=0)
void clear_texture ()
bool has_texture () const
bool has_texture_off () const
Textureget_texture () const
Texturefind_texture (const string &name) const
TextureCollection find_all_textures () const
TextureCollection find_all_textures (const string &name) const
void set_material (Material *tex, int priority=0)
void set_material_off (int priority=0)
void clear_material ()
bool has_material () const
 PT (Material) get_material() const
void set_fog (Fog *fog, int priority=0)
void set_fog_off (int priority=0)
void clear_fog ()
bool has_fog () const
bool has_fog_off () const
Fogget_fog () const
void set_render_mode_wireframe (int priority=0)
void set_render_mode_filled (int priority=0)
void clear_render_mode ()
bool has_render_mode () const
void set_two_sided (bool two_sided, int priority=0)
void clear_two_sided ()
bool has_two_sided () const
bool get_two_sided () const
void set_depth_test (bool depth_test, int priority=0)
void clear_depth_test ()
bool has_depth_test () const
bool get_depth_test () const
void set_depth_write (bool depth_write, int priority=0)
void clear_depth_write ()
bool has_depth_write () const
bool get_depth_write () const
void do_billboard_axis (const NodePath &camera, float offset)
void do_billboard_point_eye (const NodePath &camera, float offset)
void do_billboard_point_world (const NodePath &camera, float offset)
INLINE void set_billboard_axis (float offset=0.0)
INLINE void set_billboard_point_eye (float offset=0.0)
INLINE void set_billboard_point_world (float offset=0.0)
void set_billboard_axis (const NodePath &camera, float offset)
void set_billboard_point_eye (const NodePath &camera, float offset)
void set_billboard_point_world (const NodePath &camera, float offset)
void clear_billboard ()
bool has_billboard () const
void set_compass (const NodePath &reference=NodePath())
void clear_compass ()
bool has_compass () const
void set_transparency (bool transparency, int priority=0)
void clear_transparency ()
bool has_transparency () const
bool get_transparency () const
INLINE void adjust_all_priorities (int adjustment)
INLINE void show ()
INLINE void show (DrawMask camera_mask)
INLINE void hide ()
INLINE void hide (DrawMask camera_mask)
INLINE bool is_hidden (DrawMask camera_mask=DrawMask::all_on()) const
NodePath get_hidden_ancestor (DrawMask camera_mask=DrawMask::all_on()) const
INLINE bool stash ()
INLINE bool unstash ()
INLINE bool is_stashed () const
NodePath get_stashed_ancestor () const
INLINE bool operator== (const NodePath &other) const
INLINE bool operator!= (const NodePath &other) const
INLINE bool operator< (const NodePath &other) const
INLINE int compare_to (const NodePath &other) const
bool verify_complete () const
void prepare_scene (GraphicsStateGuardianBase *gsg, bool force_retained_mode=false)
void show_bounds ()
void hide_bounds ()
 PT (BoundingVolume) get_bounds() const
void force_recompute_bounds ()
void write_bounds (ostream &out) const
bool calc_tight_bounds (LPoint3f &min_point, LPoint3f &max_point)
int flatten_light ()
int flatten_medium ()
int flatten_strong ()
bool write_bam_file (const string &filename) const
void uncollapse_head () const
 CPT (RenderState) r_get_net_state(NodePathComponent *comp) const
 CPT (RenderState) r_get_partial_state(NodePathComponent *comp
 CPT (TransformState) r_get_net_transform(NodePathComponent *comp) const
 CPT (TransformState) r_get_partial_transform(NodePathComponent *comp
void find_matches (NodePathCollection &result, const string &approx_path_str, int max_matches) const
void find_matches (NodePathCollection &result, FindApproxPath &approx_path, int max_matches) const
void r_find_matches (NodePathCollection &result, const FindApproxLevel &level, int max_matches, int num_levels_remaining) const
void r_adjust_all_priorities (PandaNode *node, int adjustment)
void r_force_recompute_bounds (PandaNode *node)
Texturer_find_texture (PandaNode *node, const RenderState *state, const GlobPattern &glob) const
void r_find_all_textures (PandaNode *node, const RenderState *state, Textures &textures) const
void r_prepare_scene (PandaNode *node, const RenderState *state, GraphicsStateGuardianBase *gsg, bool do_retained_mode)
 PT (NodePathComponent) _head

Static Private Member Functions

INLINE NodePath any_path (PandaNode *node)
INLINE NodePath not_found ()
INLINE NodePath removed ()
INLINE NodePath fail ()
INLINE void set_max_search_depth (int max_search_depth)
INLINE int get_max_search_depth ()
void find_common_ancestor (const NodePath &a, const NodePath &b, int &a_count, int &b_count)

Private Attributes

PUBLISHED __pad0__: enum ErrorType { ET_ok = 0
PUBLISHED ET_not_found
PUBLISHED ET_removed
PUBLISHED ET_fail
int n const
ErrorType _error_type

Static Private Attributes

int _max_search_depth = 7000
TypeHandle _type_handle

Friends

class NodePathCollection
class WorkingNodePath


Member Typedef Documentation

typedef pset<Texture *> NodePath::Textures [private]
 

Definition at line 546 of file nodePath.h.

Referenced by find_all_textures().


Constructor & Destructor Documentation

INLINE NodePath::NodePath  )  [private]
 

Referenced by attach_new_node(), and set_transform().

INLINE NodePath::NodePath const string &  top_node_name  )  [private]
 

INLINE NodePath::NodePath PandaNode node  )  [private]
 

INLINE NodePath::NodePath const NodePath &  parent,
PandaNode child_node
[private]
 

INLINE NodePath::NodePath const NodePath &  copy  )  [private]
 


Member Function Documentation

INLINE void NodePath::adjust_all_priorities int  adjustment  )  [private]
 

Referenced by FontPool::ns_load_font().

INLINE NodePath NodePath::any_path PandaNode node  )  [static, private]
 

INLINE NodePath NodePath::attach_new_node const string &  name,
int  sort = 0
const [private]
 

NodePath NodePath::attach_new_node PandaNode node,
int  sort = 0
const [private]
 

Definition at line 359 of file nodePath.cxx.

References fail(), is_empty(), NodePath(), NULL, uncollapse_head(), and verify_complete().

Referenced by NonlinearImager::add_viewer(), copy_to(), WindowFramework::enable_keyboard(), event_T(), PGFrameStyle::generate_into(), WindowFramework::get_aspect_2d(), WindowFramework::get_camera_group(), WindowFramework::get_render_2d(), instance_under_node(), WindowFramework::load_default_model(), WindowFramework::load_model(), main(), NonlinearImager::recompute_screen(), PGEntry::setup(), PGButton::setup(), WindowFramework::setup_lights(), WindowFramework::setup_trackball(), and PGEntry::update_text().

bool NodePath::calc_tight_bounds LPoint3f &  min_point,
LPoint3f &  max_point
[private]
 

Definition at line 2785 of file nodePath.cxx.

References is_empty(), and node().

void NodePath::clear_billboard  )  [private]
 

Definition at line 2425 of file nodePath.cxx.

References PandaNode::clear_effect(), BillboardEffect::get_class_type(), is_empty(), and node().

void NodePath::clear_bin  )  [private]
 

Definition at line 1492 of file nodePath.cxx.

References PandaNode::clear_attrib(), CullBinAttrib::get_class_type(), is_empty(), and node().

void NodePath::clear_color  )  [private]
 

Definition at line 1414 of file nodePath.cxx.

References PandaNode::clear_attrib(), ColorAttrib::get_class_type(), is_empty(), and node().

Referenced by event_fkey().

void NodePath::clear_color_scale  )  [private]
 

Definition at line 843 of file nodePath.cxx.

References PandaNode::clear_attrib(), ColorScaleAttrib::get_class_type(), is_empty(), and node().

Referenced by event_fkey(), and event_v().

void NodePath::clear_compass  )  [private]
 

Definition at line 2462 of file nodePath.cxx.

References PandaNode::clear_effect(), CompassEffect::get_class_type(), is_empty(), and node().

void NodePath::clear_depth_test  )  [private]
 

Definition at line 2160 of file nodePath.cxx.

References PandaNode::clear_attrib(), DepthTestAttrib::get_class_type(), is_empty(), and node().

void NodePath::clear_depth_write  )  [private]
 

Definition at line 2230 of file nodePath.cxx.

References PandaNode::clear_attrib(), DepthWriteAttrib::get_class_type(), is_empty(), and node().

void NodePath::clear_fog  )  [private]
 

Definition at line 1862 of file nodePath.cxx.

References PandaNode::clear_attrib(), FogAttrib::get_class_type(), is_empty(), and node().

INLINE void NodePath::clear_mat  )  [private]
 

void NodePath::clear_material  )  [private]
 

Definition at line 1773 of file nodePath.cxx.

References PandaNode::clear_attrib(), MaterialAttrib::get_class_type(), is_empty(), and node().

void NodePath::clear_render_mode  )  [private]
 

Definition at line 1970 of file nodePath.cxx.

References PandaNode::clear_attrib(), RenderModeAttrib::get_class_type(), is_empty(), and node().

void NodePath::clear_texture  )  [private]
 

Definition at line 1589 of file nodePath.cxx.

References PandaNode::clear_attrib(), TextureAttrib::get_class_type(), is_empty(), and node().

void NodePath::clear_transparency  )  [private]
 

Definition at line 2510 of file nodePath.cxx.

References PandaNode::clear_attrib(), TransparencyAttrib::get_class_type(), is_empty(), and node().

Referenced by event_fkey(), and event_v().

void NodePath::clear_two_sided  )  [private]
 

Definition at line 2022 of file nodePath.cxx.

References PandaNode::clear_attrib(), CullFaceAttrib::get_class_type(), is_empty(), and node().

INLINE int NodePath::compare_to const NodePath &  other  )  const [private]
 

Referenced by CompassEffect::compare_to_impl(), and BillboardEffect::compare_to_impl().

NodePath NodePath::copy_to const NodePath &  other,
int  sort = 0
const [private]
 

Definition at line 332 of file nodePath.cxx.

References attach_new_node(), fail(), is_empty(), node(), NULL, PT(), and verify_complete().

Referenced by load_gridded_models().

NodePath::CPT TransformState   )  [private]
 

NodePath::CPT TransformState   )  const [private]
 

NodePath::CPT RenderState   )  [private]
 

NodePath::CPT RenderState   )  const [private]
 

INLINE NodePath::CPT TransformState   )  const [private]
 

NodePath::CPT TransformState   )  const [private]
 

INLINE NodePath::CPT RenderState   )  const [private]
 

NodePath::CPT RenderState   )  const [private]
 

Referenced by get_hpr(), get_mat(), get_quat(), get_scale(), prepare_scene(), r_find_all_textures(), r_find_texture(), r_prepare_scene(), set_billboard_axis(), set_billboard_point_eye(), set_billboard_point_world(), set_h(), set_hpr(), set_hpr_scale(), set_p(), set_pos(), set_pos_hpr(), set_quat(), set_r(), set_scale(), set_state(), set_sx(), set_sy(), set_sz(), and set_transform().

void NodePath::detach_node  )  [private]
 

Definition at line 417 of file nodePath.cxx.

References _error_type, PandaNode::detach(), ET_not_found, is_empty(), is_singleton(), and uncollapse_head().

Referenced by event_T().

void NodePath::do_billboard_axis const NodePath &  camera,
float  offset
[private]
 

Definition at line 2280 of file nodePath.cxx.

References get_mat(), get_parent(), is_empty(), set_pos(), and set_quat().

void NodePath::do_billboard_point_eye const NodePath &  camera,
float  offset
[private]
 

Definition at line 2313 of file nodePath.cxx.

References get_mat(), get_parent(), is_empty(), set_pos(), and set_quat().

void NodePath::do_billboard_point_world const NodePath &  camera,
float  offset
[private]
 

Definition at line 2344 of file nodePath.cxx.

References get_mat(), get_parent(), is_empty(), set_pos(), and set_quat().

INLINE NodePath NodePath::fail  )  [static, private]
 

Referenced by attach_new_node(), copy_to(), find(), find_path_to(), and instance_to().

NodePath NodePath::find const string &  path  )  const [private]
 

Definition at line 156 of file nodePath.cxx.

References fail(), find_matches(), NodePathCollection::get_path(), NodePathCollection::is_empty(), is_empty(), and not_found().

Referenced by SpriteParticleRenderer::set_from_node().

NodePathCollection NodePath::find_all_matches const string &  path  )  const [private]
 

Definition at line 202 of file nodePath.cxx.

References find_matches(), is_empty(), and verify_complete().

NodePathCollection NodePath::find_all_paths_to PandaNode node  )  const [private]
 

Definition at line 218 of file nodePath.cxx.

References FindApproxPath::add_match_many(), FindApproxPath::add_match_pointer(), find_matches(), is_empty(), NULL, and verify_complete().

TextureCollection NodePath::find_all_textures const string &  name  )  const [private]
 

Definition at line 1706 of file nodePath.cxx.

References GlobPattern::matches(), node(), r_find_all_textures(), tc, texture, textures, and Textures.

TextureCollection NodePath::find_all_textures  )  const [private]
 

Definition at line 1686 of file nodePath.cxx.

References node(), r_find_all_textures(), tc, textures, and Textures.

void NodePath::find_common_ancestor const NodePath &  a,
const NodePath &  b,
int &  a_count,
int &  b_count
[static, private]
 

Definition at line 2942 of file nodePath.cxx.

References a, b, NodePathComponent::get_length(), NodePathComponent::get_next(), and NULL.

void NodePath::find_matches NodePathCollection result,
FindApproxPath approx_path,
int  max_matches
const [private]
 

Definition at line 3079 of file nodePath.cxx.

References _max_search_depth, is_empty(), level, r_find_matches(), start, and WorkingNodePath.

void NodePath::find_matches NodePathCollection result,
const string &  approx_path_str,
int  max_matches
const [private]
 

Definition at line 3055 of file nodePath.cxx.

References FindApproxPath::add_string(), and is_empty().

Referenced by find(), find_all_matches(), find_all_paths_to(), and find_path_to().

NodePath NodePath::find_path_to PandaNode node  )  const [private]
 

Definition at line 176 of file nodePath.cxx.

References FindApproxPath::add_match_many(), FindApproxPath::add_match_pointer(), fail(), find_matches(), NodePathCollection::get_path(), NodePathCollection::is_empty(), is_empty(), not_found(), and NULL.

Texture * NodePath::find_texture const string &  name  )  const [private]
 

Definition at line 1674 of file nodePath.cxx.

References node(), and r_find_texture().

Referenced by SpriteParticleRenderer::set_from_node().

int NodePath::flatten_light  )  [private]
 

Definition at line 2822 of file nodePath.cxx.

References SceneGraphReducer::apply_attribs(), is_empty(), and node().

int NodePath::flatten_medium  )  [private]
 

Definition at line 2855 of file nodePath.cxx.

References SceneGraphReducer::apply_attribs(), SceneGraphReducer::flatten(), is_empty(), and node().

int NodePath::flatten_strong  )  [private]
 

Definition at line 2882 of file nodePath.cxx.

References SceneGraphReducer::apply_attribs(), SceneGraphReducer::flatten(), is_empty(), and node().

void NodePath::force_recompute_bounds  )  [private]
 

Definition at line 2755 of file nodePath.cxx.

References is_empty(), node(), and r_force_recompute_bounds().

int NodePath::get_bin_draw_order  )  const [private]
 

Definition at line 1539 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), CullBinAttrib::get_class_type(), CullBinAttrib::get_draw_order(), is_empty(), node(), and NULL.

string NodePath::get_bin_name  )  const [private]
 

Definition at line 1518 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), CullBinAttrib::get_bin_name(), CullBinAttrib::get_class_type(), is_empty(), node(), and NULL.

INLINE NodePath NodePath::get_child int  n  )  const [private]
 

Referenced by enable_highlight(), PandaFramework::event_arrow_down(), event_down(), event_left(), event_right(), PandaFramework::hide_collision_solids(), EggLoader::reparent_decals(), and PandaFramework::show_collision_solids().

NodePathCollection NodePath::get_children  )  const [private]
 

Definition at line 130 of file nodePath.cxx.

References NodePathCollection::add_path(), PandaNode::get_children(), is_empty(), and node().

TypeHandle NodePath::get_class_type void   )  [inline, static]
 

Definition at line 559 of file nodePath.h.

Colorf NodePath::get_color  )  const [private]
 

Definition at line 1438 of file nodePath.cxx.

References Colorf, DCAST, PandaNode::get_attrib(), ColorAttrib::get_class_type(), ColorAttrib::get_color(), ColorAttrib::get_color_type(), is_empty(), node(), NULL, and ColorAttrib::T_flat.

const LVecBase4f & NodePath::get_color_scale  )  const [private]
 

Definition at line 868 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), ColorScaleAttrib::get_class_type(), ColorScaleAttrib::get_scale(), is_empty(), node(), and NULL.

bool NodePath::get_depth_test  )  const [private]
 

Definition at line 2190 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), DepthTestAttrib::get_class_type(), DepthTestAttrib::get_mode(), is_empty(), RenderAttrib::M_none, node(), and NULL.

bool NodePath::get_depth_write  )  const [private]
 

Definition at line 2260 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), DepthWriteAttrib::get_class_type(), DepthWriteAttrib::get_mode(), is_empty(), node(), and NULL.

INLINE float NodePath::get_distance const NodePath &  other  )  const [private]
 

INLINE ErrorType NodePath::get_error_type  )  const [private]
 

Fog * NodePath::get_fog  )  const [private]
 

Definition at line 1924 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), FogAttrib::get_class_type(), FogAttrib::get_fog(), is_empty(), node(), and NULL.

INLINE float NodePath::get_h const NodePath &  other  )  const [private]
 

INLINE float NodePath::get_h  )  const [private]
 

NodePath NodePath::get_hidden_ancestor DrawMask  camera_mask = DrawMask::all_on()  )  const [private]
 

Definition at line 2565 of file nodePath.cxx.

References PandaNode::get_draw_mask(), NodePathComponent::get_next(), NodePathComponent::get_node(), not_found(), and NULL.

Referenced by PandaFramework::show_collision_solids().

LVecBase3f NodePath::get_hpr const NodePath &  other,
float  roll
const [private]
 

Definition at line 1061 of file nodePath.cxx.

References decompose_matrix(), get_mat(), and scale.

LVecBase3f NodePath::get_hpr const NodePath &  other  )  const [private]
 

Definition at line 1047 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), and transform.

LVecBase3f NodePath::get_hpr float  roll  )  const [private]
 

Definition at line 666 of file nodePath.cxx.

References get_hpr().

LVecBase3f NodePath::get_hpr  )  const [private]
 

Definition at line 653 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), and transform.

Referenced by get_hpr(), set_h(), set_p(), and set_r().

INLINE int NodePath::get_key  )  const [private]
 

const LMatrix4f & NodePath::get_mat const NodePath &  other  )  const [private]
 

Definition at line 1283 of file nodePath.cxx.

References CPT(), get_transform(), and transform.

INLINE const LMatrix4f& NodePath::get_mat  )  const [private]
 

Referenced by GLGraphicsStateGuardian::bind_clip_plane(), DXGraphicsStateGuardian8::bind_clip_plane(), GLGraphicsStateGuardian::bind_light(), DXGraphicsStateGuardian8::bind_light(), CRGraphicsStateGuardian::bind_light(), ParticleSystem::birth_particle(), do_billboard_axis(), do_billboard_point_eye(), do_billboard_point_world(), get_hpr(), get_relative_point(), NurbsCurveEvaluator::get_vertices(), heads_up(), look_at(), BaseIntegrator::precompute_angular_matrices(), BaseIntegrator::precompute_linear_matrices(), CollisionTraverser::prepare_colliders(), DXGraphicsStateGuardian7::prepare_texture(), PT(), CollisionTraverser::r_traverse(), Trackball::recompute(), ProjectionScreen::recompute_geom_node(), ProjectionScreen::recompute_if_stale(), set_highlight(), and ParticleSystem::spawn_child_system().

INLINE int NodePath::get_max_search_depth  )  [static, private]
 

Referenced by NodePathCollection::find_all_matches().

PandaNode * NodePath::get_node int  index  )  const [private]
 

Definition at line 81 of file nodePath.cxx.

References NodePathComponent::get_next(), NodePathComponent::get_node(), get_num_nodes(), index, NULL, and uncollapse_head().

Referenced by event_up(), and WorkingNodePath::get_node().

INLINE int NodePath::get_num_children  )  const [private]
 

Referenced by enable_highlight(), PandaFramework::event_arrow_down(), event_down(), event_left(), event_right(), PandaFramework::hide_collision_solids(), EggLoader::reparent_decals(), and PandaFramework::show_collision_solids().

int NodePath::get_num_nodes  )  const [private]
 

Definition at line 64 of file nodePath.cxx.

References is_empty(), and uncollapse_head().

Referenced by get_node().

INLINE float NodePath::get_p const NodePath &  other  )  const [private]
 

INLINE float NodePath::get_p  )  const [private]
 

INLINE NodePath NodePath::get_parent  )  const [private]
 

Referenced by do_billboard_axis(), do_billboard_point_eye(), do_billboard_point_world(), PandaFramework::event_arrow_left(), PandaFramework::event_arrow_right(), PandaFramework::event_arrow_up(), heads_up(), look_at(), set_state(), and set_transform().

LPoint3f NodePath::get_pos const NodePath &  other  )  const [private]
 

Definition at line 977 of file nodePath.cxx.

References TransformState::get_pos(), get_transform(), and is_empty().

LPoint3f NodePath::get_pos  )  const [private]
 

Definition at line 598 of file nodePath.cxx.

References TransformState::get_pos(), get_transform(), and is_empty().

Referenced by heads_up(), look_at(), set_pos(), set_x(), set_y(), and set_z().

LQuaternionf NodePath::get_quat const NodePath &  other  )  const [private]
 

Definition at line 1110 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), and transform.

LQuaternionf NodePath::get_quat  )  const [private]
 

Definition at line 692 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), and transform.

INLINE float NodePath::get_r const NodePath &  other  )  const [private]
 

INLINE float NodePath::get_r  )  const [private]
 

LPoint3f NodePath::get_relative_point const NodePath &  other,
const LVecBase3f &  point
[private]
 

Definition at line 1314 of file nodePath.cxx.

References get_mat().

INLINE float NodePath::get_sa  )  const [private]
 

INLINE float NodePath::get_sb  )  const [private]
 

LVecBase3f NodePath::get_scale const NodePath &  other  )  const [private]
 

Definition at line 1180 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), and transform.

LVecBase3f NodePath::get_scale  )  const [private]
 

Definition at line 744 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), and transform.

Referenced by set_sx(), set_sy(), and set_sz().

INLINE float NodePath::get_sg  )  const [private]
 

INLINE float NodePath::get_sr  )  const [private]
 

NodePath NodePath::get_stashed_ancestor  )  const [private]
 

Definition at line 2590 of file nodePath.cxx.

References PandaNode::find_stashed(), NodePathComponent::get_next(), NodePathComponent::get_node(), not_found(), and NULL.

INLINE const RenderState* NodePath::get_state  )  const [private]
 

Referenced by set_state().

INLINE float NodePath::get_sx const NodePath &  other  )  const [private]
 

INLINE float NodePath::get_sx  )  const [private]
 

INLINE float NodePath::get_sy const NodePath &  other  )  const [private]
 

INLINE float NodePath::get_sy  )  const [private]
 

INLINE float NodePath::get_sz const NodePath &  other  )  const [private]
 

INLINE float NodePath::get_sz  )  const [private]
 

Texture * NodePath::get_texture  )  const [private]
 

Definition at line 1653 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), TextureAttrib::get_class_type(), TextureAttrib::get_texture(), is_empty(), node(), and NULL.

PandaNode * NodePath::get_top_node  )  const [private]
 

Definition at line 107 of file nodePath.cxx.

References NodePathComponent::get_next(), NodePathComponent::get_node(), is_empty(), NodePathComponent::is_top_node(), NULL, and uncollapse_head().

INLINE const TransformState* NodePath::get_transform  )  const [private]
 

Referenced by get_hpr(), get_mat(), get_pos(), get_quat(), get_scale(), PT(), set_h(), set_hpr(), set_hpr_scale(), set_p(), set_pos(), set_pos_hpr(), set_quat(), set_r(), set_scale(), set_sx(), set_sy(), set_sz(), set_transform(), and wrt_reparent_to().

bool NodePath::get_transparency  )  const [private]
 

Definition at line 2543 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), TransparencyAttrib::get_class_type(), TransparencyAttrib::get_mode(), is_empty(), RenderAttrib::M_none, node(), and NULL.

bool NodePath::get_two_sided  )  const [private]
 

Definition at line 2054 of file nodePath.cxx.

References DCAST, CullFaceAttrib::get_actual_mode(), PandaNode::get_attrib(), CullFaceAttrib::get_class_type(), is_empty(), node(), and NULL.

INLINE float NodePath::get_x const NodePath &  other  )  const [private]
 

INLINE float NodePath::get_x  )  const [private]
 

INLINE float NodePath::get_y const NodePath &  other  )  const [private]
 

INLINE float NodePath::get_y  )  const [private]
 

INLINE float NodePath::get_z const NodePath &  other  )  const [private]
 

INLINE float NodePath::get_z  )  const [private]
 

bool NodePath::has_billboard  )  const [private]
 

Definition at line 2437 of file nodePath.cxx.

References BillboardEffect::get_class_type(), PandaNode::has_effect(), is_empty(), and node().

bool NodePath::has_bin  )  const [private]
 

Definition at line 1505 of file nodePath.cxx.

References CullBinAttrib::get_class_type(), PandaNode::has_attrib(), is_empty(), and node().

bool NodePath::has_color  )  const [private]
 

Definition at line 1426 of file nodePath.cxx.

References ColorAttrib::get_class_type(), PandaNode::has_attrib(), is_empty(), and node().

bool NodePath::has_color_scale  )  const [private]
 

Definition at line 828 of file nodePath.cxx.

References ColorScaleAttrib::get_class_type(), PandaNode::has_attrib(), is_empty(), and node().

bool NodePath::has_compass  )  const [private]
 

Definition at line 2474 of file nodePath.cxx.

References CompassEffect::get_class_type(), PandaNode::has_effect(), is_empty(), and node().

bool NodePath::has_depth_test  )  const [private]
 

Definition at line 2175 of file nodePath.cxx.

References DepthTestAttrib::get_class_type(), PandaNode::has_attrib(), is_empty(), and node().

bool NodePath::has_depth_write  )  const [private]
 

Definition at line 2245 of file nodePath.cxx.

References DepthWriteAttrib::get_class_type(), PandaNode::has_attrib(), is_empty(), and node().

bool NodePath::has_fog  )  const [private]
 

Definition at line 1878 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), FogAttrib::get_class_type(), is_empty(), FogAttrib::is_off(), node(), and NULL.

bool NodePath::has_fog_off  )  const [private]
 

Definition at line 1901 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), FogAttrib::get_class_type(), is_empty(), FogAttrib::is_off(), node(), and NULL.

INLINE bool NodePath::has_mat  )  const [private]
 

bool NodePath::has_material  )  const [private]
 

Definition at line 1785 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), MaterialAttrib::get_class_type(), is_empty(), MaterialAttrib::is_off(), node(), and NULL.

INLINE bool NodePath::has_parent  )  const [private]
 

Referenced by PandaFramework::event_arrow_left(), PandaFramework::event_arrow_right(), PandaFramework::event_arrow_up(), and set_transform().

bool NodePath::has_render_mode  )  const [private]
 

Definition at line 1984 of file nodePath.cxx.

References RenderModeAttrib::get_class_type(), PandaNode::has_attrib(), is_empty(), and node().

bool NodePath::has_texture  )  const [private]
 

Definition at line 1605 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), TextureAttrib::get_class_type(), is_empty(), TextureAttrib::is_off(), node(), and NULL.

bool NodePath::has_texture_off  )  const [private]
 

Definition at line 1628 of file nodePath.cxx.

References DCAST, PandaNode::get_attrib(), ColorAttrib::get_class_type(), is_empty(), TextureAttrib::is_off(), node(), and NULL.

bool NodePath::has_transparency  )  const [private]
 

Definition at line 2526 of file nodePath.cxx.

References TransparencyAttrib::get_class_type(), PandaNode::has_attrib(), is_empty(), and node().

bool NodePath::has_two_sided  )  const [private]
 

Definition at line 2037 of file nodePath.cxx.

References CullFaceAttrib::get_class_type(), PandaNode::has_attrib(), is_empty(), and node().

void NodePath::heads_up const NodePath &  other,
const LPoint3f &  point = LPoint3f(0.0, 0.0, 0.0),
const LVector3f &  up = LVector3f::up()
[private]
 

Definition at line 1348 of file nodePath.cxx.

References get_mat(), get_parent(), get_pos(), is_empty(), and set_quat().

INLINE void NodePath::heads_up const NodePath &  other,
float  x,
float  y,
float  z
[private]
 

void NodePath::heads_up const LPoint3f &  point,
const LVector3f &  up = LVector3f::up()
[private]
 

Definition at line 906 of file nodePath.cxx.

References get_pos(), is_empty(), and set_quat().

INLINE void NodePath::heads_up float  x,
float  y,
float  z
[private]
 

INLINE void NodePath::hide DrawMask  camera_mask  )  [private]
 

INLINE void NodePath::hide  )  [private]
 

Referenced by event_T(), NodePathCollection::hide(), PandaFramework::hide_collision_solids(), and PGEntry::show_hide_cursor().

void NodePath::hide_bounds  )  [private]
 

Definition at line 2719 of file nodePath.cxx.

References PandaNode::clear_effect(), ShowBoundsEffect::get_class_type(), is_empty(), and node().

Referenced by PandaFramework::clear_highlight(), and clear_highlight().

void NodePath::init_type void   )  [inline, static]
 

Definition at line 562 of file nodePath.h.

References register_type().

Referenced by init_libpgraph().

NodePath NodePath::instance_to const NodePath &  other,
int  sort = 0
const [private]
 

Definition at line 287 of file nodePath.cxx.

References fail(), is_empty(), node(), uncollapse_head(), and verify_complete().

Referenced by event_W(), PGItem::instance_to_state_def(), instance_under_node(), and main().

NodePath NodePath::instance_under_node const NodePath &  other,
const string &  name,
int  sort = 0
const [private]
 

Definition at line 312 of file nodePath.cxx.

References attach_new_node(), instance_to(), is_empty(), and remove_node().

INLINE bool NodePath::is_empty  )  const [private]
 

Referenced by NonlinearImager::add_viewer(), Trackball::apply(), attach_new_node(), calc_tight_bounds(), clear_billboard(), clear_bin(), clear_color(), clear_color_scale(), clear_compass(), clear_depth_test(), clear_depth_write(), clear_fog(), PandaFramework::clear_highlight(), clear_material(), clear_render_mode(), clear_texture(), clear_transparency(), clear_two_sided(), copy_to(), CPT(), detach_node(), do_billboard_axis(), do_billboard_point_eye(), do_billboard_point_world(), PandaFramework::event_B(), PandaFramework::event_C(), PandaFramework::event_c(), event_down(), event_h(), PandaFramework::event_L(), event_T(), find(), find_all_matches(), find_all_paths_to(), find_matches(), find_path_to(), flatten_light(), flatten_medium(), flatten_strong(), force_recompute_bounds(), WindowFramework::get_aspect_2d(), get_bin_draw_order(), get_bin_name(), WindowFramework::get_camera_group(), get_children(), get_color(), get_color_scale(), get_depth_test(), get_depth_write(), get_fog(), get_hpr(), PandaFramework::get_models(), WindowFramework::get_mouse(), get_num_nodes(), get_pos(), get_quat(), WindowFramework::get_render(), WindowFramework::get_render_2d(), get_scale(), get_texture(), get_top_node(), get_transparency(), get_two_sided(), NurbsCurveEvaluator::get_vertices(), has_billboard(), has_bin(), has_color(), has_color_scale(), has_compass(), has_depth_test(), has_depth_write(), has_fog(), has_fog_off(), has_material(), has_render_mode(), has_texture(), has_texture_off(), has_transparency(), has_two_sided(), heads_up(), hide_bounds(), instance_to(), PGItem::instance_to_state_def(), instance_under_node(), load_gridded_models(), WindowFramework::load_models(), look_at(), CompassEffect::output(), BillboardEffect::output(), prepare_scene(), PT(), Trackball::recompute(), Trackball::reextract(), remove_node(), NonlinearImager::render_screen(), EggLoader::reparent_decals(), reparent_to(), set_billboard_axis(), set_billboard_point_eye(), set_billboard_point_world(), set_bin(), DisplayRegion::set_camera(), set_color(), set_color_off(), set_color_scale(), set_compass(), set_depth_test(), set_depth_write(), set_fog(), set_fog_off(), SpriteParticleRenderer::set_from_node(), set_h(), PandaFramework::set_highlight(), set_hpr(), set_hpr_scale(), set_mat(), set_material(), set_material_off(), set_p(), set_pos(), set_pos_hpr(), set_pos_hpr_scale(), set_pos_quat_scale(), set_quat(), set_r(), set_render_mode_filled(), set_render_mode_wireframe(), set_scale(), NonlinearImager::set_source_camera(), set_state(), set_sx(), set_sy(), set_sz(), set_texture(), set_texture_off(), set_transform(), set_transparency(), set_two_sided(), NonlinearImager::set_viewer_camera(), set_x(), set_y(), set_z(), show_bounds(), PGEntry::update_text(), verify_complete(), write_bam_file(), and wrt_reparent_to().

INLINE bool NodePath::is_hidden DrawMask  camera_mask = DrawMask::all_on()  )  const [private]
 

Referenced by PandaFramework::hide_collision_solids().

INLINE bool NodePath::is_singleton  )  const [private]
 

Referenced by detach_node(), and remove_node().

INLINE bool NodePath::is_stashed  )  const [private]
 

void NodePath::look_at const NodePath &  other,
const LPoint3f &  point = LPoint3f(0.0, 0.0, 0.0),
const LVector3f &  up = LVector3f::up()
[private]
 

Definition at line 1327 of file nodePath.cxx.

References get_mat(), get_parent(), get_pos(), is_empty(), and set_quat().

INLINE void NodePath::look_at const NodePath &  other,
float  x,
float  y,
float  z
[private]
 

void NodePath::look_at const LPoint3f &  point,
const LVector3f &  up = LVector3f::up()
[private]
 

Definition at line 888 of file nodePath.cxx.

References get_pos(), is_empty(), and set_quat().

INLINE void NodePath::look_at float  x,
float  y,
float  z
[private]
 

INLINE void NodePath::ls ostream &  out,
int  indent_level = 0
const [private]
 

INLINE void NodePath::ls  )  const [private]
 

Referenced by event_B(), PandaFramework::event_L(), and NodePathCollection::ls().

INLINE PandaNode* NodePath::node  )  const [private]
 

Referenced by NonlinearImager::add_viewer(), calc_tight_bounds(), clear_billboard(), clear_bin(), clear_color(), clear_color_scale(), clear_compass(), clear_depth_test(), clear_depth_write(), clear_fog(), clear_material(), clear_render_mode(), clear_texture(), clear_transparency(), clear_two_sided(), copy_to(), PGEntry::cull_callback(), PandaFramework::do_frame(), PandaFramework::event_arrow_left(), PandaFramework::event_arrow_right(), event_L(), find_all_textures(), find_texture(), flatten_light(), flatten_medium(), flatten_strong(), force_recompute_bounds(), get_bin_draw_order(), get_bin_name(), get_children(), get_color(), get_color_scale(), get_depth_test(), get_depth_write(), get_fog(), WindowFramework::get_render_2d(), get_texture(), get_transparency(), get_two_sided(), has_billboard(), has_bin(), has_color(), has_color_scale(), has_compass(), has_depth_test(), has_depth_write(), has_fog(), has_fog_off(), has_material(), has_render_mode(), has_texture(), has_texture_off(), has_transparency(), has_two_sided(), hide_bounds(), PandaFramework::hide_collision_solids(), instance_to(), load_gridded_models(), prepare_scene(), PT(), EggLoader::reparent_decals(), set_billboard_axis(), set_billboard_point_eye(), set_billboard_point_world(), set_bin(), DisplayRegion::set_camera(), set_color(), set_color_off(), set_color_scale(), set_compass(), set_depth_test(), set_depth_write(), set_fog(), set_fog_off(), SpriteParticleRenderer::set_from_node(), set_highlight(), set_material(), set_material_off(), set_render_mode_filled(), set_render_mode_wireframe(), NonlinearImager::set_source_camera(), set_texture(), set_texture_off(), set_transparency(), set_two_sided(), NonlinearImager::set_viewer_camera(), WindowFramework::setup_trackball(), show_bounds(), PandaFramework::show_collision_solids(), and write_bam_file().

INLINE NodePath NodePath::not_found  )  [static, private]
 

Referenced by find(), find_path_to(), get_hidden_ancestor(), get_stashed_ancestor(), and WindowFramework::load_model().

INLINE bool NodePath::operator!= const NodePath &  other  )  const [private]
 

INLINE bool NodePath::operator< const NodePath &  other  )  const [private]
 

INLINE void NodePath::operator= const NodePath &  copy  )  [private]
 

INLINE bool NodePath::operator== const NodePath &  other  )  const [private]
 

void NodePath::output ostream &  out  )  const [private]
 

Definition at line 432 of file nodePath.cxx.

References ET_fail, ET_not_found, ET_removed, NULL, and uncollapse_head().

Referenced by WorkingNodePath::output().

void NodePath::prepare_scene GraphicsStateGuardianBase gsg,
bool  force_retained_mode = false
[private]
 

Definition at line 2689 of file nodePath.cxx.

References CPT(), is_empty(), node(), r_prepare_scene(), and retained_mode.

NodePath::PT NodePathComponent   )  [private]
 

NodePath::PT BoundingVolume   )  const [private]
 

NodePath::PT Material   )  const [private]
 

Referenced by copy_to(), and set_material().

void NodePath::r_adjust_all_priorities PandaNode node,
int  adjustment
[private]
 

Definition at line 3148 of file nodePath.cxx.

References DCAST_INTO_V, PandaNode::get_children(), GeomNode::get_geom_state(), PandaNode::get_state(), PandaNode::is_geom_node(), GeomNode::set_geom_state(), and PandaNode::set_state().

void NodePath::r_find_all_textures PandaNode node,
const RenderState state,
Textures textures
const [private]
 

Definition at line 3248 of file nodePath.cxx.

References CPT(), DCAST, DCAST_INTO_V, PandaNode::get_children(), TextureAttrib::get_class_type(), GeomNode::get_geom_state(), PandaNode::get_state(), TextureAttrib::get_texture(), PandaNode::is_geom_node(), NULL, texture, and textures.

Referenced by find_all_textures().

void NodePath::r_find_matches NodePathCollection result,
const FindApproxLevel level,
int  max_matches,
int  num_levels_remaining
const [private]
 

Definition at line 3099 of file nodePath.cxx.

References FindApproxLevelEntry::_node_path, NodePathCollection::add_path(), FindApproxLevelEntry::consider_node(), WorkingNodePath::get_node_path(), NodePathCollection::get_num_paths(), FindApproxLevelEntry::is_solution(), and level.

Referenced by NodePathCollection::find_all_matches(), and find_matches().

Texture * NodePath::r_find_texture PandaNode node,
const RenderState state,
const GlobPattern glob
const [private]
 

Definition at line 3200 of file nodePath.cxx.

References CPT(), DCAST, DCAST_INTO_R, PandaNode::get_children(), TextureAttrib::get_class_type(), GeomNode::get_geom_state(), PandaNode::get_state(), TextureAttrib::get_texture(), PandaNode::is_geom_node(), GlobPattern::matches(), NULL, and texture.

Referenced by find_texture().

void NodePath::r_force_recompute_bounds PandaNode node  )  [private]
 

Definition at line 3173 of file nodePath.cxx.

References DCAST_INTO_V, PandaNode::get_children(), GeomNode::get_geom(), PandaNode::is_geom_node(), and BoundedObject::mark_bound_stale().

Referenced by force_recompute_bounds().

void NodePath::r_prepare_scene PandaNode node,
const RenderState state,
GraphicsStateGuardianBase gsg,
bool  do_retained_mode
[private]
 

Definition at line 3288 of file nodePath.cxx.

References CPT(), DCAST_INTO_V, PandaNode::get_child(), TextureAttrib::get_class_type(), GeomNode::get_geom_state(), PandaNode::get_num_children(), PandaNode::get_state(), TextureAttrib::get_texture(), PandaNode::is_geom_node(), NULL, and texture.

Referenced by prepare_scene().

void NodePath::remove_node  )  [private]
 

Definition at line 387 of file nodePath.cxx.

References _error_type, PandaNode::detach(), ET_not_found, is_empty(), is_singleton(), removed(), and uncollapse_head().

Referenced by WindowFramework::close_window(), instance_under_node(), load_gridded_models(), PGWaitBar::update(), and PGEntry::update_text().

INLINE NodePath NodePath::removed  )  [static, private]
 

Referenced by remove_node().

void NodePath::reparent_to const NodePath &  other,
int  sort = 0
[private]
 

Definition at line 238 of file nodePath.cxx.

References is_empty(), PandaNode::reparent(), uncollapse_head(), and verify_complete().

Referenced by main(), EggLoader::reparent_decals(), NodePathCollection::reparent_to(), and wrt_reparent_to().

void NodePath::set_billboard_axis const NodePath &  camera,
float  offset
[private]
 

Definition at line 2376 of file nodePath.cxx.

References CPT(), is_empty(), node(), and PandaNode::set_effect().

INLINE void NodePath::set_billboard_axis float  offset = 0.0  )  [private]
 

void NodePath::set_billboard_point_eye const NodePath &  camera,
float  offset
[private]
 

Definition at line 2394 of file nodePath.cxx.

References CPT(), is_empty(), node(), and PandaNode::set_effect().

INLINE void NodePath::set_billboard_point_eye float  offset = 0.0  )  [private]
 

void NodePath::set_billboard_point_world const NodePath &  camera,
float  offset
[private]
 

Definition at line 2411 of file nodePath.cxx.

References CPT(), is_empty(), node(), and PandaNode::set_effect().

INLINE void NodePath::set_billboard_point_world float  offset = 0.0  )  [private]
 

void NodePath::set_bin const string &  bin_name,
int  draw_order,
int  priority = 0
[private]
 

Definition at line 1480 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_attrib().

void NodePath::set_color const Colorf color,
int  priority = 0
[private]
 

Definition at line 1384 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_attrib().

void NodePath::set_color float  r,
float  g,
float  b,
float  a = 1.0,
int  priority = 0
[private]
 

Definition at line 1370 of file nodePath.cxx.

References a, b, Colorf, g, and r.

Referenced by event_fkey(), and ColorLerpFunctor::operator()().

void NodePath::set_color_off int  priority = 0  )  [private]
 

Definition at line 1400 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_attrib().

INLINE void NodePath::set_color_scale float  sx,
float  sy,
float  sz,
float  sa
[private]
 

void NodePath::set_color_scale const LVecBase4f &  scale  )  [private]
 

Definition at line 855 of file nodePath.cxx.

References is_empty(), node(), scale, and PandaNode::set_attrib().

Referenced by event_fkey(), event_v(), and ColorScaleLerpFunctor::operator()().

void NodePath::set_compass const NodePath &  reference = NodePath()  )  [private]
 

Definition at line 2451 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_effect().

void NodePath::set_depth_test bool  depth_test,
int  priority = 0
[private]
 

Definition at line 2142 of file nodePath.cxx.

References is_empty(), RenderAttrib::M_less, RenderAttrib::M_none, mode, node(), RenderAttrib::PandaCompareFunc, and PandaNode::set_attrib().

void NodePath::set_depth_write bool  depth_write,
int  priority = 0
[private]
 

Definition at line 2212 of file nodePath.cxx.

References is_empty(), DepthWriteAttrib::M_on, mode, node(), and PandaNode::set_attrib().

void NodePath::set_fog Fog fog,
int  priority = 0
[private]
 

Definition at line 1831 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_attrib().

void NodePath::set_fog_off int  priority = 0  )  [private]
 

Definition at line 1847 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_attrib().

void NodePath::set_h const NodePath &  other,
float  h
[private]
 

Definition at line 1017 of file nodePath.cxx.

References get_hpr(), is_empty(), and set_hpr().

void NodePath::set_h float  h  )  [private]
 

Definition at line 618 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), set_transform(), and transform.

void NodePath::set_hpr const NodePath &  other,
const LVecBase3f &  hpr
[private]
 

Definition at line 989 of file nodePath.cxx.

References CPT(), TransformState::get_hpr(), get_transform(), TransformState::has_components(), is_empty(), set_hpr(), set_pos_hpr_scale(), and set_transform().

INLINE void NodePath::set_hpr const NodePath &  other,
float  h,
float  p,
float  r
[private]
 

void NodePath::set_hpr const LVecBase3f &  hpr  )  [private]
 

Definition at line 610 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), set_transform(), and transform.

INLINE void NodePath::set_hpr float  h,
float  p,
float  r
[private]
 

Referenced by HprLerpFunctor::operator()(), set_h(), set_hpr(), set_p(), and set_r().

void NodePath::set_hpr_scale const NodePath &  other,
const LVecBase3f &  hpr,
const LVecBase3f &  scale
[private]
 

Definition at line 1231 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), scale, set_transform(), and transform.

INLINE void NodePath::set_hpr_scale const NodePath &  other,
float  h,
float  p,
float  r,
float  sx,
float  sy,
float  sz
[private]
 

void NodePath::set_hpr_scale const LVecBase3f &  hpr,
const LVecBase3f &  scale
[private]
 

Definition at line 772 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), scale, set_transform(), and transform.

INLINE void NodePath::set_hpr_scale float  h,
float  p,
float  r,
float  sx,
float  sy,
float  sz
[private]
 

Referenced by HprScaleLerpFunctor::operator()().

void NodePath::set_mat const NodePath &  other,
const LMatrix4f &  mat
[private]
 

Definition at line 1301 of file nodePath.cxx.

References is_empty(), and set_transform().

void NodePath::set_mat const LMatrix4f &  mat  )  [private]
 

Definition at line 814 of file nodePath.cxx.

References is_empty(), and set_transform().

void NodePath::set_material Material tex,
int  priority = 0
[private]
 

Definition at line 1734 of file nodePath.cxx.

References is_empty(), node(), NULL, PT(), and PandaNode::set_attrib().

void NodePath::set_material_off int  priority = 0  )  [private]
 

Definition at line 1760 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_attrib().

Referenced by WindowFramework::get_render_2d().

INLINE void NodePath::set_max_search_depth int  max_search_depth  )  [static, private]
 

void NodePath::set_p const NodePath &  other,
float  p
[private]
 

Definition at line 1025 of file nodePath.cxx.

References get_hpr(), is_empty(), p, and set_hpr().

void NodePath::set_p float  p  )  [private]
 

Definition at line 628 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), p, set_transform(), and transform.

void NodePath::set_pos const NodePath &  other,
const LVecBase3f &  pos
[private]
 

Definition at line 923 of file nodePath.cxx.

References CPT(), get_pos(), get_transform(), is_empty(), set_pos(), set_pos_hpr_scale(), and set_transform().

INLINE void NodePath::set_pos const NodePath &  other,
float  x,
float  y,
float  z
[private]
 

void NodePath::set_pos const LVecBase3f &  pos  )  [private]
 

Definition at line 563 of file nodePath.cxx.

References get_transform(), is_empty(), set_pos(), and set_transform().

INLINE void NodePath::set_pos float  x,
float  y,
float  z
[private]
 

Referenced by do_billboard_axis(), do_billboard_point_eye(), do_billboard_point_world(), PosLerpFunctor::operator()(), set_pos(), set_x(), set_y(), set_z(), and PGEntry::update_cursor().

void NodePath::set_pos_hpr const NodePath &  other,
const LVecBase3f &  pos,
const LVecBase3f &  hpr
[private]
 

Definition at line 1193 of file nodePath.cxx.

References CPT(), TransformState::get_hpr(), TransformState::get_pos(), get_transform(), TransformState::has_components(), is_empty(), set_pos_hpr_scale(), and set_transform().

INLINE void NodePath::set_pos_hpr const NodePath &  other,
float  x,
float  y,
float  z,
float  h,
float  p,
float  r
[private]
 

void NodePath::set_pos_hpr const LVecBase3f &  pos,
const LVecBase3f &  hpr
[private]
 

Definition at line 757 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), set_transform(), and transform.

INLINE void NodePath::set_pos_hpr float  x,
float  y,
float  z,
float  h,
float  p,
float  r
[private]
 

Referenced by PosHprLerpFunctor::operator()().

void NodePath::set_pos_hpr_scale const NodePath &  other,
const LVecBase3f &  pos,
const LVecBase3f &  hpr,
const LVecBase3f &  scale
[private]
 

Definition at line 1251 of file nodePath.cxx.

References is_empty(), scale, and set_transform().

INLINE void NodePath::set_pos_hpr_scale const NodePath &  other,
float  x,
float  y,
float  z,
float  h,
float  p,
float  r,
float  sx,
float  sy,
float  sz
[private]
 

void NodePath::set_pos_hpr_scale const LVecBase3f &  pos,
const LVecBase3f &  hpr,
const LVecBase3f &  scale
[private]
 

Definition at line 787 of file nodePath.cxx.

References is_empty(), scale, and set_transform().

INLINE void NodePath::set_pos_hpr_scale float  x,
float  y,
float  z,
float  h,
float  p,
float  r,
float  sx,
float  sy,
float  sz
[private]
 

Referenced by PosHprScaleLerpFunctor::operator()(), set_hpr(), set_pos(), set_pos_hpr(), and set_scale().

void NodePath::set_pos_quat_scale const NodePath &  other,
const LVecBase3f &  pos,
const LQuaternionf &  quat,
const LVecBase3f &  scale
[private]
 

Definition at line 1267 of file nodePath.cxx.

References is_empty(), scale, and set_transform().

void NodePath::set_pos_quat_scale const LVecBase3f &  pos,
const LQuaternionf &  quat,
const LVecBase3f &  scale
[private]
 

Definition at line 801 of file nodePath.cxx.

References is_empty(), scale, and set_transform().

Referenced by set_quat().

void NodePath::set_quat const NodePath &  other,
const LQuaternionf &  quat
[private]
 

Definition at line 1077 of file nodePath.cxx.

References CPT(), TransformState::get_quat(), get_transform(), TransformState::has_components(), is_empty(), set_pos_quat_scale(), set_quat(), and set_transform().

void NodePath::set_quat const LQuaternionf &  quat  )  [private]
 

Definition at line 680 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), set_transform(), and transform.

Referenced by do_billboard_axis(), do_billboard_point_eye(), do_billboard_point_world(), heads_up(), look_at(), and set_quat().

void NodePath::set_r const NodePath &  other,
float  r
[private]
 

Definition at line 1033 of file nodePath.cxx.

References get_hpr(), is_empty(), r, and set_hpr().

void NodePath::set_r float  r  )  [private]
 

Definition at line 638 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), r, set_transform(), and transform.

void NodePath::set_render_mode_filled int  priority = 0  )  [private]
 

Definition at line 1956 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_attrib().

void NodePath::set_render_mode_wireframe int  priority = 0  )  [private]
 

Definition at line 1943 of file nodePath.cxx.

References is_empty(), RenderModeAttrib::M_wireframe, node(), and PandaNode::set_attrib().

INLINE void NodePath::set_sa float  sa  )  [private]
 

INLINE void NodePath::set_sb float  sb  )  [private]
 

void NodePath::set_scale const NodePath &  other,
const LVecBase3f &  scale
[private]
 

Definition at line 1123 of file nodePath.cxx.

References CPT(), TransformState::get_scale(), get_transform(), TransformState::has_components(), is_empty(), scale, set_pos_hpr_scale(), set_scale(), and set_transform().

INLINE void NodePath::set_scale const NodePath &  other,
float  sx,
float  sy,
float  sz
[private]
 

void NodePath::set_scale const LVecBase3f &  scale  )  [private]
 

Definition at line 705 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), scale, set_transform(), and transform.

INLINE void NodePath::set_scale float  sx,
float  sy,
float  sz
[private]
 

INLINE void NodePath::set_scale float  scale  )  [private]
 

Referenced by WindowFramework::get_aspect_2d(), ScaleLerpFunctor::operator()(), set_scale(), set_sx(), set_sy(), and set_sz().

INLINE void NodePath::set_sg float  sg  )  [private]
 

INLINE void NodePath::set_sr float  sr  )  [private]
 

void NodePath::set_state const NodePath &  other,
const RenderState state
const [private]
 

Definition at line 492 of file nodePath.cxx.

References _error_type, CPT(), get_parent(), get_state(), is_empty(), and set_state().

INLINE void NodePath::set_state const RenderState state  )  const [private]
 

Referenced by set_state().

void NodePath::set_sx const NodePath &  other,
float  sx
[private]
 

Definition at line 1150 of file nodePath.cxx.

References get_scale(), is_empty(), scale, and set_scale().

void NodePath::set_sx float  sx  )  [private]
 

Definition at line 712 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), scale, set_transform(), and transform.

void NodePath::set_sy const NodePath &  other,
float  sy
[private]
 

Definition at line 1158 of file nodePath.cxx.

References get_scale(), is_empty(), scale, and set_scale().

void NodePath::set_sy float  sy  )  [private]
 

Definition at line 721 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), scale, set_transform(), and transform.

void NodePath::set_sz const NodePath &  other,
float  sz
[private]
 

Definition at line 1166 of file nodePath.cxx.

References get_scale(), is_empty(), scale, and set_scale().

void NodePath::set_sz float  sz  )  [private]
 

Definition at line 730 of file nodePath.cxx.

References CPT(), get_transform(), is_empty(), scale, set_transform(), and transform.

void NodePath::set_texture Texture tex,
int  priority = 0
[private]
 

Definition at line 1558 of file nodePath.cxx.

References is_empty(), node(), PandaNode::set_attrib(), and tex.

void NodePath::set_texture_off int  priority = 0  )  [private]
 

Definition at line 1574 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_attrib().

void NodePath::set_transform const NodePath &  other,
const TransformState transform
const [private]
 

Definition at line 540 of file nodePath.cxx.

References _error_type, CPT(), get_parent(), get_transform(), has_parent(), is_empty(), NodePath(), set_transform(), and transform.

INLINE void NodePath::set_transform const TransformState transform  )  const [private]
 

Referenced by set_h(), set_hpr(), set_hpr_scale(), set_mat(), set_p(), set_pos(), set_pos_hpr(), set_pos_hpr_scale(), set_pos_quat_scale(), set_quat(), set_r(), set_scale(), set_sx(), set_sy(), set_sz(), set_transform(), and wrt_reparent_to().

void NodePath::set_transparency bool  transparency,
int  priority = 0
[private]
 

Definition at line 2488 of file nodePath.cxx.

References is_empty(), TransparencyAttrib::M_alpha, RenderAttrib::M_none, mode, node(), and PandaNode::set_attrib().

Referenced by event_fkey(), and event_v().

void NodePath::set_two_sided bool  two_sided,
int  priority = 0
[private]
 

Definition at line 1999 of file nodePath.cxx.

References is_empty(), CullFaceAttrib::M_cull_clockwise, mode, node(), and PandaNode::set_attrib().

Referenced by NonlinearImager::add_viewer(), WindowFramework::get_render(), and WindowFramework::get_render_2d().

void NodePath::set_x const NodePath &  other,
float  x
[private]
 

Definition at line 947 of file nodePath.cxx.

References get_pos(), is_empty(), set_pos(), and x.

void NodePath::set_x float  x  )  [private]
 

Definition at line 569 of file nodePath.cxx.

References get_pos(), is_empty(), set_pos(), and x.

void NodePath::set_y const NodePath &  other,
float  y
[private]
 

Definition at line 955 of file nodePath.cxx.

References get_pos(), is_empty(), set_pos(), and y.

void NodePath::set_y float  y  )  [private]
 

Definition at line 577 of file nodePath.cxx.

References get_pos(), is_empty(), set_pos(), and y.

void NodePath::set_z const NodePath &  other,
float  z
[private]
 

Definition at line 963 of file nodePath.cxx.

References get_pos(), is_empty(), set_pos(), and z.

void NodePath::set_z float  z  )  [private]
 

Definition at line 585 of file nodePath.cxx.

References get_pos(), is_empty(), set_pos(), and z.

INLINE void NodePath::show DrawMask  camera_mask  )  [private]
 

INLINE void NodePath::show  )  [private]
 

Referenced by event_T(), NodePathCollection::show(), PandaFramework::show_collision_solids(), and PGEntry::show_hide_cursor().

void NodePath::show_bounds  )  [private]
 

Definition at line 2707 of file nodePath.cxx.

References is_empty(), node(), and PandaNode::set_effect().

Referenced by PandaFramework::set_highlight(), and set_highlight().

INLINE bool NodePath::stash  )  [private]
 

Referenced by NodePathCollection::stash().

void NodePath::uncollapse_head  )  const [private]
 

Definition at line 2927 of file nodePath.cxx.

References NULL.

Referenced by attach_new_node(), detach_node(), get_node(), get_num_nodes(), get_top_node(), instance_to(), output(), remove_node(), reparent_to(), and verify_complete().

INLINE bool NodePath::unstash  )  [private]
 

Referenced by NodePathCollection::unstash().

bool NodePath::verify_complete  )  const [private]
 

Definition at line 2621 of file nodePath.cxx.

References PandaNode::find_parent(), NodePathComponent::get_length(), NodePathComponent::get_next(), NodePathComponent::get_node(), PandaNode::get_num_parents(), is_empty(), length, NULL, and uncollapse_head().

Referenced by attach_new_node(), copy_to(), CPT(), find_all_matches(), find_all_paths_to(), instance_to(), reparent_to(), and wrt_reparent_to().

bool NodePath::write_bam_file const string &  filename  )  const [private]
 

Definition at line 2901 of file nodePath.cxx.

References BamFile::close(), is_empty(), node(), BamFile::open_write(), and BamFile::write_object().

void NodePath::write_bounds ostream &  out  )  const [private]
 

Definition at line 2768 of file nodePath.cxx.

void NodePath::wrt_reparent_to const NodePath &  other,
int  sort = 0
[private]
 

Definition at line 259 of file nodePath.cxx.

References get_transform(), is_empty(), reparent_to(), set_transform(), and verify_complete().

Referenced by NodePathCollection::wrt_reparent_to().


Friends And Related Function Documentation

friend class NodePathCollection [friend]
 

Definition at line 569 of file nodePath.h.

friend class WorkingNodePath [friend]
 

Definition at line 570 of file nodePath.h.

Referenced by find_matches().


Member Data Documentation

PUBLISHED NodePath::__pad0__ [private]
 

Definition at line 141 of file nodePath.h.

ErrorType NodePath::_error_type [private]
 

Definition at line 555 of file nodePath.h.

Referenced by detach_node(), remove_node(), set_state(), and set_transform().

int NodePath::_max_search_depth = 7000 [static, private]
 

Definition at line 55 of file nodePath.cxx.

Referenced by find_matches().

TypeHandle NodePath::_type_handle [static, private]
 

Definition at line 56 of file nodePath.cxx.

int n NodePath::const [private]
 

Definition at line 530 of file nodePath.h.

PUBLISHED NodePath::ET_fail [private]
 

Definition at line 141 of file nodePath.h.

Referenced by output().

PUBLISHED NodePath::ET_not_found [private]
 

Definition at line 141 of file nodePath.h.

Referenced by detach_node(), output(), and remove_node().

PUBLISHED NodePath::ET_removed [private]
 

Definition at line 141 of file nodePath.h.

Referenced by output().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:52 2003 for Panda by doxygen1.3