47 m_cachedStaticImgAngle(0) {
int32_t getStaticImageIndexByAngle(uint32_t angle, Instance *instance)
Returns closest matching static image for given angle.
void reset(T *ptr=0)
reset this pointer to a null shared pointer this can be used to lower the reference count of the shar...
RenderItem(Instance *parent)
T * getVisual() const
Gets used visualization.
Object * getObject()
Gets object where this instance is instantiated from.
int32_t m_cachedStaticImgAngle
Object visual contains data that is needed for visualizing objects.
int32_t m_cachedStaticImgId
An Instance is an "instantiation" of an Object at a Location.
const int32_t STATIC_IMAGE_NOT_INITIALIZED
void reset()
Resets the important values.