Click or drag to resize

CylinderRendererAspect Class

A basic cylinder renderer.
Inheritance Hierarchy
SystemObject
  System.DynamicDynamicObject
    NotifyPropertyChangedBase
      SimpleCustomTypeDescriptor
        GlobalizedProperties
          Demo3D.CommonBindableBase
            Demo3D.VisualsSerializableObject
              Demo3D.VisualsAspectComponentBase
                RendererAspectBase
                  Demo3D.Visuals.RenderersRendererAspectBaseCylinderRenderable
                    Demo3D.Visuals.RenderersRendererAspectCylinderRenderable
                      Demo3D.Visuals.Renderers.PrimitivesPrimitiveRendererAspectCylinderRenderable
                        Demo3D.Visuals.Renderers.PrimitivesCylinderRendererAspect

Namespace:  Demo3D.Visuals.Renderers.Primitives
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 14.0.0.10531
Syntax
C#
public class CylinderRendererAspect : PrimitiveRendererAspect<CylinderRenderable>

The CylinderRendererAspect type exposes the following members.

Constructors
  NameDescription
Public methodCylinderRendererAspect
Initializes a new instance of the CylinderRendererAspect class
Top
Properties
  NameDescription
Public propertyAngle
How much of the cylinder is drawn.
Public propertyAspectManagedBy
The Aspect that this is managed by.
(Inherited from AspectComponentBase.)
Public propertyBoundingBox (Inherited from RendererAspectT.)
Public propertyBoundingSphere (Inherited from RendererAspectT.)
Public propertyConeRatio
Ratio of the radii at either end. A ratio of 1 will create a cylinder, A ratio of 0 will create a cone
Public propertyControlPoints (Overrides PrimitiveRendererAspectTControlPoints.)
Public propertyCurveAngle
When non zero this extrudes the cylinder around a curve with a radius of CurveRadius.
Public propertyCurveRadius
When CurveAngle is non zero this extrudes the cylinder around a curve with a radius of CurveRadius.
Public propertyCurveSegments
When CurveAngle is non zero this extrudes the cylinder around a curve with a radius of CurveRadius with this number of segments to the curve. The default is 20.
Public propertyDocument (Inherited from PrimitiveRendererAspectT.)
Public propertyHasRenderables (Inherited from RendererAspectBaseT.)
Public propertyId (Inherited from SerializableObject.)
Public propertyInnerRadius
The radius of the cylinder's hollow section.
Public propertyIsCollapsed
Collapse or expand the aspect in the Aspect Viewer.
(Inherited from AspectComponentBase.)
Public propertyIsEnabled (Inherited from AspectComponentBase.)
Public propertyIsInitialized (Inherited from AspectComponentBase.)
Public propertyIsReadOnly (Inherited from AspectComponentBase.)
Public propertyLength
The length of the cylinder along its main axis (Y axis dimension).
Public propertyMaterial
The color and texture of the cylinder's surface.
Public propertyName
A unique name for the aspect
(Inherited from AspectComponentBase.)
Public propertyRadius
The radius of the cylinder (in the X/Z plane).
Public propertyRadiusRatio
This controls how elliptical the cylinder is.
Protected propertyRenderable (Inherited from PrimitiveRendererAspectT.)
Public propertyRenderables (Inherited from RendererAspectBaseT.)
Public propertyShowResizeControlPoints (Inherited from PrimitiveRendererAspectT.)
Public propertySkew
When CurveAngle is non zero this skews the extruded cylinder this distance between the start and the end of the curve.
Public propertySlices
The number of sides the cylinder has in plan view. A higher number produces a more accurate cylinder, but takes longer to draw.
Public propertyStartAngle
The starting angle for the cylinder.
Public propertyWorldMatrix (Inherited from PrimitiveRendererAspectT.)
Top
Methods
  NameDescription
Protected methodCanAdd
Determine whether the aspect can be added to the AspectContainer.
(Inherited from AspectComponentBase.)
Protected methodCleanupBindingAPI (Inherited from AspectComponentBase.)
Public methodCreateMesh (Inherited from PrimitiveRendererAspectT.)
Public methodFindAspectT (Inherited from AspectComponentBase.)
Public methodFindCreateAspectT (Inherited from AspectComponentBase.)
Public methodFindCreateManagedAspectT (Inherited from AspectComponentBase.)
Public methodGetRenderablesU (Inherited from RendererAspectBaseT.)
Protected methodNotifyRenderableRemoved (Inherited from RendererAspectBaseT.)
Protected methodOnAdded (Inherited from PrimitiveRendererAspectT.)
Protected methodOnAssigned
Called when assigned to an aspect container, this should never be invoked manually. No other aspects should be accessed within this method.
(Inherited from AspectComponentBase.)
Protected methodOnInitialize
Called when the aspect container is Initialized, this should never be invoked manually
(Inherited from AspectComponentBase.)
Protected methodOnRemoved (Inherited from PrimitiveRendererAspectT.)
Protected methodOnReset
Called when the aspect container is Reset, this should never be invoked manually
(Inherited from AspectComponentBase.)
Public methodPick (Inherited from RendererAspectT.)
Public methodPickFromWorldFrustum (Inherited from RendererAspectT.)
Public methodPreRender (Inherited from RendererAspectT.)
Public methodRaisePropertiesChanged (Inherited from BindableBase.)
Public methodRaisePropertyChanged(PropertyChangedEventArgs) (Inherited from BindableBase.)
Public methodRaisePropertyChanged(String) (Inherited from BindableBase.)
Public methodRemoveAspect(Object) (Inherited from AspectComponentBase.)
Public methodRemoveAspectT (Inherited from AspectComponentBase.)
Public methodRemoveManagedAspects (Inherited from AspectComponentBase.)
Public methodRender (Inherited from RendererAspectT.)
Public methodRenderShadow (Inherited from RendererAspectT.)
Public methodSerializableDependency(SerializableObject) (Inherited from AspectComponentBase.)
Public methodSerializableDependency(Visual) (Inherited from AspectComponentBase.)
Protected methodSetINotifyPropertyChangedPropertyT (Inherited from BindableBase.)
Protected methodSetPropertyT(T, T, PropertyChangedEventArgs) (Inherited from BindableBase.)
Protected methodSetPropertyT(T, T, String) (Inherited from BindableBase.)
Public methodToString (Inherited from AspectComponentBase.)
Protected methodUpdateBindingAPI (Inherited from AspectComponentBase.)
Top
Events
  NameDescription
Public eventIsEnabledChanged (Inherited from AspectComponentBase.)
Top
Fields
See Also