|
override void | UpdateForParams () |
|
void | AddNodes (List< Vector3 > verts, List< int > inds, List< int > fullResInds, List< int > lineInds) |
|
override List< Shape > | GetPointShapes () |
|
virtual void | SubUpdate () |
|
float | ZPosition () |
| Recursively returns the right ZOffset based on input layers. More...
|
|
void | OnValidate () |
| Called after each parameter change in the editor. Contains main update procedures. More...
|
|
virtual void | AddNodes (List< Vector3 > verts, List< int > inds) |
| Adds the "pixels" to the mesh. More...
|
|
Vector3 | GetEdgeBundleCenter (Vector3 originalPoint, float edgeBundle) |
| Returns the edgebundle position for the corresponding point. More...
|
|
◆ ImageLayer()
ImageLayer.ImageLayer |
( |
| ) |
|
◆ AddNodes()
void ImageLayer.AddNodes |
( |
List< Vector3 > |
verts, |
|
|
List< int > |
inds, |
|
|
List< int > |
fullResInds, |
|
|
List< int > |
lineInds |
|
) |
| |
|
protected |
◆ CalcMesh()
override void ImageLayer.CalcMesh |
( |
| ) |
|
|
virtual |
Calculates and sets the mesh of the Layers game object.
Reimplemented from Layer.
◆ Get2DOutputShape()
override Vector2Int ImageLayer.Get2DOutputShape |
( |
| ) |
|
|
virtual |
Returns a 2d Vector of the layers output shape.
- Returns
Reimplemented from Layer.
◆ GetActivationTensorForEpoch()
Array ImageLayer.GetActivationTensorForEpoch |
( |
int |
epoch | ) |
|
◆ GetActivationTensorShape()
int [] ImageLayer.GetActivationTensorShape |
( |
| ) |
|
◆ GetLineStartShapes()
override List<List<Shape> > ImageLayer.GetLineStartShapes |
( |
Vector2Int |
convShape, |
|
|
Vector2Int |
outputShape, |
|
|
Vector2 |
theoreticalOutputShape, |
|
|
Vector2Int |
stride, |
|
|
float |
allCalcs |
|
) |
| |
|
virtual |
◆ GetOutputShape()
override Vector3Int ImageLayer.GetOutputShape |
( |
| ) |
|
|
virtual |
◆ GetPointShapes()
override List<Shape> ImageLayer.GetPointShapes |
( |
| ) |
|
|
protectedvirtual |
◆ SetActivationTensorForEpoch()
void ImageLayer.SetActivationTensorForEpoch |
( |
Array |
tensor, |
|
|
int |
epoch |
|
) |
| |
◆ SetActivationTensorShape()
void ImageLayer.SetActivationTensorShape |
( |
int [] |
tensorShape | ) |
|
◆ SetExpansion()
override void ImageLayer.SetExpansion |
( |
float |
expansion | ) |
|
|
virtual |
Reimplemented from Layer.
◆ UpdateForParams()
override void ImageLayer.UpdateForParams |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from Layer.
◆ depth
◆ fullresOffset
float ImageLayer.fullresOffset = 1.0f |
◆ fullResolution
Vector2Int ImageLayer.fullResolution = new Vector2Int(224, 224) |
◆ nodeSize
float ImageLayer.nodeSize |
◆ pixelSpacing
float ImageLayer.pixelSpacing = 0.05f |
◆ reducedResolution
Vector2Int ImageLayer.reducedResolution = new Vector2Int(11, 11) |
◆ rgb
bool ImageLayer.rgb = true |
◆ showOriginalResolution
bool ImageLayer.showOriginalResolution = false |
◆ spread
float ImageLayer.spread = 1.0f |
◆ xToZ
float ImageLayer.xToZ = 0.0f |
The documentation for this class was generated from the following file:
- src/geometry shader sample project/StandardGeometryShader-master/Assets/Layer/ImageLayer.cs