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

ClipPlaneAttrib Class Reference

#include <clipPlaneAttrib.h>

Inheritance diagram for ClipPlaneAttrib:

RenderAttrib TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject List of all members.

Public Member Functions

virtual void issue (GraphicsStateGuardianBase *gsg) const
virtual void output (ostream &out) const
virtual void write_datagram (BamWriter *manager, Datagram &dg)
virtual int complete_pointers (TypedWritable **plist, BamReader *manager)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

void register_with_read_factory ()
TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

virtual int compare_to_impl (const RenderAttrib *other) const
virtual CPT (RenderAttrib) compose_impl(const RenderAttrib *other) const
virtual CPT (RenderAttrib) invert_compose_impl(const RenderAttrib *other) const
virtual RenderAttribmake_default_impl () const
void fillin (DatagramIterator &scan, BamReader *manager)

Static Protected Member Functions

TypedWritablemake_from_bam (const FactoryParams &params)

Private Types

typedef ov_set< PT(PlaneNodePlanes )

Private Member Functions

INLINE ClipPlaneAttrib ()
INLINE Operation get_operation () const
INLINE int get_num_planes () const
INLINE PlaneNodeget_plane (int n) const
bool has_plane (PlaneNode *plane) const
INLINE CPT (RenderAttrib) add_plane(PlaneNode *plane) const
INLINE CPT (RenderAttrib) remove_plane(PlaneNode *plane) const
INLINE bool is_identity () const
INLINE bool is_all_off () const
 CPT (RenderAttrib) do_add(const ClipPlaneAttrib *other
 CPT (RenderAttrib) do_remove(const ClipPlaneAttrib *other

Static Private Member Functions

 CPT (RenderAttrib) make_all_off()
 CPT (RenderAttrib) make(Operation op
 CPT (RenderAttrib) make(Operation op
 CPT (RenderAttrib) make(Operation op
 CPT (RenderAttrib) make(Operation op

Private Attributes

PUBLISHED __pad0__: enum Operation { O_set
PUBLISHED O_add
PUBLISHED O_remove
PlaneNodeplane
PlaneNodeplane1
PlaneNode PlaneNodeplane2
PlaneNodeplane1
PlaneNode PlaneNodeplane2
PlaneNode PlaneNode PlaneNodeplane3
PlaneNodeplane1
PlaneNode PlaneNodeplane2
PlaneNode PlaneNode PlaneNodeplane3
PlaneNode PlaneNode PlaneNode
PlaneNode
plane4
Operation op const
Operation _operation
Planes _planes

Static Private Attributes

TypeHandle _type_handle

Member Typedef Documentation

typedef ov_set< PT(PlaneNode) ClipPlaneAttrib::Planes) [private]
 

Definition at line 87 of file clipPlaneAttrib.h.


Constructor & Destructor Documentation

INLINE ClipPlaneAttrib::ClipPlaneAttrib  )  [private]
 


Member Function Documentation

int ClipPlaneAttrib::compare_to_impl const RenderAttrib other  )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 184 of file clipPlaneAttrib.cxx.

References _operation, _planes, DCAST_INTO_R, and plane.

int ClipPlaneAttrib::complete_pointers TypedWritable **  plist,
BamReader manager
[virtual]
 

Reimplemented from TypedWritable.

Definition at line 438 of file clipPlaneAttrib.cxx.

References _planes, TypedWritable::complete_pointers(), and DCAST_INTO_R.

ClipPlaneAttrib::CPT RenderAttrib   )  const [private]
 

Reimplemented from RenderAttrib.

ClipPlaneAttrib::CPT RenderAttrib   )  const [private]
 

Reimplemented from RenderAttrib.

virtual ClipPlaneAttrib::CPT RenderAttrib   )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

virtual ClipPlaneAttrib::CPT RenderAttrib   )  const [protected, virtual]
 

Reimplemented from RenderAttrib.

INLINE ClipPlaneAttrib::CPT RenderAttrib   )  const [private]
 

Reimplemented from RenderAttrib.

INLINE ClipPlaneAttrib::CPT RenderAttrib   )  const [private]
 

Reimplemented from RenderAttrib.

ClipPlaneAttrib::CPT RenderAttrib   )  [static, private]
 

Reimplemented from RenderAttrib.

ClipPlaneAttrib::CPT RenderAttrib   )  [static, private]
 

Reimplemented from RenderAttrib.

ClipPlaneAttrib::CPT RenderAttrib   )  [static, private]
 

Reimplemented from RenderAttrib.

ClipPlaneAttrib::CPT RenderAttrib   )  [static, private]
 

Reimplemented from RenderAttrib.

ClipPlaneAttrib::CPT RenderAttrib   )  [static, private]
 

Reimplemented from RenderAttrib.

void ClipPlaneAttrib::fillin DatagramIterator scan,
BamReader manager
[protected]
 

Reimplemented from RenderAttrib.

Definition at line 479 of file clipPlaneAttrib.cxx.

References _operation, _planes, RenderAttrib::fillin(), DatagramIterator::get_int8(), DatagramIterator::get_uint16(), NULL, and BamReader::read_pointer().

Referenced by make_from_bam().

virtual TypeHandle ClipPlaneAttrib::force_init_type void   )  [inline, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 111 of file clipPlaneAttrib.h.

References RenderAttrib::get_class_type(), and RenderAttrib::init_type().

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

Reimplemented from RenderAttrib.

Definition at line 100 of file clipPlaneAttrib.h.

Referenced by register_with_read_factory().

INLINE int ClipPlaneAttrib::get_num_planes  )  const [private]
 

Referenced by GraphicsStateGuardian::issue_clip_plane().

INLINE Operation ClipPlaneAttrib::get_operation  )  const [private]
 

Referenced by GraphicsStateGuardian::issue_clip_plane().

INLINE PlaneNode* ClipPlaneAttrib::get_plane int  n  )  const [private]
 

Referenced by GraphicsStateGuardian::issue_clip_plane().

virtual TypeHandle ClipPlaneAttrib::get_type void   )  const [inline, virtual]
 

Reimplemented from RenderAttrib.

Definition at line 108 of file clipPlaneAttrib.h.

References RenderAttrib::get_class_type().

Referenced by output().

bool ClipPlaneAttrib::has_plane PlaneNode plane  )  const [private]
 

Definition at line 119 of file clipPlaneAttrib.cxx.

References _planes.

Referenced by GraphicsStateGuardian::issue_clip_plane().

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

Reimplemented from RenderAttrib.

Definition at line 103 of file clipPlaneAttrib.h.

References RenderAttrib::get_class_type(), RenderAttrib::init_type(), and register_type().

Referenced by init_libpgraph().

INLINE bool ClipPlaneAttrib::is_all_off  )  const [private]
 

INLINE bool ClipPlaneAttrib::is_identity  )  const [private]
 

void ClipPlaneAttrib::issue GraphicsStateGuardianBase gsg  )  const [virtual]
 

Reimplemented from RenderAttrib.

Definition at line 133 of file clipPlaneAttrib.cxx.

References GraphicsStateGuardianBase::issue_clip_plane().

RenderAttrib * ClipPlaneAttrib::make_default_impl  )  const [protected, virtual]
 

Implements RenderAttrib.

Definition at line 293 of file clipPlaneAttrib.cxx.

TypedWritable * ClipPlaneAttrib::make_from_bam const FactoryParams params  )  [static, protected]
 

Definition at line 460 of file clipPlaneAttrib.cxx.

References fillin(), params, and parse_params().

Referenced by register_with_read_factory().

void ClipPlaneAttrib::output ostream &  out  )  const [virtual]
 

Definition at line 143 of file clipPlaneAttrib.cxx.

References _operation, _planes, get_type(), O_add, O_remove, and plane.

void ClipPlaneAttrib::register_with_read_factory  )  [static]
 

Definition at line 404 of file clipPlaneAttrib.cxx.

References get_class_type(), BamReader::get_factory(), make_from_bam(), and Factory< TypedWritable >::register_factory().

Referenced by init_libpgraph().

void ClipPlaneAttrib::write_datagram BamWriter manager,
Datagram dg
[virtual]
 

Reimplemented from RenderAttrib.

Definition at line 415 of file clipPlaneAttrib.cxx.

References _operation, _planes, Datagram::add_int8(), Datagram::add_uint16(), plane, PN_uint16, RenderAttrib::write_datagram(), and BamWriter::write_pointer().


Member Data Documentation

PUBLISHED ClipPlaneAttrib::__pad0__ [private]
 

Reimplemented from RenderAttrib.

Definition at line 42 of file clipPlaneAttrib.h.

Operation ClipPlaneAttrib::_operation [private]
 

Definition at line 86 of file clipPlaneAttrib.h.

Referenced by compare_to_impl(), CPT(), fillin(), output(), and write_datagram().

Planes ClipPlaneAttrib::_planes [private]
 

Definition at line 88 of file clipPlaneAttrib.h.

Referenced by compare_to_impl(), complete_pointers(), fillin(), has_plane(), output(), and write_datagram().

TypeHandle ClipPlaneAttrib::_type_handle [static, private]
 

Reimplemented from RenderAttrib.

Definition at line 27 of file clipPlaneAttrib.cxx.

Operation op ClipPlaneAttrib::const [private]
 

Definition at line 83 of file clipPlaneAttrib.h.

PUBLISHED ClipPlaneAttrib::O_add [private]
 

Definition at line 42 of file clipPlaneAttrib.h.

Referenced by output().

PUBLISHED ClipPlaneAttrib::O_remove [private]
 

Definition at line 42 of file clipPlaneAttrib.h.

Referenced by GraphicsStateGuardian::issue_clip_plane(), and output().

PlaneNode* ClipPlaneAttrib::plane [private]
 

Definition at line 49 of file clipPlaneAttrib.h.

Referenced by compare_to_impl(), output(), and write_datagram().

PlaneNode* ClipPlaneAttrib::plane1 [private]
 

Definition at line 56 of file clipPlaneAttrib.h.

PlaneNode* ClipPlaneAttrib::plane1 [private]
 

Definition at line 53 of file clipPlaneAttrib.h.

PlaneNode* ClipPlaneAttrib::plane1 [private]
 

Definition at line 51 of file clipPlaneAttrib.h.

PlaneNode PlaneNode* ClipPlaneAttrib::plane2 [private]
 

Definition at line 56 of file clipPlaneAttrib.h.

PlaneNode PlaneNode* ClipPlaneAttrib::plane2 [private]
 

Definition at line 53 of file clipPlaneAttrib.h.

PlaneNode PlaneNode* ClipPlaneAttrib::plane2 [private]
 

Definition at line 51 of file clipPlaneAttrib.h.

PlaneNode PlaneNode PlaneNode* ClipPlaneAttrib::plane3 [private]
 

Definition at line 56 of file clipPlaneAttrib.h.

PlaneNode PlaneNode PlaneNode* ClipPlaneAttrib::plane3 [private]
 

Definition at line 53 of file clipPlaneAttrib.h.

PlaneNode PlaneNode PlaneNode PlaneNode* ClipPlaneAttrib::plane4 [private]
 

Definition at line 56 of file clipPlaneAttrib.h.


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