sc::Render(3)

πŸ“¦
version 2.3.1 Β· 4 versions
, in fedora 43, ubuntu noble

🌸 NAME 🌸

sc::Render β€” bestie, you're in section 3 of the Library Functions Manual, and this is the render base class page. πŸ’–


✨ SYNOPSIS ✨

okay so first things first, the family tree 🌳:

  • It inherits sc::DescribedClass.
  • It is inherited by sc::FileRender.

no cap, that's the whole lineage. now let's get into the members πŸ‘‘

πŸ’… Public Member Functions

  • Render (const Ref< KeyVal > &)
  • Ref< Material > default_material ()
  • Ref< Appearance > default_appearance ()
  • Ref< Transform > default_transform ()
  • void default_material (const Ref< Material > &m)
  • void default_appearance (const Ref< Appearance > &a)
  • void default_transform (const Ref< Transform > &t)
  • virtual void clear ()=0
  • virtual void render (const Ref< RenderedObject > &)
  • virtual void animate (const Ref< AnimatedObject > &)
  • virtual void set (const Ref< RenderedObjectSet > &)
  • virtual void sphere (const Ref< RenderedSphere > &)
  • virtual void polygons (const Ref< RenderedPolygons > &)=0
  • virtual void polylines (const Ref< RenderedPolylines > &)=0
heads up bestie: clear, polygons and polylines are the =0 ones, so they're pure virtual β€” you cannot just make a plain sc::Render and vibe, you gotta bring your own. πŸ’€

🫢 Public Member Functions inherited from sc::DescribedClass

  • DescribedClass (const DescribedClass &)
  • DescribedClass & operator= (const DescribedClass &)
  • ClassDesc * class_desc () const throw () β€” this returns the unique pointer to the ClassDesc corresponding to the given type_info object.
  • const char * class_name () const β€” returns the name of the object's exact type.
  • int class_version () const β€” returns the version of the class.
  • virtual void print (std::ostream &=ExEnv::out0()) const β€” prints the object.

πŸ¦‹ Public Member Functions inherited from sc::RefCount

  • int lock_ptr () const β€” lock this object.
  • int unlock_ptr () const β€” unlock this object.
  • void use_locks (bool inVal) β€” start and stop using locks on this object.
  • refcount_t nreference () const β€” return the reference count.
  • refcount_t reference () β€” increment the reference count and return the new count.
  • refcount_t dereference () β€” decrement the reference count and return the new count.
  • int managed () const
  • void unmanage () β€” turn off the reference counting mechanism for this object.
  • int managed () const β€” return 1 if the object is managed, otherwise return 0.
not me noticing managed () shows up twice πŸ™ˆ that's literally what the page says, so it goes in twice. periodt.

🌈 Public Member Functions inherited from sc::Identity

  • Identifier identifier () β€” return the Identifier for this argument.

πŸŽ€ Protected Member Functions

  • virtual void push_material (const Ref< Material > &m)
  • virtual void push_appearance (const Ref< Appearance > &a)
  • virtual void push_transform (const Ref< Transform > &t)
  • virtual Ref< Material > pop_material ()
  • virtual Ref< Appearance > pop_appearance ()
  • virtual Ref< Transform > pop_transform ()

πŸ’œ Protected Member Functions inherited from sc::RefCount

  • RefCount (const RefCount &)
  • RefCount & operator= (const RefCount &)

⭐ Protected Attributes

  • Ref< Material > default_material_
  • Ref< Appearance > default_appearance_
  • Ref< Transform > default_transform_
  • Stack< Ref< Material > > material_stack_
  • Stack< Ref< Appearance > > appearance_stack_
  • Stack< Ref< Transform > > transform_stack_

the push/pop girls and the stacks?? it's giving very much "balance your brackets or perish" energy 🧚


πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for MPQC from the source code.


and that's the whole page, bestie β€” you ate. πŸ“ this was pulled straight outta MPQC Version 2.3.1, filed under sc::Render(3). mwah πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from