Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media3D / Generated / ProjectionCamera.cs / 1 / ProjectionCamera.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using MS.Internal; using MS.Internal.Collections; using MS.Internal.PresentationCore; using MS.Utility; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Windows.Markup; using System.Windows.Media.Media3D.Converters; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Security; using System.Security.Permissions; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; using System.Windows.Media.Imaging; // These types are aliased to match the unamanaged names used in interop using BOOL = System.UInt32; using WORD = System.UInt16; using Float = System.Single; namespace System.Windows.Media.Media3D { abstract partial class ProjectionCamera : Camera { //----------------------------------------------------- // // Public Methods // //----------------------------------------------------- #region Public Methods ////// Shadows inherited Clone() with a strongly typed /// version for convenience. /// public new ProjectionCamera Clone() { return (ProjectionCamera)base.Clone(); } ////// Shadows inherited CloneCurrentValue() with a strongly typed /// version for convenience. /// public new ProjectionCamera CloneCurrentValue() { return (ProjectionCamera)base.CloneCurrentValue(); } #endregion Public Methods //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- private static void NearPlaneDistancePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(NearPlaneDistanceProperty); } private static void FarPlaneDistancePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(FarPlaneDistanceProperty); } private static void PositionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(PositionProperty); } private static void LookDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(LookDirectionProperty); } private static void UpDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(UpDirectionProperty); } #region Public Properties ////// NearPlaneDistance - double. Default value is (double)0.125. /// public double NearPlaneDistance { get { return (double) GetValue(NearPlaneDistanceProperty); } set { SetValueInternal(NearPlaneDistanceProperty, value); } } ////// FarPlaneDistance - double. Default value is (double)Double.PositiveInfinity. /// public double FarPlaneDistance { get { return (double) GetValue(FarPlaneDistanceProperty); } set { SetValueInternal(FarPlaneDistanceProperty, value); } } ////// Position - Point3D. Default value is new Point3D(). /// public Point3D Position { get { return (Point3D) GetValue(PositionProperty); } set { SetValueInternal(PositionProperty, value); } } ////// LookDirection - Vector3D. Default value is new Vector3D(0,0,-1). /// public Vector3D LookDirection { get { return (Vector3D) GetValue(LookDirectionProperty); } set { SetValueInternal(LookDirectionProperty, value); } } ////// UpDirection - Vector3D. Default value is new Vector3D(0,1,0). /// public Vector3D UpDirection { get { return (Vector3D) GetValue(UpDirectionProperty); } set { SetValueInternal(UpDirectionProperty, value); } } #endregion Public Properties //------------------------------------------------------ // // Protected Methods // //------------------------------------------------------ #region Protected Methods #endregion ProtectedMethods //----------------------------------------------------- // // Internal Methods // //------------------------------------------------------ #region Internal Methods #endregion Internal Methods //----------------------------------------------------- // // Internal Properties // //----------------------------------------------------- #region Internal Properties #endregion Internal Properties //----------------------------------------------------- // // Dependency Properties // //------------------------------------------------------ #region Dependency Properties ////// The DependencyProperty for the ProjectionCamera.NearPlaneDistance property. /// public static readonly DependencyProperty NearPlaneDistanceProperty; ////// The DependencyProperty for the ProjectionCamera.FarPlaneDistance property. /// public static readonly DependencyProperty FarPlaneDistanceProperty; ////// The DependencyProperty for the ProjectionCamera.Position property. /// public static readonly DependencyProperty PositionProperty; ////// The DependencyProperty for the ProjectionCamera.LookDirection property. /// public static readonly DependencyProperty LookDirectionProperty; ////// The DependencyProperty for the ProjectionCamera.UpDirection property. /// public static readonly DependencyProperty UpDirectionProperty; #endregion Dependency Properties //----------------------------------------------------- // // Internal Fields // //------------------------------------------------------ #region Internal Fields internal const double c_NearPlaneDistance = (double)0.125; internal const double c_FarPlaneDistance = (double)Double.PositiveInfinity; internal static Point3D s_Position = new Point3D(); internal static Vector3D s_LookDirection = new Vector3D(0,0,-1); internal static Vector3D s_UpDirection = new Vector3D(0,1,0); #endregion Internal Fields #region Constructors //------------------------------------------------------ // // Constructors // //----------------------------------------------------- static ProjectionCamera() { // We check our static default fields which are of type Freezable // to make sure that they are not mutable, otherwise we will throw // if these get touched by more than one thread in the lifetime // of your app. (Windows OS Bug #947272) // // Initializations Type typeofThis = typeof(ProjectionCamera); NearPlaneDistanceProperty = RegisterProperty("NearPlaneDistance", typeof(double), typeofThis, (double)0.125, new PropertyChangedCallback(NearPlaneDistancePropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); FarPlaneDistanceProperty = RegisterProperty("FarPlaneDistance", typeof(double), typeofThis, (double)Double.PositiveInfinity, new PropertyChangedCallback(FarPlaneDistancePropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); PositionProperty = RegisterProperty("Position", typeof(Point3D), typeofThis, new Point3D(), new PropertyChangedCallback(PositionPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); LookDirectionProperty = RegisterProperty("LookDirection", typeof(Vector3D), typeofThis, new Vector3D(0,0,-1), new PropertyChangedCallback(LookDirectionPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); UpDirectionProperty = RegisterProperty("UpDirection", typeof(Vector3D), typeofThis, new Vector3D(0,1,0), new PropertyChangedCallback(UpDirectionPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); } #endregion Constructors } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using MS.Internal; using MS.Internal.Collections; using MS.Internal.PresentationCore; using MS.Utility; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Windows.Markup; using System.Windows.Media.Media3D.Converters; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Security; using System.Security.Permissions; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; using System.Windows.Media.Imaging; // These types are aliased to match the unamanaged names used in interop using BOOL = System.UInt32; using WORD = System.UInt16; using Float = System.Single; namespace System.Windows.Media.Media3D { abstract partial class ProjectionCamera : Camera { //----------------------------------------------------- // // Public Methods // //----------------------------------------------------- #region Public Methods ////// Shadows inherited Clone() with a strongly typed /// version for convenience. /// public new ProjectionCamera Clone() { return (ProjectionCamera)base.Clone(); } ////// Shadows inherited CloneCurrentValue() with a strongly typed /// version for convenience. /// public new ProjectionCamera CloneCurrentValue() { return (ProjectionCamera)base.CloneCurrentValue(); } #endregion Public Methods //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- private static void NearPlaneDistancePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(NearPlaneDistanceProperty); } private static void FarPlaneDistancePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(FarPlaneDistanceProperty); } private static void PositionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(PositionProperty); } private static void LookDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(LookDirectionProperty); } private static void UpDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ProjectionCamera target = ((ProjectionCamera) d); target.PropertyChanged(UpDirectionProperty); } #region Public Properties ////// NearPlaneDistance - double. Default value is (double)0.125. /// public double NearPlaneDistance { get { return (double) GetValue(NearPlaneDistanceProperty); } set { SetValueInternal(NearPlaneDistanceProperty, value); } } ////// FarPlaneDistance - double. Default value is (double)Double.PositiveInfinity. /// public double FarPlaneDistance { get { return (double) GetValue(FarPlaneDistanceProperty); } set { SetValueInternal(FarPlaneDistanceProperty, value); } } ////// Position - Point3D. Default value is new Point3D(). /// public Point3D Position { get { return (Point3D) GetValue(PositionProperty); } set { SetValueInternal(PositionProperty, value); } } ////// LookDirection - Vector3D. Default value is new Vector3D(0,0,-1). /// public Vector3D LookDirection { get { return (Vector3D) GetValue(LookDirectionProperty); } set { SetValueInternal(LookDirectionProperty, value); } } ////// UpDirection - Vector3D. Default value is new Vector3D(0,1,0). /// public Vector3D UpDirection { get { return (Vector3D) GetValue(UpDirectionProperty); } set { SetValueInternal(UpDirectionProperty, value); } } #endregion Public Properties //------------------------------------------------------ // // Protected Methods // //------------------------------------------------------ #region Protected Methods #endregion ProtectedMethods //----------------------------------------------------- // // Internal Methods // //------------------------------------------------------ #region Internal Methods #endregion Internal Methods //----------------------------------------------------- // // Internal Properties // //----------------------------------------------------- #region Internal Properties #endregion Internal Properties //----------------------------------------------------- // // Dependency Properties // //------------------------------------------------------ #region Dependency Properties ////// The DependencyProperty for the ProjectionCamera.NearPlaneDistance property. /// public static readonly DependencyProperty NearPlaneDistanceProperty; ////// The DependencyProperty for the ProjectionCamera.FarPlaneDistance property. /// public static readonly DependencyProperty FarPlaneDistanceProperty; ////// The DependencyProperty for the ProjectionCamera.Position property. /// public static readonly DependencyProperty PositionProperty; ////// The DependencyProperty for the ProjectionCamera.LookDirection property. /// public static readonly DependencyProperty LookDirectionProperty; ////// The DependencyProperty for the ProjectionCamera.UpDirection property. /// public static readonly DependencyProperty UpDirectionProperty; #endregion Dependency Properties //----------------------------------------------------- // // Internal Fields // //------------------------------------------------------ #region Internal Fields internal const double c_NearPlaneDistance = (double)0.125; internal const double c_FarPlaneDistance = (double)Double.PositiveInfinity; internal static Point3D s_Position = new Point3D(); internal static Vector3D s_LookDirection = new Vector3D(0,0,-1); internal static Vector3D s_UpDirection = new Vector3D(0,1,0); #endregion Internal Fields #region Constructors //------------------------------------------------------ // // Constructors // //----------------------------------------------------- static ProjectionCamera() { // We check our static default fields which are of type Freezable // to make sure that they are not mutable, otherwise we will throw // if these get touched by more than one thread in the lifetime // of your app. (Windows OS Bug #947272) // // Initializations Type typeofThis = typeof(ProjectionCamera); NearPlaneDistanceProperty = RegisterProperty("NearPlaneDistance", typeof(double), typeofThis, (double)0.125, new PropertyChangedCallback(NearPlaneDistancePropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); FarPlaneDistanceProperty = RegisterProperty("FarPlaneDistance", typeof(double), typeofThis, (double)Double.PositiveInfinity, new PropertyChangedCallback(FarPlaneDistancePropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); PositionProperty = RegisterProperty("Position", typeof(Point3D), typeofThis, new Point3D(), new PropertyChangedCallback(PositionPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); LookDirectionProperty = RegisterProperty("LookDirection", typeof(Vector3D), typeofThis, new Vector3D(0,0,-1), new PropertyChangedCallback(LookDirectionPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); UpDirectionProperty = RegisterProperty("UpDirection", typeof(Vector3D), typeofThis, new Vector3D(0,1,0), new PropertyChangedCallback(UpDirectionPropertyChanged), null, /* isIndependentlyAnimated = */ true, /* coerceValueCallback */ null); } #endregion Constructors } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataRowChangeEvent.cs
- ContentHostHelper.cs
- BooleanAnimationUsingKeyFrames.cs
- HMACMD5.cs
- HtmlInputButton.cs
- VisualStyleInformation.cs
- ILGenerator.cs
- ClientRoleProvider.cs
- ControlType.cs
- WebPartMovingEventArgs.cs
- CompilationSection.cs
- NavigationPropertyEmitter.cs
- InternalException.cs
- PathStreamGeometryContext.cs
- StrokeCollectionDefaultValueFactory.cs
- SystemColors.cs
- CompiledQueryCacheKey.cs
- ADMembershipUser.cs
- ResourcePermissionBase.cs
- OrthographicCamera.cs
- SoundPlayerAction.cs
- ProfileEventArgs.cs
- PropertyTab.cs
- MetadataItem.cs
- RemoteArgument.cs
- ExternalDataExchangeService.cs
- DbSourceCommand.cs
- FilterQueryOptionExpression.cs
- InvalidFilterCriteriaException.cs
- DebugView.cs
- CompositeCollectionView.cs
- SqlParameter.cs
- JavaScriptString.cs
- TcpConnectionPool.cs
- ModifierKeysValueSerializer.cs
- WebEvents.cs
- FixedDocument.cs
- UndoEngine.cs
- JsonDeserializer.cs
- ResourceContainer.cs
- Privilege.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ConfigurationSectionGroup.cs
- BuildProviderUtils.cs
- XmlSchemaObjectTable.cs
- Pair.cs
- _TLSstream.cs
- FileDialogPermission.cs
- Content.cs
- PropertyValue.cs
- MsmqIntegrationInputChannel.cs
- PackageRelationshipCollection.cs
- RouteItem.cs
- XmlSchemaCompilationSettings.cs
- DesignerSelectionListAdapter.cs
- Int64KeyFrameCollection.cs
- ButtonField.cs
- WaitForChangedResult.cs
- Hash.cs
- MailAddressCollection.cs
- StylusPointPropertyInfo.cs
- ExpressionLink.cs
- ControlParameter.cs
- TypeInfo.cs
- Hex.cs
- TaskFileService.cs
- FtpWebResponse.cs
- TypedReference.cs
- MissingManifestResourceException.cs
- NonParentingControl.cs
- RealizationDrawingContextWalker.cs
- Schema.cs
- PnrpPermission.cs
- SQLBoolean.cs
- XmlEntity.cs
- SettingsPropertyCollection.cs
- MonitoringDescriptionAttribute.cs
- DesignerObjectListAdapter.cs
- SqlReferenceCollection.cs
- PersianCalendar.cs
- ExecutionScope.cs
- SqlProcedureAttribute.cs
- ItemDragEvent.cs
- LoadedOrUnloadedOperation.cs
- PageContent.cs
- WebPartUserCapability.cs
- LinearGradientBrush.cs
- KeyboardEventArgs.cs
- CachedBitmap.cs
- ParentQuery.cs
- ObjectSet.cs
- WebOperationContext.cs
- UriScheme.cs
- GridLengthConverter.cs
- HtmlSelect.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- SoapTypeAttribute.cs
- DataBoundControl.cs
- DataSet.cs
- WindowsTokenRoleProvider.cs