示例#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;
 }