forked from Kitware/vtk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(ts): use relative import of typescript definitions
This commit is changing the import method to make both the esm & normal build to work using the same definitions
- Loading branch information
Showing
112 changed files
with
2,930 additions
and
2,455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
/// <reference path='../../../types.ts' /> | ||
|
||
import { mat3, vec2, vec3 } from "gl-matrix"; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { vtkObject } from "vtk.js/Sources/interfaces"; | ||
import { vtkObject } from "../../../interfaces" ; | ||
|
||
/** | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { vtkObject } from "vtk.js/Sources/interfaces"; | ||
|
||
import { vtkObject } from "../../../interfaces" ; | ||
|
||
/** | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +0,0 @@ | ||
## vtkScalarsToColors - Superclass for mapping scalar values to colors | ||
|
||
### Description | ||
|
||
vtkScalarsToColors is a general-purpose base class for objects that | ||
convert scalars to colors. This include vtkLookupTable classes and | ||
color transfer functions. By itself, this class will simply rescale | ||
the scalars. | ||
|
||
The scalar-to-color mapping can be augmented with an additional | ||
uniform alpha blend. This is used, for example, to blend a vtkActor's | ||
opacity with the lookup table values. | ||
|
||
Specific scalar values may be annotated with text strings that will | ||
be included in color legends using SetAnnotations, SetAnnotation, | ||
GetNumberOfAnnotatedValues, GetAnnotatedValue, GetAnnotation, | ||
RemoveAnnotation, and ResetAnnotations. | ||
|
||
This class also has a method for indicating that the set of | ||
annotated values form a categorical color map; by setting | ||
IndexedLookup to true, you indicate that the annotated values are | ||
the only valid values for which entries in the color table should | ||
be returned. In this mode, subclasses should then assign colors to | ||
annotated values by taking the modulus of an annotated value's | ||
index in the list of annotations with the number of colors in the | ||
table. | ||
|
||
## See Also | ||
|
||
[vtkLookupTable](./Common_Core_LookupTable.html) | ||
[vtkColorTransferFunction](./Rendering_Core_ColorTransferFunction.html) | ||
|
||
## VectorComponent | ||
|
||
Select which component of a vector to map to colors. | ||
|
||
## VectorSize | ||
|
||
When mapping vectors, consider only the number of components selected | ||
by VectorSize to be part of the vector, and ignore any other | ||
components. Set to -1 to map all components. If this is not set | ||
to -1, then you can use SetVectorComponent to set which scalar | ||
component will be the first component in the vector to be mapped. | ||
Oops, something went wrong.