Class TCylinderNode

Unit

Declaration

type TCylinderNode = class(TAbstractGeometryNode)

Description

Cylinder.

Hierarchy

Overview

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
Public function TexCoordField: TSFNode; override;
Public function SolidField: TSFBool; override;
Public function CalculateSlices: Cardinal;
Public function CalculateStacks: Cardinal;
Public class function ForVRMLVersion(const Version: TX3DVersion): boolean; override;
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
Public function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
Public function AutoGenerate3DTexCoords: boolean; override;
Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;

Properties

Public property FdBottom: TSFBool read FFdBottom;
Public property Bottom: Boolean read GetBottom write SetBottom;
Public property FdHeight: TSFFloat read FFdHeight;
Public property Height: Single read GetHeight write SetHeight;
Public property FdRadius: TSFFloat read FFdRadius;
Public property Radius: Single read GetRadius write SetRadius;
Public property FdSide: TSFBool read FFdSide;
Public property Side: Boolean read GetSide write SetSide;
Public property FdSolid: TSFBool read FFdSolid;
Public property FdTop: TSFBool read FFdTop;
Public property Top: Boolean read GetTop write SetTop;
Public property FdTexCoord: TSFNode read FFdTexCoord;
Public property TexCoord: TX3DNode read GetTexCoord write SetTexCoord;
Public property FdSlices: TSFInt32 read FFdSlices;
Public property Slices: Integer read GetSlices write SetSlices;

Description

Methods

Protected function DirectEnumerateActive(Func: TEnumerateChildrenFunction): Pointer; override;
 
Public function TexCoordField: TSFNode; override;
 
Public function SolidField: TSFBool; override;
 
Public function CalculateSlices: Cardinal;
 
Public function CalculateStacks: Cardinal;
 
Public class function ForVRMLVersion(const Version: TX3DVersion): boolean; override;
 
Public function Proxy(var State: TX3DGraphTraverseState): TAbstractGeometryNode; override;
 
Public function BoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function LocalBoundingBox(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): TBox3D; override;
 
Public function TrianglesCount(State: TX3DGraphTraverseState; ProxyGeometry: TAbstractGeometryNode; ProxyState: TX3DGraphTraverseState): Cardinal; override;
 
Public function AutoGenerate3DTexCoords: boolean; override;
 
Public procedure CreateNode; override;

Create node fields and events.

Public class function ClassX3DType: String; override;
 

Properties

Public property FdBottom: TSFBool read FFdBottom;

Internal wrapper for property Bottom. This wrapper API may change, we advise to access simpler Bottom instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property Bottom: Boolean read GetBottom write SetBottom;
 
Public property FdHeight: TSFFloat read FFdHeight;

Internal wrapper for property Height. This wrapper API may change, we advise to access simpler Height instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property Height: Single read GetHeight write SetHeight;
 
Public property FdRadius: TSFFloat read FFdRadius;

Internal wrapper for property Radius. This wrapper API may change, we advise to access simpler Radius instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property Radius: Single read GetRadius write SetRadius;
 
Public property FdSide: TSFBool read FFdSide;

Internal wrapper for property Side. This wrapper API may change, we advise to access simpler Side instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property Side: Boolean read GetSide write SetSide;
 
Public property FdSolid: TSFBool read FFdSolid;

Internal wrapper for property Solid. This wrapper API may change, we advise to access simpler Solid instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property FdTop: TSFBool read FFdTop;

Internal wrapper for property Top. This wrapper API may change, we advise to access simpler Top instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property Top: Boolean read GetTop write SetTop;
 
Public property FdTexCoord: TSFNode read FFdTexCoord;

Internal wrapper for property TexCoord. This wrapper API may change, we advise to access simpler TexCoord instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property TexCoord: TX3DNode read GetTexCoord write SetTexCoord;
 
Public property FdSlices: TSFInt32 read FFdSlices;

Internal wrapper for property Slices. This wrapper API may change, we advise to access simpler Slices instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Public property Slices: Integer read GetSlices write SetSlices;

How many "slices" to use to approximate the cylinder. The cylinder is rendered using polygons (triangles and quads) that approximate the cylinder shape. The more slices, the more the cylinder will look like a cylinder. Slices divide the objects like slices of a pizza. The default value of 0 means to follow global variable DefaultTriangulationSlices.


Generated by PasDoc 0.16.0.