Package com.comsol.model
Interface View
-
- All Superinterfaces:
ModelEntity
,PrimitiveModelEntity
,PropFeature
,SelectionContainer
,SelectionEntity
,ViewBase
,ViewFeature
- All Known Subinterfaces:
AppView
,SavePointView
public interface View extends ViewFeature, ViewBase
View.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeomSequence
geom()
Gets the geometry sequence associated with the view.int[][]
getHiddenEntities()
Returns an array of hidden entities in each dimension.int[][]
getHiddenEntities(java.lang.String mesh)
Returns an array of hidden entities in each dimension.int
getSDim()
Gets space dimension of view.boolean
isCurrent()
Returns whether the view is the current view for the geometry which it belongs to.-
Methods inherited from interface com.comsol.model.ModelEntity
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
Methods inherited from interface com.comsol.model.PropFeature
getAllowedPropertyValues, getBoolean, getBoolean, getBoolean, getBooleanArray, getBooleanMatrix, getDouble, getDouble, getDouble, getDoubleArray, getDoubleMatrix, getEntryKeyIndex, getEntryKeys, getInt, getInt, getInt, getIntArray, getIntMatrix, getReferenceArray, getString, getString, getString, getString, getStringArray, getStringMatrix, getType, getValueType, hasProperty, hasSelection, move, move, properties, remove, remove, selection, set, set, set, set, set, set, set, set, set, set, set, set, setEntry, setEntry, setEntry, setEntry, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex
-
Methods inherited from interface com.comsol.model.SelectionEntity
selection
-
Methods inherited from interface com.comsol.model.ViewBase
axis, camera, clip, clip, hideEntities, hideEntities, hideMesh, hideMesh, hideObjects, hideObjects, light, light
-
-
-
-
Method Detail
-
geom
GeomSequence geom()
Gets the geometry sequence associated with the view. If the view is not associated with a geometry, null is returned.- Returns:
- Geometry sequence or null.
-
getHiddenEntities
int[][] getHiddenEntities()
Returns an array of hidden entities in each dimension. The entity numbers refer to the entities of the finalized geometry.- Returns:
- Hidden entities for each dimension.
-
getHiddenEntities
int[][] getHiddenEntities(java.lang.String mesh)
Returns an array of hidden entities in each dimension. The entity numbers refer to the entities of specified mesh in its current state.- Parameters:
mesh
- Tag of meshing sequence.- Returns:
- Hidden entities for each dimension.
-
getSDim
int getSDim()
Gets space dimension of view.- Returns:
- Space dimension.
-
isCurrent
boolean isCurrent()
Returns whether the view is the current view for the geometry which it belongs to. For views used only in postprocessingfalse
is always returned.- Returns:
true
if the view is the current view.
-
-