IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Tests of 3D graphics enabled by ActiViz (VTK wrapper library). More...
Classes | |
class | CustomImplicitFunction |
An vtkImplicitFunction class that represents a custom function of 3 variables used for plotting contours. More... | |
Static Public Member Functions | |
static void | Run () |
static void | Test1 () |
static void | Test2 () |
static void | ColorBar () |
static void | Legend () |
static void | ExampleParametricCurve (int numT) |
Example of plotting parametric curves in 3D space. More... | |
static void | ExampleStructuredGridVolumeContours () |
Example that demonstrates generaton of contours on a 3D structured grid. More... | |
static void | ExampleCellsGridContours () |
ExamExample of plotting contours on surfaces in 3D (graphs of functions of 2 variables or parametric surfaces) by using graphic primitives (cells) connected to polydata. Default division numbers of the shown graph are taken. More... | |
static void | ExampleCellsGridContours (int sizex, int sizey, int numContours) |
Example of plotting contours on surfaces in 3D (graphs of functions of 2 variables or parametric surfaces) by using graphic primitives (cells) connected to polydata. More... | |
static void | ExampleCellsGridEfficient () |
Example of efficient plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces) by using graphic primitives (cells). Default division numbers of the shown graph are taken. More... | |
static void | ExampleQuadCells () |
Example that demonstrates the ability to use simple primitives for plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces). More... | |
static void | ExampleQuadCells (int sizex, int sizey) |
Example that demonstrates the ability to use simple primitives for plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces). More... | |
static void | ExampleStructuredGrid () |
Example that demonstrates the ability to use structured grids for plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces). More... | |
static void | ExampleAxisHendler () |
static void | ExampleStructuredGrid (int sizex, int sizey, int sizez) |
Example that demonstrates the ability to use structured grids for plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces). More... | |
static ColorScale | CreateGreenRedYellow (double minValue, double maxValue) |
Properties | |
Examples Modelling Cxx Delaunay3D.cxx but only outer contours on body surface.int int int | numContours [set] |
Static Private Member Functions | |
static double | f (double x, double y) |
Example function of 2 variables to generate a surface plot. In the future, ScalarFunction class will be used for this purpose. More... | |
static double | GetX (int i) |
Returns x coordinate corresponding to the specific index. More... | |
static double | GetY (int j) |
Returns y coordinate corresponding to the specific index. More... | |
static double | GetZ (int k) |
Returns z coordinate corresponding to the specific index. More... | |
static double | f3d (double x, double y, double z) |
static void | ExampleCellsGridEfficient (int sizex, int sizey) |
Example of efficient plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces) by using graphic primitives (cells). More... | |
Private Attributes | |
Examples Modelling Cxx Delaunay3D.cxx | root |
Example that demonstrates generaton of contours on a 3D structured grid. More... | |
Examples Modelling Cxx Delaunay3D.cxx but only outer contours on body surface.* | http: * </para> * <para></para> * </remarks> */ public static void ExampleStructuredGridVolumeContours(int sizex |
Examples Modelling Cxx Delaunay3D.cxx but only outer contours on body surface.int | sizey |
Examples Modelling Cxx Delaunay3D.cxx but only outer contours on body surface.int int | sizez |
Static Private Attributes | |
static int | numi = 6 |
static int | numj = 6 |
static int | numk = 2 |
static double | minX = -1 |
static double | maxX = 1 |
static double | minY = -1 |
static double | maxY = 1 |
static double | minZ = -1 |
static double | maxZ = 1 |
static double | minValue = 0 |
static double | maxValue = 0 |
static StopWatch1 | timer = new StopWatch1() |
StopWatch for measuring time. More... | |
Tests of 3D graphics enabled by ActiViz (VTK wrapper library).
$A Tako78 Sep11; Igor Oct11;
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticprivate |
Example function of 2 variables to generate a surface plot. In the future, ScalarFunction class will be used for this purpose.
|
inlinestaticprivate |
Returns x coordinate corresponding to the specific index.
|
inlinestaticprivate |
Returns y coordinate corresponding to the specific index.
|
inlinestaticprivate |
Returns z coordinate corresponding to the specific index.
|
inlinestatic |
Example of plotting parametric curves in 3D space.
numT | Number fo divisions. |
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/RibbonFilter
|
inlinestaticprivate |
|
inlinestatic |
Example that demonstrates generaton of contours on a 3D structured grid.
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx#vtkStructuredGrid
Referenced by IG.Script.ScriptGraphics3DBase.VtkFunctionStructuredGridVolumeContours().
|
inlinestatic |
ExamExample of plotting contours on surfaces in 3D (graphs of functions of 2 variables or parametric surfaces) by using graphic primitives (cells) connected to polydata. Default division numbers of the shown graph are taken.
sizex | Number of points in x direction. |
sizey | Number of points in y direction. |
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/LongLine
Referenced by IG.Script.ScriptGraphics3DBase.VtkFunctionCellGridContours().
|
inlinestatic |
Example of plotting contours on surfaces in 3D (graphs of functions of 2 variables or parametric surfaces) by using graphic primitives (cells) connected to polydata.
sizex | Number of points in x direction. |
sizey | Number of points in y direction. |
numContours | Number of contours to be plotted. |
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Quad - quadric cells
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/ColoredLines - for adding line cells
http://www.vtk.org/Wiki/VTK/Examples/Cxx/VisualizationAlgorithms/BandedPolyDataContourFilter - discrete consours
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataIsoLines - for contours
http://www.vtk.org/Wiki/VTK/Examples/Cxx/VisualizationAlgorithms/FilledContours - this is more complex, approach taken here is simpler.
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/LabelContours - labeling contours
References IG.Lib.color.Average(), IG.Lib.ColorScaleBase.Create(), IG.Gr3d.VtkDecorationHandler.CubeAxesColor, IG.Gr3d.VtkDecorationHandler.CubeAxesFlyMode, IG.Gr3d.VtkDecorationHandler.CubeAxesXLabel, IG.Lib.IColorScale.GetColor(), IG.Lib.ColorScaleBase.GetColor(), IG.Num.BoundingBoxBase.GetMax(), IG.Num.BoundingBoxBase.GetMin(), IG.Lib.color.IntB, IG.Lib.color.IntG, IG.Lib.color.IntR, IG.Lib.StopWatch1.Reset(), IG.Lib.StopWatch1.Start(), IG.Lib.StopWatch1.Stop(), IG.Lib.StopWatch1.Time, IG.Lib.StopWatch1.TotalTime, and IG.Num.BoundingBoxBase.Update().
|
inlinestatic |
Example of efficient plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces) by using graphic primitives (cells). Default division numbers of the shown graph are taken.
sizex | Number of points in x direction. |
sizey | Number of points in y direction. |
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Quad - quadric cells
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/LongLine
|
inlinestaticprivate |
Example of efficient plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces) by using graphic primitives (cells).
sizex | Number of points in x direction. |
sizey | Number of points in y direction. |
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/ColoredLines
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/LongLine
References IG.Lib.color.Average(), IG.Lib.ColorScaleBase.Create(), IG.Gr3d.VtkDecorationHandler.CubeAxesColor, IG.Gr3d.VtkDecorationHandler.CubeAxesFlyMode, IG.Gr3d.VtkDecorationHandler.CubeAxesXLabel, IG.Lib.IColorScale.GetColor(), IG.Num.BoundingBoxBase.GetMax(), IG.Num.BoundingBoxBase.GetMin(), IG.Lib.color.IntB, IG.Lib.color.IntG, IG.Lib.color.IntR, IG.Lib.StopWatch1.Reset(), IG.Lib.StopWatch1.Start(), IG.Lib.StopWatch1.Stop(), IG.Lib.StopWatch1.Time, IG.Lib.StopWatch1.TotalTime, and IG.Num.BoundingBoxBase.Update().
|
inlinestatic |
Example that demonstrates the ability to use simple primitives for plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces).
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Quad
Referenced by IG.Script.ScriptGraphics3DBase.VtkFunctionQuadCells().
|
inlinestatic |
Example that demonstrates the ability to use simple primitives for plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces).
sizex | Number of points in x direction. |
sizey | Number of points in y direction. |
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Quad
References IG.Gr3d.VtkDecorationHandler.CubeAxesColor, IG.Gr3d.VtkDecorationHandler.CubeAxesFlyMode, IG.Gr3d.VtkDecorationHandler.CubeAxesXLabel, IG.Lib.StopWatch1.Reset(), IG.Gr3d.VtkDecorationHandler.SetActorScale(), IG.Lib.StopWatch1.Start(), IG.Lib.StopWatch1.Stop(), IG.Lib.StopWatch1.Time, IG.Lib.StopWatch1.TotalTime, and IG.Gr3d.UtilVtk.UpdateBounds().
|
inlinestatic |
Example that demonstrates the ability to use structured grids for plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces).
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx#vtkStructuredGrid
Referenced by IG.Script.ScriptGraphics3DBase.VtkFunctionStructuredGrid().
|
inlinestatic |
References IG.Gr3d.UtilVtk.CreateBounds(), and IG.Gr3d.UtilVtk.SetBounds().
|
inlinestatic |
Example that demonstrates the ability to use structured grids for plotting surfaces in 3D (graphs of functions of 2 variables or parametric surfaces).
sizex | Number of points in x direction. |
sizey | Number of points in y direction. |
sizez | Number of points in z direction. |
See also:
http://www.vtk.org/Wiki/VTK/Examples/Cxx#vtkStructuredGrid
References IG.Lib.ColorScaleBase.Create(), IG.Gr3d.UtilVtk.CreateBounds(), IG.Lib.IColorScale.GetColor(), IG.Num.BoundingBoxBase.GetMax(), IG.Num.BoundingBoxBase.GetMin(), IG.Lib.color.IntB, IG.Lib.color.IntG, IG.Lib.color.IntR, IG.Lib.StopWatch1.Reset(), IG.Gr3d.UtilVtk.SetBounds(), IG.Lib.StopWatch1.Start(), IG.Lib.StopWatch1.Stop(), IG.Lib.StopWatch1.Time, IG.Lib.StopWatch1.TotalTime, and IG.Num.BoundingBoxBase.Update().
|
inlinestatic |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
StopWatch for measuring time.
|
private |
Example that demonstrates generaton of contours on a 3D structured grid.
sizex | Number of points in x direction. |
sizey | Number of points in y direction. |
sizez | Number of points in z direction. |
See also:
http://www.vtk.org/VTK/help/examplecode.html - generating contours of implicit function of 3 variables, probably useful only when you actually have an implicit function. http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImplicitFunctions/SampleFunction - sample implicit function, 1 contour
http://www.vtk.org/Wiki/VTK/Examples/Cxx#vtkStructuredGrid
See Delaunay3D triangularization. http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout
|
private |
|
private |
|
private |
|
setprivate |