Click or drag to resize

GraphicsContext3DBase Class

Provides the base implementation for three-dimensional graphics contexts.
Inheritance Hierarchy
SystemObject
  Altaxo.Graph.Graph3D.GraphicsContextGraphicsContextD3DPrimitivesBase
    Altaxo.Graph.Graph3D.GraphicsContextGraphicsContext3DBase

Namespace: Altaxo.Graph.Graph3D.GraphicsContext
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public abstract class GraphicsContext3DBase : GraphicsContextD3DPrimitivesBase, 
	IGraphicsContext3D, ITransformationContext

The GraphicsContext3DBase type exposes the following members.

Constructors
 NameDescription
Protected methodGraphicsContext3DBaseInitializes a new instance of the GraphicsContext3DBase class
Top
Properties
 NameDescription
Public propertyTransformation Gets the current transformation matrix.
Public propertyTransposedInverseTransformation Gets the transposed inverse transformation matrix.
Top
Methods
 NameDescription
Public methodDrawLine(PenX3D, IPolylineD3D) Draws a 3D polyline.
Public methodDrawLine(PenX3D, PointD3D, PointD3D) Draws a 3D line segment.
Public methodDrawString(String, FontX3D, IMaterial, PointD3D) Draws text at the specified position.
Public methodDrawString(String, FontX3D, IMaterial, PointD3D, Alignment, Alignment, Alignment) Draws a string with explicit alignments.
Public methodDrawTriangle Draws a triangle using the specified material.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPositionIndexedTriangleBuffer Gets an indexed triangle buffer without using a normal, i.e. either IPositionIndexedTriangleBuffer, IPositionColorIndexedTriangleBuffer or IPositionUVIndexedTriangleBuffer, depending on wether the material has its own color or texture.
Public methodGetPositionNormalIndexedTriangleBuffer Gets an indexed triangle buffer with a normal, i.e. either IPositionNormalIndexedTriangleBuffer, IPositionNormalColorIndexedTriangleBuffer or IPositionNormalUVIndexedTriangleBuffer, depending on wether the material has its own color or texture.
Public methodGetPositionNormalIndexedTriangleBufferWithClipping Gets an indexed triangle buffer with a normal and optional clipping.
Public methodGetPositionNormalUIndexedTriangleBuffer Gets an indexed triangle buffer with a normal and an additional scalar value.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodMeasureString Measures a text string in 3D space.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodPrependTransform Prepends a transformation matrix.
Public methodRestoreGraphicsState Restores a previously saved graphics state.
Public methodRotateTransform Applies a rotation.
Public methodSaveGraphicsState Saves the current graphics state.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTranslateTransform(VectorD3D) Applies a translation.
Public methodTranslateTransform(Double, Double, Double) Applies a translation.
Top
See Also