Program Listing for File GraphicalSceneNode.h

Program Listing for File GraphicalSceneNode.h#

Return to documentation for file (include/Karana/Scene/GraphicalSceneNode.h)

/*
*Copyright(c)2024-2025KaranaDynamicsPtyLtd.Allrightsreserved.
*
*NOTICETOUSER:
*
*Thissourcecodeand/ordocumentation(the"LicensedMaterials")is
*theconfidentialandproprietaryinformationofKaranaDynamicsInc.
*UseoftheseLicensedMaterialsisgovernedbythetermsandconditions
*ofaseparatesoftwarelicenseagreementbetweenKaranaDynamicsandthe
*Licensee("LicenseAgreement").Unlessexpresslypermittedunderthat
*agreement,anyreproduction,modification,distribution,ordisclosure
*oftheLicensedMaterials,inwholeorinpart,toanythirdparty
*withoutthepriorwrittenconsentofKaranaDynamicsisstrictlyprohibited.
*
*THELICENSEDMATERIALSAREPROVIDED"ASIS"WITHOUTWARRANTYOFANYKIND.
*KARANADYNAMICSDISCLAIMSALLWARRANTIES,EXPRESSORIMPLIED,INCLUDING
*BUTNOTLIMITEDTOWARRANTIESOFMERCHANTABILITY,NON-INFRINGEMENT,AND
*FITNESSFORAPARTICULARPURPOSE.
*
*INNOEVENTSHALLKARANADYNAMICSBELIABLEFORANYDAMAGESWHATSOEVER,
*INCLUDINGBUTNOTLIMITEDTOLOSSOFPROFITS,DATA,ORUSE,EVENIF
*ADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGES,WHETHERINCONTRACT,TORT,
*OROTHERWISEARISINGOUTOFORINCONNECTIONWITHTHELICENSEDMATERIALS.
*
*U.S.GovernmentEndUsers:TheLicensedMaterialsarea"commercialitem"
*asdefinedat48C.F.R.2.101,andareprovidedtotheU.S.Government
*onlyasacommercialenditemunderthetermsofthislicense.
*
*AnyuseoftheLicensedMaterialsinindividualorcommercialsoftwaremust
*include,intheuserdocumentationandinternalsourcecodecomments,
*thisNotice,Disclaimer,andU.S.GovernmentUseProvision.
*/


#pragmaonce
#include"Karana/Scene/Color.h"
#include"Karana/Scene/SceneNode.h"

namespaceKarana::Scene{
namespacekc=Karana::Core;

classGraphicalScene;

classGraphicalSceneNode:publicvirtualSceneNode{
protected:
GraphicalSceneNode(std::string_viewname,constkc::ks_ptr<Scene>&scene);

staticKarana::Core::ks_ptr<GraphicalSceneNode>
create(std::string_viewname,constkc::ks_ptr<GraphicalScene>&scene);

public:
virtual~GraphicalSceneNode();

virtualvoidshowAxes(floatsize=1)=0;

virtualvoidtrail(constKarana::Core::ks_ptr<GraphicalSceneNode>&relative_to=nullptr,
constColor&color=Color::WHITE)=0;

virtualvoidremoveTrail()=0;
};
}//namespaceKarana::Scene