sc::Render(3)
πΈ 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 ()=0virtual 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 > &)=0virtual void polylines (const Ref< RenderedPolylines > &)=0
heads up bestie:clear,polygonsandpolylinesare the=0ones, so they're pure virtual β you cannot just make a plainsc::Renderand 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 theClassDesccorresponding to the giventype_infoobject.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 () constvoid 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 theIdentifierfor 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
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- ubuntu noble: libsc-doc 2.3.1-22build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms