Commit 08af90c2 authored by ahern's avatar ahern

Implemented Jeremy's "Read My Mind" interface, setting the "useExtents" flag

to false if any of the explicit extents are set.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@2817 18c085ea-50e0-402c-830e-de6fd14e8384
parent cc70d15e
......@@ -3,7 +3,7 @@
<Files components="E">
avtResamplePluginFilter.C
</Files>
<Attribute name="ResamplePluginAttributes" purpose="Atts for Resample operator" persistent="true" keyframe="true" exportAPI="" exportInclude="">
<Attribute name="ResamplePluginAttributes" purpose="Atts for Resample operator" persistent="true" keyframe="true" exportAPI="" exportInclude="" codefile="ResamplePluginAttributes.code">
<Enum name="TieResolver">
random
largest
......
......@@ -88,7 +88,7 @@ const char *ResamplePluginAttributes::TypeMapFormatString = "bddiddibddiisdb";
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -123,7 +123,7 @@ ResamplePluginAttributes::ResamplePluginAttributes() :
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -160,7 +160,7 @@ ResamplePluginAttributes::ResamplePluginAttributes(const ResamplePluginAttribute
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -180,7 +180,7 @@ ResamplePluginAttributes::~ResamplePluginAttributes()
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -219,7 +219,7 @@ ResamplePluginAttributes::operator = (const ResamplePluginAttributes &obj)
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -255,7 +255,7 @@ ResamplePluginAttributes::operator == (const ResamplePluginAttributes &obj) cons
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -276,7 +276,7 @@ ResamplePluginAttributes::operator != (const ResamplePluginAttributes &obj) cons
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -297,7 +297,7 @@ ResamplePluginAttributes::TypeName() const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -325,7 +325,7 @@ ResamplePluginAttributes::CopyAttributes(const AttributeGroup *atts)
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -351,7 +351,7 @@ ResamplePluginAttributes::CreateCompatible(const std::string &tname) const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -378,7 +378,7 @@ ResamplePluginAttributes::NewInstance(bool copy) const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -417,7 +417,7 @@ ResamplePluginAttributes::SelectAll()
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -543,7 +543,7 @@ ResamplePluginAttributes::CreateNode(DataNode *parentNode, bool completeSave, bo
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -621,6 +621,8 @@ ResamplePluginAttributes::SetUseExtents(bool useExtents_)
void
ResamplePluginAttributes::SetStartX(double startX_)
{
SetUseExtents(false);
startX = startX_;
Select(ID_startX, (void *)&startX);
}
......@@ -628,6 +630,8 @@ ResamplePluginAttributes::SetStartX(double startX_)
void
ResamplePluginAttributes::SetEndX(double endX_)
{
SetUseExtents(false);
endX = endX_;
Select(ID_endX, (void *)&endX);
}
......@@ -642,6 +646,8 @@ ResamplePluginAttributes::SetSamplesX(int samplesX_)
void
ResamplePluginAttributes::SetStartY(double startY_)
{
SetUseExtents(false);
startY = startY_;
Select(ID_startY, (void *)&startY);
}
......@@ -649,6 +655,8 @@ ResamplePluginAttributes::SetStartY(double startY_)
void
ResamplePluginAttributes::SetEndY(double endY_)
{
SetUseExtents(false);
endY = endY_;
Select(ID_endY, (void *)&endY);
}
......@@ -670,6 +678,8 @@ ResamplePluginAttributes::SetIs3D(bool is3D_)
void
ResamplePluginAttributes::SetStartZ(double startZ_)
{
SetUseExtents(false);
startZ = startZ_;
Select(ID_startZ, (void *)&startZ);
}
......@@ -677,6 +687,8 @@ ResamplePluginAttributes::SetStartZ(double startZ_)
void
ResamplePluginAttributes::SetEndZ(double endZ_)
{
SetUseExtents(false);
endZ = endZ_;
Select(ID_endZ, (void *)&endZ);
}
......@@ -839,7 +851,7 @@ ResamplePluginAttributes::SelectTieResolverVariable()
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -878,7 +890,7 @@ ResamplePluginAttributes::GetFieldName(int index) const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -917,7 +929,7 @@ ResamplePluginAttributes::GetFieldType(int index) const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......@@ -956,7 +968,7 @@ ResamplePluginAttributes::GetFieldTypeName(int index) const
// Note: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......
Code: SetEndX
Prefix:
SetUseExtents(false);
Postfix:
Code: SetEndY
Prefix:
SetUseExtents(false);
Postfix:
Code: SetEndZ
Prefix:
SetUseExtents(false);
Postfix:
Code: SetStartX
Prefix:
SetUseExtents(false);
Postfix:
Code: SetStartY
Prefix:
SetUseExtents(false);
Postfix:
Code: SetStartZ
Prefix:
SetUseExtents(false);
Postfix:
......@@ -49,7 +49,7 @@
// Notes: Autogenerated by xml2atts.
//
// Programmer: xml2atts
// Creation: Wed Jan 2 13:08:12 PST 2008
// Creation: Fri Jan 4 15:49:18 PST 2008
//
// Modifications:
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment