-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from FezVrasta/light-export
feat: new light export
- Loading branch information
Showing
3 changed files
with
67 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,4 @@ | ||
// Ensure vtk.js classes available for Algorithm and Reader | ||
import './AvailableClasses'; | ||
|
||
// Get React pieces | ||
import Core from './core/index'; | ||
import Representations from './representations/index'; | ||
|
||
import { | ||
ViewContext, | ||
RepresentationContext, | ||
DataSetContext, | ||
FieldsContext, | ||
DownstreamContext, | ||
} from './core/View'; | ||
|
||
// Core | ||
export const VolumeRepresentation = Core.VolumeRepresentation; | ||
export const SliceRepresentation = Core.SliceRepresentation; | ||
export const VolumeController = Core.VolumeController; | ||
export const PointData = Core.PointData; | ||
export const PolyData = Core.PolyData; | ||
export const Reader = Core.Reader; | ||
export const ShareDataSet = Core.ShareDataSet; | ||
export const View = Core.View; | ||
export const GeometryRepresentation = Core.GeometryRepresentation; | ||
export const Geometry2DRepresentation = Core.Geometry2DRepresentation; | ||
export const GlyphRepresentation = Core.GlyphRepresentation; | ||
export const ImageData = Core.ImageData; | ||
export const DataArray = Core.DataArray; | ||
export const FieldData = Core.FieldData; | ||
export const Algorithm = Core.Algorithm; | ||
export const Calculator = Core.Calculator; | ||
export const CellData = Core.CellData; | ||
export const MultiViewRoot = Core.MultiViewRoot; | ||
|
||
// Representations | ||
export const PointCloudRepresentation = | ||
Representations.PointCloudRepresentation; | ||
export const VolumeDataRepresentation = | ||
Representations.VolumeDataRepresentation; | ||
|
||
// Context | ||
export const Contexts = { | ||
ViewContext, | ||
RepresentationContext, | ||
DataSetContext, | ||
FieldsContext, | ||
DownstreamContext, | ||
}; | ||
|
||
export default { | ||
Core, | ||
Representations, | ||
Contexts, | ||
}; | ||
export * from './light'; |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Get React pieces | ||
import Core from './core/index'; | ||
import Representations from './representations/index'; | ||
|
||
import { | ||
ViewContext, | ||
RepresentationContext, | ||
DataSetContext, | ||
FieldsContext, | ||
DownstreamContext, | ||
} from './core/View'; | ||
|
||
// Core | ||
export const VolumeRepresentation = Core.VolumeRepresentation; | ||
export const SliceRepresentation = Core.SliceRepresentation; | ||
export const VolumeController = Core.VolumeController; | ||
export const PointData = Core.PointData; | ||
export const PolyData = Core.PolyData; | ||
export const Reader = Core.Reader; | ||
export const ShareDataSet = Core.ShareDataSet; | ||
export const View = Core.View; | ||
export const GeometryRepresentation = Core.GeometryRepresentation; | ||
export const Geometry2DRepresentation = Core.Geometry2DRepresentation; | ||
export const GlyphRepresentation = Core.GlyphRepresentation; | ||
export const ImageData = Core.ImageData; | ||
export const DataArray = Core.DataArray; | ||
export const FieldData = Core.FieldData; | ||
export const Algorithm = Core.Algorithm; | ||
export const Calculator = Core.Calculator; | ||
export const CellData = Core.CellData; | ||
export const MultiViewRoot = Core.MultiViewRoot; | ||
|
||
// Representations | ||
export const PointCloudRepresentation = | ||
Representations.PointCloudRepresentation; | ||
export const VolumeDataRepresentation = | ||
Representations.VolumeDataRepresentation; | ||
|
||
// Context | ||
export const Contexts = { | ||
ViewContext, | ||
RepresentationContext, | ||
DataSetContext, | ||
FieldsContext, | ||
DownstreamContext, | ||
}; | ||
|
||
export default { | ||
Core, | ||
Representations, | ||
Contexts, | ||
}; |