public static Dictionary <string, double> UnprojectModelPoint(IModelViewObject IModelViewinstance, Double X, Double Y, Double Z)
 {
     IModelViewinstance.IModelViewInstance.UnprojectModelPoint(X, Y, Z, out double XOut, out double YOut, out double ZOut);
     return(new Dictionary <string, double>()
     {
         { SWValueConst.Outx, XOut }, { SWValueConst.Outy, YOut }, { SWValueConst.Outz, ZOut }
     });
 }
 public static Int32 FrameState(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.FrameState);
 }
 public static void ShowMagnifyingGlass(IModelViewObject IModelViewinstance, Double Ptx, Double Pty, Double Ptz, Double ZoomFactor, Boolean HideOnClick, Boolean FollowMouse)
 {
     IModelViewinstance.IModelViewInstance.ShowMagnifyingGlass(Ptx, Pty, Ptz, ZoomFactor, HideOnClick, FollowMouse);
 }
 public static Int32 IGetVisibleBox(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.IGetVisibleBox());
 }
 public static void GraphicsRedraw(IModelViewObject IModelViewinstance, Object Rect)
 {
     IModelViewinstance.IModelViewInstance.GraphicsRedraw(Rect);
 }
 public static void RollBy(IModelViewObject IModelViewinstance, Double Angle)
 {
     IModelViewinstance.IModelViewInstance.RollBy(Angle);
 }
 public static IMouseObject GetMouse(IModelViewObject IModelViewinstance)
 {
     return(new IMouseObject(IModelViewinstance.IModelViewInstance.GetMouse()));
 }
 public static Boolean UpdateAllGraphicsLayers(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.UpdateAllGraphicsLayers);
 }
 public static IMathTransformObject Transform(IModelViewObject IModelViewinstance)
 {
     return(new IMathTransformObject(IModelViewinstance.IModelViewInstance.Transform));
 }
 public static Boolean DisplayZebraStripes(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.DisplayZebraStripes);
 }
 public static Boolean XorHighlight(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.XorHighlight);
 }
 public static Int32 HlrQuality(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.HlrQuality);
 }
 public static Double Scale2(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.Scale2);
 }
 public static Int32 DynamicMode(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.DynamicMode);
 }
 public static Double ObjectSizesAway(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.ObjectSizesAway);
 }
 public static Boolean Linked(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.Linked);
 }
 public static Boolean VisibilityViewTools(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.VisibilityViewTools);
 }
 public static void GetStripsOfDIBx64(IModelViewObject IModelViewinstance, Int64 Ldib, Int32 NScanLinesPerStrip, Int32 StripIndex)
 {
     IModelViewinstance.IModelViewInstance.GetStripsOfDIBx64(Ldib, NScanLinesPerStrip, StripIndex);
 }
 public static Int64 GetViewHWndx64(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.GetViewHWndx64());
 }
 public static IMathTransformObject Orientation3(IModelViewObject IModelViewinstance)
 {
     return(new IMathTransformObject(IModelViewinstance.IModelViewInstance.Orientation3));
 }
 public static void SectionAnnotationViewAttr(IModelViewObject IModelViewinstance, Boolean BarrayIn, Double DistIn, String LabelIn)
 {
     IModelViewinstance.IModelViewInstance.SectionAnnotationViewAttr(BarrayIn, DistIn, LabelIn);
 }
 public static IMathVectorObject Translation3(IModelViewObject IModelViewinstance)
 {
     return(new IMathVectorObject(IModelViewinstance.IModelViewInstance.Translation3));
 }
 public static void TurnBy(IModelViewObject IModelViewinstance, Double XAngle, Double YAngle)
 {
     IModelViewinstance.IModelViewInstance.TurnBy(XAngle, YAngle);
 }
 public static Boolean SuppressWaitCursorDuringRedraw(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.SuppressWaitCursorDuringRedraw);
 }
 //public static void IGraphicsRedraw(IModelViewObject IModelViewinstance, Int32& Rect)
 //{
 //    return IModelViewinstance.IModelViewInstance.IGraphicsRedraw(Rect);
 //}
 public static void Activate(IModelViewObject IModelViewinstance)
 {
     IModelViewinstance.IModelViewInstance.Activate();
 }
 public static Int32 DisplayMode(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.DisplayMode);
 }
 public static Double GetBkgdImageDisplayAreaAspectRatio(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.GetBkgdImageDisplayAreaAspectRatio());
 }
 public static Boolean EnableGraphicsUpdate(IModelViewObject IModelViewinstance)
 {
     return(IModelViewinstance.IModelViewInstance.EnableGraphicsUpdate);
 }
示例#29
0
 public static IBodyObject IGetSectionedBody(IPartDocObject IPartDocinstance, IModelViewObject ViewIn)
 {
     return(new IBodyObject(IPartDocinstance.IPartDocInstance.IGetSectionedBody(ViewIn.IModelViewInstance.CastObj <ModelView>())));
 }
 public static ICameraObject Camera(IModelViewObject IModelViewinstance)
 {
     return(new ICameraObject(IModelViewinstance.IModelViewInstance.Camera));
 }