Click or drag to resize
RenderAreaSource Class
An ImageSource that displays a user-created Open Inventor scenegraph.
Inheritance Hierarchy
SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.WindowsFreezable
        System.Windows.Media.AnimationAnimatable
          System.Windows.MediaImageSource
            System.Windows.InteropD3DImage
              OIV.Inventor.ViewerComponents.Wpf.RenderAreasRenderAreaSource

Namespace: OIV.Inventor.ViewerComponents.Wpf.RenderAreas
Assembly: OIV.Inventor.ViewerComponents.Wpf (in OIV.Inventor.ViewerComponents.Wpf.dll) Version: 2023.1.3.0.Release.5fd1c1ad27c99c06f73891d4218ee7122fbde35a
Syntax
public class RenderAreaSource : D3DImage, 
	IDisposable, SiRenderArea, SiRenderAreaInteractive, SiRenderAreaAntialiasing, SiRenderAreaStillSuperSampling

The RenderAreaSource type exposes the following members.

Constructors
  NameDescription
Public methodRenderAreaSource
Create a new instance of the RenderAreaSource class.
Top
Methods
  NameDescription
Public methodAddDirtyRect
Specifies the area of the back buffer that changed.
(Inherited from D3DImage.)
Public methodApplyAnimationClock(DependencyProperty, AnimationClock)
Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used.
(Inherited from Animatable.)
Public methodApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)
Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the specified HandoffBehavior is used.
(Inherited from Animatable.)
Public methodBeginAnimation(DependencyProperty, AnimationTimeline)
Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the SnapshotAndReplace handoff behavior is used.
(Inherited from Animatable.)
Public methodBeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)
Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the specified HandoffBehavior is used.
(Inherited from Animatable.)
Public methodCheckAccess
Determines whether the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)
Public methodClearValue(DependencyProperty)
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Public methodClearValue(DependencyPropertyKey)
Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey.
(Inherited from DependencyObject.)
Public methodClone
Creates a modifiable clone of this D3DImage object, making deep copies of this object's values. When copying dependency properties, this method copies resource references and data bindings (which may no longer resolve), but not animations or their current values.
(Inherited from D3DImage.)
Public methodCloneCurrentValue
Creates a modifiable clone of this D3DImage object, making deep copies of this object's current values. Resource references, data bindings, and animations are not copied, but their current values are copied.
(Inherited from D3DImage.)
Public methodCoerceValue
Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.
(Inherited from DependencyObject.)
Public methodDispose
Public methodEquals
Determines whether a provided DependencyObject is equivalent to the current DependencyObject.
(Inherited from DependencyObject.)
Public methodFreeze
Makes the current object unmodifiable and sets its IsFrozen property to true.
(Inherited from Freezable.)
Public methodGetAnimationBaseValue
Returns the non-animated value of the specified DependencyProperty.
(Inherited from Animatable.)
Public methodGetAntialiasingMode
Gets the antialiasing mode.
Public methodGetAntialiasingQuality
Gets the antialiasing quality value.
Public methodGetAsFrozen
Creates a frozen copy of the Freezable, using base (non-animated) property values. Because the copy is frozen, any frozen sub-objects are copied by reference.
(Inherited from Freezable.)
Public methodGetClearColor
Get the RGBA value used when the color buffer is cleared.
Public methodGetClearDepth
Get the depth value used when the depth buffer is cleared.
Public methodGetClearPolicy
Get the color buffer and depth buffer clear policy.
Public methodGetCurrentValueAsFrozen
Creates a frozen copy of the Freezable using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference.
(Inherited from Freezable.)
Public methodGetGLRenderAction
Get the render action used for rendering.
Public methodGetHashCode
Gets a hash code for this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetInteractiveMode Obsolete.
Gets the current interactive mode.
Public methodGetLocalValueEnumerator
Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetSceneGraph
Get the scene graph displayed.
Public methodGetSceneManager
Get the scene manager.
Public methodGetSize
Get the size to use for rendering.
Public methodGetStillSuperSamplingDelay
Gets delay for supersampling when "still" (not interacting).
Public methodGetStillSuperSamplingQuality
Gets quality for supersampling when "still" (not interacting).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
Public methodInvalidateProperty
Re-evaluates the effective value for the specified dependency property
(Inherited from DependencyObject.)
Public methodLock
Locks the D3DImage and enables operations on the back buffer.
(Inherited from D3DImage.)
Public methodProcessEvent
Propragate a single inventor event to the SoRenderAreaCore owned by the instance.
Public methodProcessEvents
Propragate a list of inventor events to the SoRenderAreaCore owned by the instance.
Public methodReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Public methodRender
Render the managed scene graph (see setSceneGraph).
Public methodResize
Resize the image source to the desired size.
Public methodSetAntialiasingMode
Sets the antialiasing mode.
Public methodSetAntialiasingQuality
Sets the antialiasing quality value.
Public methodSetBackBuffer
Assigns a Direct3D surface as the source of the back buffer.
(Inherited from D3DImage.)
Public methodSetClearColor
Defines the RGBA value used when the color buffer is cleared.
Public methodSetClearDepth
Defines the depth value used when the depth buffer is cleared.
Public methodSetClearPolicy
Defines the color buffer and depth buffer clear policy.
Public methodSetCurrentValue
Sets the value of a dependency property without changing its value source.
(Inherited from DependencyObject.)
Public methodSetGLRenderAction
Defines the render action used for rendering.
Public methodSetInteractiveMode Obsolete.
Defines the current interactive mode.
Public methodSetSceneGraph
Set the scenegraph to be displayed.
Public methodSetSize
Defines the size to use for rendering.
Public methodSetStillSuperSamplingDelay
Sets delay for supersampling when "still" (not interacting).
Public methodSetStillSuperSamplingQuality
Sets quality for supersampling when "still" (not interacting).
Public methodSetValue(DependencyProperty, Object)
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
Public methodSetValue(DependencyPropertyKey, Object)
Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.
(Inherited from DependencyObject.)
Public methodToString
Creates a string representation of this object based on the current culture.
(Inherited from ImageSource.)
Public methodToString(IFormatProvider)
Creates a string representation of this object based on the IFormatProvider passed in. If the provider is null, the CurrentCulture is used.
(Inherited from ImageSource.)
Public methodTryLock
Attempts to lock the D3DImage and waits for the specified duration.
(Inherited from D3DImage.)
Public methodUnlock
Decrements the lock count for the D3DImage.
(Inherited from D3DImage.)
Public methodVerifyAccess
Enforces that the calling thread has access to this DispatcherObject.
(Inherited from DispatcherObject.)
Top
Fields
  NameDescription
Public fieldStatic memberLastRenderStatusProperty
The last render status of the image source.
Public fieldStatic memberPixelHeightProperty
The height (in pixel) of the RenderAreaSource.
Public fieldStatic memberPixelWidthProperty
The width (in pixel) of the RenderAreaSource.
Top
Properties
  NameDescription
Public propertyCanFreeze
Gets a value that indicates whether the object can be made unmodifiable.
(Inherited from Freezable.)
Public propertyDependencyObjectType
Gets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject.)
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Public propertyHasAnimatedProperties
Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object's dependency properties.
(Inherited from Animatable.)
Public propertyHeight
Gets the height of the D3DImage.
(Inherited from D3DImage.)
Public propertyIsFrontBufferAvailable
Gets a value that indicates whether a front buffer exists.
(Inherited from D3DImage.)
Public propertyIsFrozen
Gets a value that indicates whether the object is currently modifiable.
(Inherited from Freezable.)
Public propertyIsSealed
Gets a value that indicates whether this instance is currently sealed (read-only).
(Inherited from DependencyObject.)
Public propertyLastRenderStatus
Gets the render status of the last render.
Public propertyMetadata
Gets the metadata associated with the image source.
(Inherited from D3DImage.)
Public propertyPixelHeight
Gets or sets the height of the RenderAreaSource, in pixels.
Public propertyPixelWidth
Gets or sets the width of the RenderAreaSource, in pixels.
Public propertyWidth
Gets the width of the D3DImage.
(Inherited from D3DImage.)
Top
Events
  NameDescription
Public eventChanged
Occurs when the Freezable or an object it contains is modified.
(Inherited from Freezable.)
Public eventIsFrontBufferAvailableChanged
Occurs when the IsFrontBufferAvailable property changes.
(Inherited from D3DImage.)
Public eventPostRender
Event raised after the render occurs.
Public eventPreRender
Event raised before the render occurs.
Public eventStartRender
Event raised when a new render starts.
Top
Remarks
Caution note Caution
To users of Visual Studio: the Visual Studio designer cannot load components defined in x64 assemblies. Since the assembly containing this type is not targeted AnyCPU, you can only use an assembly which targets x86 to load this component into the designer.
Caution note Caution
To users of Visual Studio: in order for the RenderAreaSource component to be correctly loaded into the designer, you must run Visual Studio with the PATH environment variable including the %OIVNETHOME%\assemblies\%OIVARCH% directory (the OIVARCH must be the same as the referenced assemblies) in order for designer process (XDesProc.exe) to find native dependencies of referenced assemblies. The design time working directory differs from the execution time working directory and the designer process ignores the linked resources while copying the referenced assemblies to the new output directory.
See Also