All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Eegeo::Labels::LabelView Class Reference
Inheritance diagram for Eegeo::Labels::LabelView:
Eegeo::NonCopyable

Public Types

typedef IAnchoredLabel::IdType IdType
 

Public Member Functions

 LabelView (const IAnchoredLabel &anchoredLabel, const LabelStyle &labelStyle, bool hasTextComponent, bool hasIconComponent, const v2 &textScale, const v2 &textAlignmentOffset, const v2 &iconScale, const v2 &iconAlignmentOffset, bool isHidden, bool horizonCullAlwaysRequired, int pickingGroup, int tieBreakPriority, int lodCount, u32 componentMaskPerLod[LOD_ARRAY_SIZE])
 
IdType GetId () const
 
void NotifyAnchorChanged ()
 
bool HasCachedAnchorBasisEcef () const
 
void UpdateCached (const LabelViewUpdateParams &labelViewUpdateParams)
 
LabelViewVisibility::Type CalcTransformsAndVisibility (const LabelViewUpdateParams &labelViewUpdateParams, LabelViewTransforms &out_result) const
 
void SetTransforms (const LabelViewTransforms &transforms)
 
void UpdateFadeState (float dt)
 
const std::vector
< Text::ShapedGlyph > & 
GetShapedGlyphs () const
 
const Icons::IconDefinitionGetIcon () const
 
const LabelStyleGetStyle () const
 
int GetStyleIndex () const
 
v2 GetTextTranslate () const
 
v2 GetIconTranslate () const
 
v2 GetRotate () const
 
v2 GetTextScale () const
 
const v2GetIconScale () const
 
float GetGlyphSizeScale () const
 
LabelDisplay::Type GetDisplayType () const
 
bool WillIgnoreOcclusion () const
 
const Geometry::AxisAlignedBox2GetLabelAxisAlignedBounds () const
 
const Geometry::OrientedBox2GetComponentOrientedBounds (const LabelComponent::Type labelComponent) const
 
const Geometry::AxisAlignedBox2GetComponentAxisAlignedBounds (const LabelComponent::Type labelComponent) const
 
m44 GetCameraRelativeWorldTransform () const
 
int GetPriority () const
 
int GetSubPriority () const
 
float GetFadeParam () const
 
float GetTextFadeParam () const
 
bool ShouldDisplayComponent (const LabelComponent::Type labelComponent) const
 
bool IsAxisAligned () const
 
int GetTiebreakPriority () const
 
bool HasComponent (const LabelComponent::Type labelComponent) const
 
u32 GetComponentMask () const
 
int GetOccludableComponentCount () const
 
LabelFadeState::Type GetFadeState () const
 
void CalcProjectedConstraintPoints (const Camera::RenderCamera &renderCamera, v2 &out_start, v2 &out_end) const
 
v2 CalcProjectedAnchorPoint (const Camera::RenderCamera &renderCamera) const
 
void BeginFadeIn ()
 
bool ShouldDisplayForLevel (int zLevel) const
 
bool IsHidden () const
 
void SetHidden (bool hidden)
 
const IAnchoredLabelGetAnchoredLabel () const
 
int GetPickingGroup () const
 
int GetLod () const
 
void SetLod (int lod)
 
bool IsInvisibleLod () const
 
int GetLodCount () const
 
u32 GetComponentMaskForLod (int lod) const
 
const Geometry::AxisAlignedBox2GetAxisAlignedBoundsForLod (int lod) const
 
float GetViewDepth () const
 
- Public Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

Static Public Member Functions

static void UpdateTransformsPrefetch (const LabelView *pLabelView)
 
static void UpdateFadeStatePrefetch (const LabelView *pLabelView)
 

Static Public Attributes

static const int LOD_ARRAY_SIZE = 2
 

The documentation for this class was generated from the following files: