42 animationOverlayImages(0),
43 animationColorOverlays(0) {
61 m_cachedStaticImgId(STATIC_IMAGE_NOT_INITIALIZED),
62 m_cachedStaticImgAngle(0) {
void setColorOverlay(OverlayColors *co)
Sets single ColorOverlay.
OverlayColors * getColorOverlay() const
Returns pointer to single ColorOverlay.
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...
std::vector< ImagePtr > * animationOverlayImages
RenderItem(Instance *parent)
OverlayColors * colorOverlay
void deleteOverlayData()
Deletes OverlayData.
OverlayColors * getStaticColorOverlay(int32_t angle)
Returns closest matching static color overlay for given angle.
int32_t getStaticImageIndexByAngle(int32_t angle)
Returns closest matching static image for given angle.
Object * getObject()
Gets object where this instance is instantiated from.
bool isColorOverlay()
Indicates if there exists a color overlay.
void setAnimationOverlay(std::vector< ImagePtr > *ao, std::vector< OverlayColors *> *aco)
Sets AnimationOverlay and if available AnimationOverlayColors.
int32_t m_cachedStaticImgAngle
std::vector< OverlayColors * > * getAnimationColorOverlay() const
Returns pointer to AnimationColorOverlay vector.
Object visual contains data that is needed for visualizing objects.
std::vector< ImagePtr > * getAnimationOverlay() const
Returns pointer to AnimationOverlay vector.
std::vector< OverlayColors * > * animationColorOverlays
T * getVisual() const
Gets used visualization.
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.