The mesh is unstructured, PV running mpi.
The mesh is rectangular.
I would like to extract an exterior boundary.
How does one do this?
Thanks,
Stephen
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/ope
The subject line of this email asks how to extract a slice in a z=constant
plane. That can easily be done with the slice filter with the normal set to
0,0,1.
The text of this email asks a completely different question, extracting the
exterior boundary of an unstructured mesh. This is done with
Hello,
I need a filter that only keeps the 3D points of a certain source (e.g.
coming from an stl file).
The topology of the data set may go.
I thought that the following filter, only passing through the pointdata,
would do the job,
but that appears not to be the case (no points after the filter
Output->SetPoints(input->GetPoints());
Or
Output->CopyStructure(input);
Output->SetCells(NULL)
Then copy point field data etc
On 22/10/14 16:19, "B.W.H. van Beest" wrote:
>Hello,
>
>I need a filter that only keeps the 3D points of a certain source (e.g.
>coming from an stl file).
>The topol
don't forget to add vertex type cells, or you will not be able to see
the points, and that it's going to be more complicated if you're
starting from data types that have implicit points.
On 10/22/2014 07:52 AM, Biddiscombe, John A. wrote:
Output->SetPoints(input->GetPoints());
Or
Output->C
The compiler tells me:
error: ‘class vtkDataSet’ has no member named ‘SetPoints’
Likewise, SetCells() is also not a member function of vtkDataSet.
Indeed, according to the doc, there is no such function.
Any idea?
On 10/22/2014 04:52 PM, Biddiscombe, John A. wrote:
> Output->SetPoints(in
Are you saying that one cannot have just points?
In my case, I want to snap the points to a structured grid,
but haven't done that yet, as I wanted to see the
points first, and do the snapping as a next step.
So that is not a good idea? I need to do it all in one go?
Regards,
Bertwim
On 10/
SetPoints is present in vtkDataSets that are subclasses of vtkPointSet
You said you didn’t want any topology, so I didn’t think you wanted vertex
cells.
vtkSmartPointer vertices =
vtkSmartPointer::New();
vtkIdType *cells = vertices->WritePointer(Nt, 2*Nt);
for (vtkIdType i=0; iSetVerts(ve
you can have just points, they'll be ignored during rendering without
vertex type cells.
On 10/22/2014 08:15 AM, B.W.H. van Beest wrote:
Are you saying that one cannot have just points?
In my case, I want to snap the points to a structured grid,
but haven't done that yet, as I wanted to see t
Ah, I found it. It is the other way around: vtkPointSet is a subclass
of vtkDataSet.
The former has SetPoints, the latter has not.
So I subclassed my filter class from vtkPointSet instead of vtkDataSet,
and it now it works.
Thanks.
Bertwim
Kind Regards,
Bertwim
On 10/22/2014 05:32 PM, Biddis
A question from a user. I believe that answer is correct to the first bullet,
and the answer is no to the second bullet?
1 - Averaging a nodal result from surrounding elements is OK as long as the
node is within a homogenous body. This process is not correct for nodes on the
boundary between
11 matches
Mail list logo