Skip to content

Commit 5bc9662

Browse files
committed
Remove DrawCircle apidoc, add operator workflows for API template
1 parent 124df33 commit 5bc9662

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+912
-35
lines changed

docs/apidoc/BonVision_Primitives_DrawCircle.md

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:bv="clr-namespace:BonVision;assembly=BonVision"
5+
xmlns="https://bonsai-rx.org/2018/workflow">
6+
<Workflow>
7+
<Nodes>
8+
<Expression xsi:type="Combinator">
9+
<Combinator xsi:type="bv:AngleProperty">
10+
<bv:Value>0</bv:Value>
11+
</Combinator>
12+
</Expression>
13+
</Nodes>
14+
<Edges />
15+
</Workflow>
16+
</WorkflowBuilder>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="https://bonsai-rx.org/2018/workflow">
5+
<Workflow>
6+
<Nodes>
7+
<Expression xsi:type="IncludeWorkflow" Path="BonVision:Primitives.BonVisionResources.bonsai" />
8+
</Nodes>
9+
<Edges />
10+
</Workflow>
11+
</WorkflowBuilder>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:p1="clr-namespace:BonVision.Collections;assembly=BonVision"
5+
xmlns="https://bonsai-rx.org/2018/workflow">
6+
<Workflow>
7+
<Nodes>
8+
<Expression xsi:type="Combinator">
9+
<Combinator xsi:type="p1:CreateGratingTrial">
10+
<p1:Delay>0</p1:Delay>
11+
<p1:Duration>1</p1:Duration>
12+
<p1:Diameter>1</p1:Diameter>
13+
<p1:X>0</p1:X>
14+
<p1:Y>0</p1:Y>
15+
<p1:Contrast>1</p1:Contrast>
16+
<p1:SpatialFrequency>10</p1:SpatialFrequency>
17+
<p1:TemporalFrequency>0</p1:TemporalFrequency>
18+
<p1:Orientation>0</p1:Orientation>
19+
</Combinator>
20+
</Expression>
21+
</Nodes>
22+
<Edges />
23+
</Workflow>
24+
</WorkflowBuilder>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:bv="clr-namespace:BonVision;assembly=BonVision"
5+
xmlns="https://bonsai-rx.org/2018/workflow">
6+
<Workflow>
7+
<Nodes>
8+
<Expression xsi:type="Combinator">
9+
<Combinator xsi:type="bv:CreateSparseNoiseGrid">
10+
<bv:Rows>0</bv:Rows>
11+
<bv:Columns>0</bv:Columns>
12+
<bv:ActiveQuads>0</bv:ActiveQuads>
13+
</Combinator>
14+
</Expression>
15+
</Nodes>
16+
<Edges />
17+
</Workflow>
18+
</WorkflowBuilder>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:bv="clr-namespace:BonVision;assembly=BonVision"
5+
xmlns="https://bonsai-rx.org/2018/workflow">
6+
<Workflow>
7+
<Nodes>
8+
<Expression xsi:type="Combinator">
9+
<Combinator xsi:type="bv:CreateSphereGrid">
10+
<bv:Left>-180</bv:Left>
11+
<bv:Right>180</bv:Right>
12+
<bv:Bottom>-90</bv:Bottom>
13+
<bv:Top>90</bv:Top>
14+
</Combinator>
15+
</Expression>
16+
</Nodes>
17+
<Edges />
18+
</Workflow>
19+
</WorkflowBuilder>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:bv="clr-namespace:BonVision;assembly=BonVision"
5+
xmlns="https://bonsai-rx.org/2018/workflow">
6+
<Workflow>
7+
<Nodes>
8+
<Expression xsi:type="Combinator">
9+
<Combinator xsi:type="bv:CreateTextureScale">
10+
<bv:X>1</bv:X>
11+
<bv:Y>1</bv:Y>
12+
</Combinator>
13+
</Expression>
14+
</Nodes>
15+
<Edges />
16+
</Workflow>
17+
</WorkflowBuilder>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:bv="clr-namespace:BonVision;assembly=BonVision"
5+
xmlns="https://bonsai-rx.org/2018/workflow">
6+
<Workflow>
7+
<Nodes>
8+
<Expression xsi:type="Combinator">
9+
<Combinator xsi:type="bv:CreateTextureScale">
10+
<bv:X>1</bv:X>
11+
<bv:Y>1</bv:Y>
12+
</Combinator>
13+
</Expression>
14+
</Nodes>
15+
<Edges />
16+
</Workflow>
17+
</WorkflowBuilder>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns:bv="clr-namespace:BonVision;assembly=BonVision"
5+
xmlns="https://bonsai-rx.org/2018/workflow">
6+
<Workflow>
7+
<Nodes>
8+
<Expression xsi:type="Combinator">
9+
<Combinator xsi:type="bv:CreateVertexGrid" />
10+
</Expression>
11+
</Nodes>
12+
<Edges />
13+
</Workflow>
14+
</WorkflowBuilder>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="https://bonsai-rx.org/2018/workflow">
5+
<Workflow>
6+
<Nodes>
7+
<Expression xsi:type="IncludeWorkflow" Path="BonVision:Environment.CubemapView.bonsai">
8+
<Eye>
9+
<X>0</X>
10+
<Y>0</Y>
11+
<Z>0</Z>
12+
</Eye>
13+
<NearClip>0.1</NearClip>
14+
<FarClip>1000</FarClip>
15+
<Light>
16+
<X>0</X>
17+
<Y>0</Y>
18+
<Z>0</Z>
19+
</Light>
20+
</Expression>
21+
</Nodes>
22+
<Edges />
23+
</Workflow>
24+
</WorkflowBuilder>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="https://bonsai-rx.org/2018/workflow">
5+
<Workflow>
6+
<Nodes>
7+
<Expression xsi:type="IncludeWorkflow" Path="BonVision:Primitives.DrawCheckerboard.bonsai">
8+
<ExtentX>1</ExtentX>
9+
<ExtentY>1</ExtentY>
10+
<LocationX>0</LocationX>
11+
<LocationY>0</LocationY>
12+
<Layer>0</Layer>
13+
<Angle>0</Angle>
14+
<NumberColumns>3</NumberColumns>
15+
<NumberRows>3</NumberRows>
16+
<Phase>0</Phase>
17+
</Expression>
18+
</Nodes>
19+
<Edges />
20+
</Workflow>
21+
</WorkflowBuilder>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="https://bonsai-rx.org/2018/workflow">
5+
<Workflow>
6+
<Nodes>
7+
<Expression xsi:type="IncludeWorkflow" Path="BonVision:Primitives.DrawCircle.bonsai">
8+
<Diameter>0.1</Diameter>
9+
<LocationX>0</LocationX>
10+
<LocationY>0</LocationY>
11+
<Layer>0</Layer>
12+
<ColorR>1</ColorR>
13+
<ColorG>1</ColorG>
14+
<ColorB>1</ColorB>
15+
<ColorA>1</ColorA>
16+
</Expression>
17+
</Nodes>
18+
<Edges />
19+
</Workflow>
20+
</WorkflowBuilder>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="https://bonsai-rx.org/2018/workflow">
5+
<Workflow>
6+
<Nodes>
7+
<Expression xsi:type="IncludeWorkflow" Path="BonVision:Primitives.DrawCircleArray.bonsai">
8+
<PositionData />
9+
<Diameter>0.04</Diameter>
10+
<LocationX>0</LocationX>
11+
<LocationY>0</LocationY>
12+
<Layer>0</Layer>
13+
<ColorR>1</ColorR>
14+
<ColorG>1</ColorG>
15+
<ColorB>1</ColorB>
16+
<ColorA>1</ColorA>
17+
</Expression>
18+
</Nodes>
19+
<Edges />
20+
</Workflow>
21+
</WorkflowBuilder>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="https://bonsai-rx.org/2018/workflow">
5+
<Workflow>
6+
<Nodes>
7+
<Expression xsi:type="IncludeWorkflow" Path="BonVision:Primitives.DrawGratings.bonsai">
8+
<LocationX>0</LocationX>
9+
<LocationY>0</LocationY>
10+
<Layer>0</Layer>
11+
<ExtentX>1</ExtentX>
12+
<ExtentY>1</ExtentY>
13+
<SpatialFrequency>10</SpatialFrequency>
14+
<TemporalFrequency>0</TemporalFrequency>
15+
<Phase>0</Phase>
16+
<Angle>0</Angle>
17+
<SquareWave>false</SquareWave>
18+
<Contrast>1</Contrast>
19+
<DutyCycle xsi:nil="true" />
20+
<Radius>1</Radius>
21+
<Aperture>0</Aperture>
22+
<Opacity>1</Opacity>
23+
</Expression>
24+
</Nodes>
25+
<Edges />
26+
</Workflow>
27+
</WorkflowBuilder>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="https://bonsai-rx.org/2018/workflow">
5+
<Workflow>
6+
<Nodes>
7+
<Expression xsi:type="IncludeWorkflow" Path="BonVision:Primitives.DrawImage.bonsai">
8+
<TextureName />
9+
<ExtentX>1</ExtentX>
10+
<ExtentY>1</ExtentY>
11+
<LocationX>0</LocationX>
12+
<LocationY>0</LocationY>
13+
<Layer>0</Layer>
14+
<Angle>0</Angle>
15+
<ScaleX>1</ScaleX>
16+
<ScaleY>1</ScaleY>
17+
<ShiftX>0</ShiftX>
18+
<ShiftY>0</ShiftY>
19+
</Expression>
20+
</Nodes>
21+
<Edges />
22+
</Workflow>
23+
</WorkflowBuilder>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<WorkflowBuilder Version="2.8.5"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xmlns="https://bonsai-rx.org/2018/workflow">
5+
<Workflow>
6+
<Nodes>
7+
<Expression xsi:type="IncludeWorkflow" Path="BonVision:Primitives.DrawModel.bonsai">
8+
<TranslationX>0</TranslationX>
9+
<TranslationY>0</TranslationY>
10+
<TranslationZ>0</TranslationZ>
11+
<RotationZ>0</RotationZ>
12+
<RotationY>0</RotationY>
13+
<RotationX>0</RotationX>
14+
<ScaleX>1</ScaleX>
15+
<ScaleY>1</ScaleY>
16+
<ScaleZ>1</ScaleZ>
17+
<Ambient>
18+
<X>0.2</X>
19+
<Y>0.2</Y>
20+
<Z>0.2</Z>
21+
</Ambient>
22+
<Diffuse>
23+
<X>0.8</X>
24+
<Y>0.8</Y>
25+
<Z>0.8</Z>
26+
</Diffuse>
27+
<Specular>
28+
<X>0.8</X>
29+
<Y>0.8</Y>
30+
<Z>0.8</Z>
31+
</Specular>
32+
<SpecularExponent>10</SpecularExponent>
33+
<MeshName>Plane</MeshName>
34+
</Expression>
35+
</Nodes>
36+
<Edges />
37+
</Workflow>
38+
</WorkflowBuilder>

0 commit comments

Comments
 (0)