Click or drag to resize
AB4D logo

TubePathVisual3D Class

TubePathVisual3D class is used to create a Visual3D that represents a series of connected 3D lines created with connected 3D tube models.
Inheritance Hierarchy

Namespace: Ab3d.Visuals
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class TubePathVisual3D : BaseModelVisual3D

The TubePathVisual3D type exposes the following members.

Constructors
 NameDescription
Public methodTubePathVisual3D Constructor
Public methodTubePathVisual3D(String) Constructor
Top
Properties
 NameDescription
Public propertyGenerateTextureCoordinates Gets or sets a Boolean that specifies if texture coordinates are generated (created mesh is more complicated in this case). Default value is true.
Public propertyIsPathClosed Gets or sets a value that specifies if end position is connected to the start position. Default value is false.
Public propertyIsTubeClosed Gets or sets a value that specifies if the start and end segment of the TubePathVisual3D are closed so that it is not possible to see inside the tube. Default value is true.
Public propertyPathPositions Gets or sets a Point3DCollection that specifies the path positions.
Public propertyRadius Gets or sets the radius of the Tube.
Public propertySegments Gets or sets the number of segments that are used to create the circular area of the Tube. Default value is 10.
Top
Methods
 NameDescription
Protected methodRefreshGeometry Recreates the Visual3D geometry
(Overrides BaseModelVisual3DRefreshGeometry)
Top
Fields
 NameDescription
Public fieldStatic memberGenerateTextureCoordinatesProperty GenerateTextureCoordinatesProperty
Public fieldStatic memberIsPathClosedProperty IsPathClosedProperty
Public fieldStatic memberIsTubeClosedProperty IsTubeClosedProperty
Public fieldStatic memberPathPositionsProperty PathPositionsProperty
Public fieldStatic memberRadiusProperty RadiusProperty
Public fieldStatic memberSegmentsProperty SegmentsProperty
Top
Extension Methods
 NameDescription
Public Extension MethodDumpHierarchy Display details about the hierarchy of Visual3D children to Debug console (for example to Visual Studio's Immediate window).
(Defined by Extensions)
Public Extension MethodForEachGeometryModel3D Performs the specified action on each GeometryModel3D inside the rootModelVisual3D.
(Defined by Extensions)
Public Extension MethodForEachVisual3D Performs the specified action on each ModelVisual3D inside the rootModelVisual3D.
(Defined by Extensions)
Public Extension MethodGetName Gets name of the Visual3D that was previously set by SetName extension method.
(Defined by Extensions)
Public Extension MethodSetName Sets Name property to Visual3D. Note that if name is not correct for WPF, it can be corrected (name must start with a letter or the underscore character (_), and must contain only letters, digits, or underscores). In this case the SetName method will set the corrected name to the object and return false (in this case you can call GetName to get the corrected name). True is returned when the original name is set to the object.
(Defined by Extensions)
Top
See Also