Replace m_type by hardcoding type return in getType()
m_type is stored within each class with a lot of inheritance (geometryMap, sceneobject, geometry...) to help quickly accessing the type from the base class without dynamic casting the object in all possible variances in a
A better way to do this to avoid redundancy in information (storing
m_type while a dynamic cast would work) is to define
getType() as a static pure virtual function in the base class and implement it in the inheriting classes by hardcoding the return value to the appropriate type.
Could also consider getting rid of
Type and looking into