Upgraded visualization libraries

Major refactoring of color legend framework
Added discrete log color legend
p4#: 18989
This commit is contained in:
Magne Sjaastad
2012-10-02 10:17:52 +02:00
parent 082560b2a5
commit 9c1ce7591e
163 changed files with 8917 additions and 3214 deletions

View File

@@ -80,11 +80,13 @@ ref<Part> Part::shallowCopy() const
{
ref<Part> newPart = new Part;
newPart->m_id = m_id;
newPart->m_name = m_name;
newPart->m_enableMask = m_enableMask;
newPart->m_transform = m_transform;
newPart->m_boundingBox = m_boundingBox;
newPart->m_name = m_name;
newPart->m_id = m_id;
newPart->m_enableMask = m_enableMask;
newPart->m_priority = m_priority;
newPart->m_transform = m_transform;
newPart->m_boundingBox = m_boundingBox;
newPart->m_sourceInfo = m_sourceInfo;
uint i;
for (i = 0; i < MAX_NUM_LOD_LEVELS; i++)
@@ -302,6 +304,9 @@ const Transform* Part::transform() const
//--------------------------------------------------------------------------------------------------
/// Set the transform (matrix) to use for this part. NULL for none.
///
/// Note that you need to call updateBoundingBox() after setting the transform and after any changes
/// to the transform object.
//--------------------------------------------------------------------------------------------------
void Part::setTransform(Transform* transform)
{
@@ -432,6 +437,16 @@ void Part::setSourceInfo(Object* sourceInfo)
m_sourceInfo = sourceInfo;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
Object* Part::sourceInfo()
{
return m_sourceInfo.p();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------