Пример #1
0
        public ILCameraWrapper(ILCamera source, ILPanelEditor editor, string path, string name = null, string label = null)
            : base(source, editor, path, BuildName(name, editor.Panel, source, "Camera"), label)
        {
            // ILCamera needs to be accessed from SceneSyncRoot (instead of Scene)
            this.source = GetSyncNode(source);

            this.source.MouseDoubleClick += OnMouseDoubleClick;
        }
Пример #2
0
 public ILCamera(ILCamera vport)
 {
     m_rho      = vport.m_rho;
     m_phi      = vport.m_phi;
     m_distance = vport.m_distance;
     m_lookAtX  = vport.m_lookAtX;
     m_lookAtY  = vport.m_lookAtY;
     m_lookAtZ  = vport.m_lookAtZ;
     m_posX     = vport.m_posX;
     m_posY     = vport.m_posY;
     m_posZ     = vport.m_posZ;
     updateCachedVars();
     computeQuadrant();
 }
Пример #3
0
 public ILLayoutData(ILCamera camera) {
     CameraPosition = camera; 
 }
Пример #4
0
 public ILCamera (ILCamera vport) {
     m_rho = vport.m_rho; 
     m_phi = vport.m_phi; 
     m_distance = vport.m_distance;
     m_lookAtX = vport.m_lookAtX;
     m_lookAtY = vport.m_lookAtY;
     m_lookAtZ = vport.m_lookAtZ;
     m_posX = vport.m_posX;
     m_posY = vport.m_posY;
     m_posZ = vport.m_posZ; 
     updateCachedVars();
     computeQuadrant();
 }
Пример #5
0
 public ILLayoutData(ILCamera camera)
 {
     CameraPosition = camera;
 }