[vtkusers] set chart 3D geometry in Java
david.gobbi at gmail.com
Tue Dec 9 22:10:54 EST 2014
You can use vtkCubeAxesActor to draw the axes, and use vtkGlyph3D to plot
the points. The vtkGlyph3D filter takes two inputs: its first input
contains the (x,y,z) points where you want to draw the points, and its
second input (the Source input) is a vtkPolyData that is the shape that you
want to draw at each point on the plot, e.g. the output from
vtkSphereSource or vtkCubeSource.
On Tue, Dec 9, 2014 at 5:40 PM, James Labiak <jim at jslengineeringsoftware.com
> Unfortunately my project forces me to use Java. What would be an
> alternative to create surface plots similar to vtkchartxyz without those
> On Dec 9, 2014, at 7:30 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> It is not wrapped in Java, but it is wrapped in Python. The same is true
> for all methods that use vtkVector, vtkRect, or vtkColor.
> - David
> On Tue, Dec 9, 2014 at 5:17 PM, Sebastien Jourdain <
> sebastien.jourdain at kitware.com> wrote:
>> That method is probably not wrapped, hence the issue.
>> On Tue, Dec 9, 2014 at 9:46 AM, James Labiak <
>> jim at jslengineeringsoftware.com> wrote:
>>> For vtkChartXYZ, I cannot seem to find the Java equivalent of the
>>> SetGeometry method in C like the code below. I must be missing something.
>>> Does anyone have any suggestions?
>>> vtkNew<vtkChartXYZ> chart;
>>> chart->SetGeometry(vtkRectf(75.0, 20.0, 250, 260));
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers