public interface Graph extends BaseModel
Modifier and Type | Interface and Description |
---|---|
static class |
Graph.AnchorPointOfRecordData
This class holds the data returned from
getAnchorPointOfRecord(int, nxopen.cae.xyplot.AnchorType) |
static class |
Graph.GridBoundingBoxData
This class holds the data returned from
getGridBoundingBox() |
NXObject.AttributeInformation, NXObject.AttributeType, NXObject.ComputationalTime, NXObject.DateAndTimeFormat, NXObject.NextUserAttributeData
Modifier and Type | Method and Description |
---|---|
MarkerModel |
createAssociativeMarker(int recordIndex,
AnchorType attachType,
double absPercentage)
Creates an associative marker.
|
MarkerModel |
createMarker(int recordIndex,
int pointIndex)
Creates a marker in the position of a source point.
|
MarkerModel |
createMarker(int recordIndex,
int prePointIndex,
int nextPointIndex,
double linearInterpoScale)
Creates a marker in the linear interpolation position between two source points.
|
TaggedObject |
find(String journalIdentifier)
Deprecated.
Deprecated in NX12.0.0. Use
INXObject.findObject(java.lang.String)
|
BasicModel |
getAbscissaAxis()
Gets the abscissa axis.
|
Graph.AnchorPointOfRecordData |
getAnchorPointOfRecord(int recordIndex,
AnchorType anchorType)
Gets anchor point of a record.
|
Graph.GridBoundingBoxData |
getGridBoundingBox()
Gets the bounding box of the grid.
|
MarkerModel[] |
getMarkers()
Gets all markers on the graph.
|
BasicModel[] |
getOrdinateAxes()
Gets the ordinate axes.
|
int |
getPointCount(int recordIndex)
Gets the point count of specified record.
|
String |
getRecordName(int recordIndex)
Gets record name.
|
BasicModel |
getZAxis()
Gets the Z axis.
|
int |
recordCount()
Returns the record count of the graph.
|
void |
setDisplayStyleOfRecord(int recordIndex,
int displayStyleIndex)
Sets the display style index for a plotted record.
|
void |
unzoom()
Removes the zoom state for the graph and returns the display to the original state.
|
void |
zoomAlongX(double startScale,
double endScale)
Zooms the graph along X direction by a scale range basing on current X axis display range.
|
void |
zoomAlongXY(double xStartScale,
double xEndScale,
double yStartScale,
double yEndScale)
Zooms the graph along both X and Y direction by scale ranges basing on current X and Y axis display range.
|
void |
zoomAlongY(double startScale,
double endScale)
Zooms the graph along Y direction by a scale range basing on current Y axis display range.
|
void |
zoomAlongZ(double startScale,
double endScale)
Zooms the graph along Z direction by a scale range basing on current Z axis display range.
|
createAttributeIterator, deleteAllAttributesByType, deleteAllAttributesByType, deleteAttributeByTypeAndTitle, deleteAttributeByTypeAndTitle, deleteUserAttribute, deleteUserAttributes, deleteUserAttributes, getAttributeTitlesByType, getBooleanUserAttribute, getComputationalTimeUserAttribute, getIntegerAttribute, getIntegerUserAttribute, getNextUserAttribute, getPdmReferenceAttributeValue, getRealAttribute, getRealUserAttribute, getReferenceAttribute, getStringAttribute, getStringUserAttribute, getTimeAttribute, getTimeUserAttribute, getUserAttribute, getUserAttribute, getUserAttributeAsString, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeCount, getUserAttributeLock, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributes, getUserAttributesAsStrings, getUserAttributeSize, getUserAttributeSourceObjects, hasUserAttribute, hasUserAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setBooleanUserAttribute, setPdmReferenceAttribute, setReferenceAttribute, setReferenceAttribute, setTimeAttribute, setTimeAttribute, setTimeUserAttribute, setTimeUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttribute, setUserAttributeLock
printTestData, printTestData, tag, tagValue
findObject, isOccurrence, journalIdentifier, name, owningComponent, owningPart, print, prototype, setName
updateDisplay
int recordCount() throws NXException, RemoteException
NXException
RemoteException
int getPointCount(int recordIndex) throws NXException, RemoteException
recordIndex
- Record indexNXException
RemoteException
MarkerModel createMarker(int recordIndex, int pointIndex) throws NXException, RemoteException
recordCount()
, 0 is inclusive.
The point index is between 0 and getPointCount(int)
, 0 is inclusive.
recordIndex
- Record indexpointIndex
- Point indexNXException
RemoteException
MarkerModel createMarker(int recordIndex, int prePointIndex, int nextPointIndex, double linearInterpoScale) throws NXException, RemoteException
recordCount()
, 0 is inclusive.
The previous point index is between 0 and getPointCount(int)
, 0 is inclusive.
The next point index is between 0 and getPointCount(int)
, 0 is inclusive.
The linear interpolation scale is between 0 and 1, both 0 and 1 are inclusive.
recordIndex
- Record indexprePointIndex
- Previous Point indexnextPointIndex
- Next Point indexlinearInterpoScale
- Interpolation ScaleNXException
RemoteException
MarkerModel createAssociativeMarker(int recordIndex, AnchorType attachType, double absPercentage) throws NXException, RemoteException
recordCount()
, 0 is inclusive.
recordIndex
- Record indexattachType
- Attachment TypeabsPercentage
- When attachment type is AnchorType.ABS_PERCENTAGE
,
a valid abscissa percentage(between 0 and 1, both 0 and 1 are inclusive) should be given.NXException
RemoteException
MarkerModel[] getMarkers() throws NXException, RemoteException
NXException
RemoteException
Graph.AnchorPointOfRecordData getAnchorPointOfRecord(int recordIndex, AnchorType anchorType) throws NXException, RemoteException
recordIndex
- anchorType
- NXException
RemoteException
String getRecordName(int recordIndex) throws NXException, RemoteException
recordIndex
- NXException
RemoteException
Graph.GridBoundingBoxData getGridBoundingBox() throws NXException, RemoteException
NXException
RemoteException
BasicModel getAbscissaAxis() throws NXException, RemoteException
NXException
RemoteException
BasicModel[] getOrdinateAxes() throws NXException, RemoteException
NXException
RemoteException
BasicModel getZAxis() throws NXException, RemoteException
NXException
RemoteException
void setDisplayStyleOfRecord(int recordIndex, int displayStyleIndex) throws NXException, RemoteException
recordIndex
- displayStyleIndex
- NXException
RemoteException
void zoomAlongX(double startScale, double endScale) throws NXException, RemoteException
IDisplayableModel.updateDisplay()
for an instance of Plot
or
Graph
.
AxisModel.calculateZoomScale(double, double)
startScale
- the value must be between 0 and 1endScale
- the value must be between 0 and 1NXException
RemoteException
void zoomAlongY(double startScale, double endScale) throws NXException, RemoteException
IDisplayableModel.updateDisplay()
for an instance of Plot
or
Graph
.
AxisModel.calculateZoomScale(double, double)
startScale
- the value must be between 0 and 1endScale
- the value must be between 0 and 1NXException
RemoteException
void zoomAlongZ(double startScale, double endScale) throws NXException, RemoteException
IDisplayableModel.updateDisplay()
for an instance of Plot
or
Graph
.
AxisModel.calculateZoomScale(double, double)
startScale
- the value must be between 0 and 1endScale
- the value must be between 0 and 1NXException
RemoteException
void zoomAlongXY(double xStartScale, double xEndScale, double yStartScale, double yEndScale) throws NXException, RemoteException
IDisplayableModel.updateDisplay()
for an instance of Plot
or
Graph
.
AxisModel.calculateZoomScale(double, double)
xStartScale
- the value must be between 0 and 1xEndScale
- the value must be between 0 and 1yStartScale
- the value must be between 0 and 1yEndScale
- the value must be between 0 and 1NXException
RemoteException
void unzoom() throws NXException, RemoteException
IDisplayableModel.updateDisplay()
for an instance of Plot
or
Graph
NXException
RemoteException
TaggedObject find(String journalIdentifier) throws NXException, RemoteException
INXObject.findObject(java.lang.String)
NXObject
with the given identifier as recorded in a journal.
An object may not return the same value as its JournalIdentifier in different versions of
the software. However newer versions of the software should find the same object when
FindObject is passed older versions of its journal identifier. In general, this method
should not be used in handwritten code and exists to support record and playback of journals.
An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier
- Journal identifier of the object
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.