void vtHeightField3d::Initialize(const LinearUnits units, const DRECT &earthextents, float fMinHeight, float fMaxHeight) { vtHeightField::Initialize(earthextents, fMinHeight, fMaxHeight); m_LocalCS.Setup(units, m_EarthExtents); UpdateWorldExtents(); }
void vtHeightField3d::SetEarthExtents(const DRECT &ext) { vtHeightField::SetEarthExtents(ext); m_LocalCS.Setup(m_LocalCS.GetUnits(), DPoint2(m_EarthExtents.left, m_EarthExtents.bottom)); UpdateWorldExtents(); }
void vtHeightField3d::SetEarthExtents(const DRECT &ext) { vtHeightField::SetEarthExtents(ext); m_Conversion.SetOrigin(DPoint2(m_EarthExtents.left, m_EarthExtents.bottom)); UpdateWorldExtents(); }