Class NoSampling
java.lang.Object
cz.fidentis.analyst.engines.sampling.impl.PointSamplingVisitorImpl
cz.fidentis.analyst.engines.sampling.impl.NoSampling
- All Implemented Interfaces:
MeshVisitor
,PointSamplingVisitor
No point sampling. All mesh points are returned.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of vertices reduced according to the strategy.boolean
Iftrue
, then the returned points samples are points from the original mesh.toString()
void
visitMeshFacet
(MeshFacet facet) The inspection method to be implemented by specific visitors.Methods inherited from class cz.fidentis.analyst.engines.sampling.impl.PointSamplingVisitorImpl
getRequiredSamples, setRealSamples, setRequiredSamples
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface cz.fidentis.analyst.data.mesh.MeshVisitor
dispose, isThreadSafe
-
Constructor Details
-
NoSampling
public NoSampling()Constructor.- Throws:
IllegalArgumentException
- if the input parameter is wrong
-
-
Method Details
-
visitMeshFacet
Description copied from interface:MeshVisitor
The inspection method to be implemented by specific visitors.- Specified by:
visitMeshFacet
in interfaceMeshVisitor
- Specified by:
visitMeshFacet
in interfacePointSamplingVisitor
- Specified by:
visitMeshFacet
in classPointSamplingVisitorImpl
- Parameters:
facet
- Mesh facet to be visited.
-
getSamples
Description copied from interface:PointSamplingVisitor
Returns a list of vertices reduced according to the strategy. The returned mesh points are backed by original points.- Specified by:
getSamples
in interfacePointSamplingVisitor
- Specified by:
getSamples
in classPointSamplingVisitorImpl
- Returns:
- selected vertices of inspected meshes
-
isBackedByOrigMesh
public boolean isBackedByOrigMesh()Description copied from interface:PointSamplingVisitor
Iftrue
, then the returned points samples are points from the original mesh. Therefore, the transformation of the original mesh also transform these samples. Iffalse
, then new points are returned that are independent on the original mesh.- Specified by:
isBackedByOrigMesh
in interfacePointSamplingVisitor
- Specified by:
isBackedByOrigMesh
in classPointSamplingVisitorImpl
- Returns:
true
if the point samples include points of the original mesh
-
toString
- Overrides:
toString
in classPointSamplingVisitorImpl
-