Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evan Edmond
fslpy
Commits
df909679
Commit
df909679
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
rst fixes
parent
f3f75cc3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fsl/data/mesh.py
+1
-1
1 addition, 1 deletion
fsl/data/mesh.py
fsl/utils/transform.py
+5
-4
5 additions, 4 deletions
fsl/utils/transform.py
with
6 additions
and
5 deletions
fsl/data/mesh.py
+
1
−
1
View file @
df909679
...
@@ -38,7 +38,7 @@ log = logging.getLogger(__name__)
...
@@ -38,7 +38,7 @@ log = logging.getLogger(__name__)
class
TriangleMesh
(
object
):
class
TriangleMesh
(
object
):
"""
The ``TriangleMesh`` class represents a 3D model. A mesh is defined by a
"""
The ``TriangleMesh`` class represents a 3D model. A mesh is defined by a
collection of ``N`` vertices, and ``M`` triangles. The triangles are
collection of ``N`` vertices, and ``M`` triangles. The triangles are
defined by ``(M, 3)
)
indices into the list of vertices.
defined by ``(M, 3)
``
indices into the list of vertices.
A ``TriangleMesh`` instance has the following attributes:
A ``TriangleMesh`` instance has the following attributes:
...
...
This diff is collapsed.
Click to expand it.
fsl/utils/transform.py
+
5
−
4
View file @
df909679
...
@@ -184,10 +184,11 @@ def decompose(xform, angles=True):
...
@@ -184,10 +184,11 @@ def decompose(xform, angles=True):
is returned.
is returned.
:returns: The following:
:returns: The following:
- A sequence of three scales
- A sequence of three translations
- A sequence of three scales
- A sequence of three rotations, in radians. Or, if
- A sequence of three translations
``angles is False``, a rotation matrix.
- A sequence of three rotations, in radians. Or, if
``angles is False``, a rotation matrix.
"""
"""
# The inline comments in the code below are taken verbatim from
# The inline comments in the code below are taken verbatim from
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment