Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
visit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
third-party
visit
Commits
31c20982
Commit
31c20982
authored
Mar 30, 2007
by
hrchilds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update from June 6, 2003
git-svn-id:
http://visit.ilight.com/svn/visit/trunk/src@8
18c085ea-50e0-402c-830e-de6fd14e8384
parent
55958a9e
Changes
31
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
2127 additions
and
65 deletions
+2127
-65
components/Plotter/avtLineoutActor.C
components/Plotter/avtLineoutActor.C
+66
-0
components/Plotter/avtLineoutActor.h
components/Plotter/avtLineoutActor.h
+5
-0
components/Plotter/avtPickActor.C
components/Plotter/avtPickActor.C
+69
-4
components/Plotter/avtPickActor.h
components/Plotter/avtPickActor.h
+5
-0
components/Queries/Queries/avtPickQuery.C
components/Queries/Queries/avtPickQuery.C
+8
-1
components/VisWindow/Colleagues/VisWinColleague.h
components/VisWindow/Colleagues/VisWinColleague.h
+6
-0
components/VisWindow/Colleagues/VisWinPlots.C
components/VisWindow/Colleagues/VisWinPlots.C
+50
-4
components/VisWindow/Colleagues/VisWinPlots.h
components/VisWindow/Colleagues/VisWinPlots.h
+6
-0
components/VisWindow/Colleagues/VisWinQuery.C
components/VisWindow/Colleagues/VisWinQuery.C
+139
-0
components/VisWindow/Colleagues/VisWinQuery.h
components/VisWindow/Colleagues/VisWinQuery.h
+6
-0
components/VisWindow/Colleagues/VisWinTools.C
components/VisWindow/Colleagues/VisWinTools.C
+46
-0
components/VisWindow/Colleagues/VisWinTools.h
components/VisWindow/Colleagues/VisWinTools.h
+6
-0
components/VisWindow/Proxies/VisWindowColleagueProxy.h
components/VisWindow/Proxies/VisWindowColleagueProxy.h
+6
-0
components/VisWindow/Proxies/VisWindowProtectionProxy.C
components/VisWindow/Proxies/VisWindowProtectionProxy.C
+19
-0
components/VisWindow/Proxies/VisWindowProtectionProxy.h
components/VisWindow/Proxies/VisWindowProtectionProxy.h
+4
-0
components/VisWindow/Proxies/VisWindowToolProxy.h
components/VisWindow/Proxies/VisWindowToolProxy.h
+9
-0
components/VisWindow/Tools/VisitInteractiveTool.h
components/VisWindow/Tools/VisitInteractiveTool.h
+6
-0
components/VisWindow/Tools/VisitLineTool.C
components/VisWindow/Tools/VisitLineTool.C
+73
-0
components/VisWindow/Tools/VisitLineTool.h
components/VisWindow/Tools/VisitLineTool.h
+6
-0
components/VisWindow/Tools/avtLineToolInterface.C
components/VisWindow/Tools/avtLineToolInterface.C
+44
-0
components/VisWindow/VisWindow/VisWindow.C
components/VisWindow/VisWindow/VisWindow.C
+98
-14
components/VisWindow/VisWindow/VisWindow.h
components/VisWindow/VisWindow/VisWindow.h
+7
-0
time_file
time_file
+0
-3
viewer/main/ViewerQueryManager.C
viewer/main/ViewerQueryManager.C
+78
-2
viewer/main/ViewerQueryManager.h
viewer/main/ViewerQueryManager.h
+30
-24
viewer/main/ViewerWindow.C
viewer/main/ViewerWindow.C
+44
-10
viewer/main/ViewerWindow.h
viewer/main/ViewerWindow.h
+6
-2
visitpy/Makefile.in
visitpy/Makefile.in
+5
-0
visitpy/PyPickAttributes.C
visitpy/PyPickAttributes.C
+1230
-0
visitpy/PyPickAttributes.h
visitpy/PyPickAttributes.h
+20
-0
visitpy/visitmodule.C
visitpy/visitmodule.C
+30
-1
No files found.
components/Plotter/avtLineoutActor.C
View file @
31c20982
...
...
@@ -605,3 +605,69 @@ avtLineoutActor::SetShowLabels(const bool mode)
}
}
// ****************************************************************************
// Method: avtLineoutActor::Translate
//
// Purpose: Translates the actor by the given vector.
//
// Arguments:
// vec The vector to use in translating the actor.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// Modifications:
//
// ****************************************************************************
void
avtLineoutActor
::
Translate
(
const
float
vec
[
3
])
{
float
*
newPos
=
labelActor1
->
GetPosition
();
newPos
[
0
]
*=
vec
[
0
];
newPos
[
1
]
*=
vec
[
1
];
newPos
[
2
]
*=
vec
[
2
];
newPos
=
labelActor2
->
GetPosition
();
newPos
[
0
]
*=
vec
[
0
];
newPos
[
1
]
*=
vec
[
1
];
newPos
[
2
]
*=
vec
[
2
];
newPos
=
lineSource
->
GetPoint1
();
newPos
[
0
]
*=
vec
[
0
];
newPos
[
1
]
*=
vec
[
1
];
newPos
[
2
]
*=
vec
[
2
];
newPos
=
lineSource
->
GetPoint2
();
newPos
[
0
]
*=
vec
[
0
];
newPos
[
1
]
*=
vec
[
1
];
newPos
[
2
]
*=
vec
[
2
];
lineSource
->
Modified
();
}
// ****************************************************************************
// Method: avtLineoutActor::ResetPosition
//
// Purpose: Resets the actor's position to the original location.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// Modifications:
//
// ****************************************************************************
void
avtLineoutActor
::
ResetPosition
()
{
labelActor1
->
SetPosition
(
attach
[
0
],
attach
[
1
],
attach
[
2
]);
labelActor2
->
SetPosition
(
pt2
[
0
],
pt2
[
1
],
pt2
[
2
]);
lineSource
->
SetPoint1
(
attach
[
0
],
attach
[
1
],
attach
[
2
]);
lineSource
->
SetPoint2
(
pt2
[
0
],
pt2
[
1
],
pt2
[
2
]);
lineSource
->
Modified
();
}
components/Plotter/avtLineoutActor.h
View file @
31c20982
...
...
@@ -31,6 +31,9 @@ class vtkFollower;
// SetShowLabels. Added two actors for labels to be positioned at the
// endpoints.
//
// Kathleen Bonnell, Fri Jun 6 15:08:45 PDT 2003
// Added Translate and ResetPosition methods.
//
// ****************************************************************************
class
PLOTTER_API
avtLineoutActor
...
...
@@ -58,6 +61,8 @@ class PLOTTER_API avtLineoutActor
void
SetForegroundColor
(
float
fg
[
3
]);
void
UpdateView
();
void
Shift
(
const
float
vec
[
3
]);
void
Translate
(
const
float
vec
[
3
]);
void
ResetPosition
(
void
);
void
SetLineStyle
(
const
int
);
void
SetLineWidth
(
const
int
);
...
...
components/Plotter/avtPickActor.C
View file @
31c20982
...
...
@@ -168,6 +168,7 @@ avtPickActor::Shift(const float vec[3])
letterActor
->
SetPosition
(
newPos
[
0
],
newPos
[
1
],
newPos
[
2
]);
}
// ****************************************************************************
// Method: avtPickActor::SetMode3D
//
...
...
@@ -294,7 +295,8 @@ void avtPickActor::SetForegroundColor(float fg[3])
//
// ****************************************************************************
void
avtPickActor
::
SetForegroundColor
(
float
r
,
float
g
,
float
b
)
void
avtPickActor
::
SetForegroundColor
(
float
r
,
float
g
,
float
b
)
{
letterActor
->
GetProperty
()
->
SetColor
(
r
,
g
,
b
);
lineActor
->
GetProperty
()
->
SetColor
(
r
,
g
,
b
);
...
...
@@ -311,7 +313,8 @@ void avtPickActor::SetForegroundColor(float r, float g, float b)
//
// ****************************************************************************
void
avtPickActor
::
Hide
()
void
avtPickActor
::
Hide
()
{
letterActor
->
VisibilityOff
();
lineActor
->
VisibilityOff
();
...
...
@@ -328,7 +331,8 @@ void avtPickActor::Hide()
//
// ****************************************************************************
void
avtPickActor
::
UnHide
()
void
avtPickActor
::
UnHide
()
{
letterActor
->
VisibilityOn
();
lineActor
->
VisibilityOn
();
...
...
@@ -349,9 +353,70 @@ void avtPickActor::UnHide()
//
// ****************************************************************************
void
avtPickActor
::
UpdateView
()
void
avtPickActor
::
UpdateView
()
{
// nothing for now.
}
// ****************************************************************************
// Method: avtPickActor::Translate
//
// Purpose: Translates the actor by the given vector.
//
// Arguments:
// vec The vector to use in translating the actor.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// Modifications:
//
// ****************************************************************************
void
avtPickActor
::
Translate
(
const
float
vec
[
3
])
{
float
*
newPos
=
letterActor
->
GetPosition
();
newPos
[
0
]
*=
vec
[
0
];
newPos
[
1
]
*=
vec
[
1
];
newPos
[
2
]
*=
vec
[
2
];
newPos
=
lineSource
->
GetPoint1
();
newPos
[
0
]
*=
vec
[
0
];
newPos
[
1
]
*=
vec
[
1
];
newPos
[
2
]
*=
vec
[
2
];
newPos
=
lineSource
->
GetPoint2
();
newPos
[
0
]
*=
vec
[
0
];
newPos
[
1
]
*=
vec
[
1
];
newPos
[
2
]
*=
vec
[
2
];
lineSource
->
Modified
();
}
// ****************************************************************************
// Method: avtPickActor::ResetPosition
//
// Purpose: Resets the actor's position to the original location, including
// Shifting towards the camera.
//
// Arguments:
// vec The vector to use in Shifting the actor.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// Modifications:
//
// ****************************************************************************
void
avtPickActor
::
ResetPosition
(
const
float
vec
[
3
])
{
lineSource
->
SetPoint1
(
attach
[
0
],
attach
[
1
],
attach
[
2
]);
letterActor
->
SetPosition
(
attach
[
0
],
attach
[
1
],
attach
[
2
]);
Shift
(
vec
);
}
components/Plotter/avtPickActor.h
View file @
31c20982
...
...
@@ -23,6 +23,9 @@ class vtkRenderer;
// Kathleen Bonnell, Wed May 8 13:50:44 PDT 2002
// Moved ComputeScaleFactor to VisWinRendering.
//
// Kathleen Bonnell, Fri Jun 6 15:08:45 PDT 2003
// Added Translate and ResetPosition methods.
//
// ****************************************************************************
class
PLOTTER_API
avtPickActor
...
...
@@ -45,6 +48,8 @@ class PLOTTER_API avtPickActor
void
SetForegroundColor
(
float
fg
[
3
]);
void
UpdateView
();
void
Shift
(
const
float
vec
[
3
]);
void
Translate
(
const
float
vec
[
3
]);
void
ResetPosition
(
const
float
vec
[
3
]);
protected:
bool
mode3D
;
...
...
components/Queries/Queries/avtPickQuery.C
View file @
31c20982
...
...
@@ -580,6 +580,10 @@ avtPickQuery::RGridFindCell(vtkRectilinearGrid *rgrid)
// This is done here, rather than PreExecute, because the input used
// for this Query will not have that information.
//
// Kathleen Bonnell, Thu Jun 5 13:37:11 PDT 2003
// pickAtts' NeedTransformMessage wasn't always getting set to false
// when needed.
//
// ****************************************************************************
avtDataObject_p
...
...
@@ -589,7 +593,6 @@ avtPickQuery::ApplyFilters(avtDataObject_p inData)
if
(
inAtts
.
HasTransform
()
&&
inAtts
.
GetCanUseTransform
())
{
invTransform
=
inAtts
.
GetTransform
();
pickAtts
.
SetNeedTransformMessage
(
false
);
}
else
{
...
...
@@ -600,6 +603,10 @@ avtPickQuery::ApplyFilters(avtDataObject_p inData)
{
pickAtts
.
SetNeedTransformMessage
(
true
);
}
else
{
pickAtts
.
SetNeedTransformMessage
(
false
);
}
return
inData
->
GetTerminatingSource
()
->
GetOutput
();
}
...
...
components/VisWindow/Colleagues/VisWinColleague.h
View file @
31c20982
...
...
@@ -55,6 +55,9 @@ class VisWindowColleagueProxy;
// Kathleen Bonnell, Wed May 28 15:52:32 PDT 2003
// Added virtual method ReAddToWindow.
//
// Kathleen Bonnell, Fri Jun 6 08:57:33 PDT 2003
// Added virtual methods FullFrameOn, FullFrameOff.
//
// ****************************************************************************
class
VISWINDOW_API
VisWinColleague
...
...
@@ -98,6 +101,9 @@ class VISWINDOW_API VisWinColleague
virtual
void
ReAddToWindow
(
void
)
{;};
virtual
void
FullFrameOn
(
const
double
,
const
int
)
{;};
virtual
void
FullFrameOff
(
void
)
{;};
protected:
VisWindowColleagueProxy
&
mediator
;
};
...
...
components/VisWindow/Colleagues/VisWinPlots.C
View file @
31c20982
...
...
@@ -193,6 +193,9 @@ VisWinPlots::~VisWinPlots()
// When in antialiasing mode, allow colleagues to re-add themselves to the
// window, so that they can be drawn after plots, and reduce artefacts.
//
// Kathleen Bonnell, Fri Jun 6 15:23:05 PDT 2003
// GetFullFrameMode from mediator before retrieving scale factor and type.
//
// ****************************************************************************
void
...
...
@@ -219,11 +222,11 @@ VisWinPlots::AddPlot(avtActor_p &p)
p
->
SetTransparencyActor
(
transparencyActor
);
p
->
SetExternallyRenderedImagesActor
(
extRenderedImagesActor
);
double
scale
;
int
type
;
mediator
.
GetScaleFactorAndType
(
scale
,
type
);
if
(
scale
>
0
.)
// Full-frame mode
if
(
mediator
.
GetFullFrameMode
())
{
double
scale
;
int
type
;
mediator
.
GetScaleFactorAndType
(
scale
,
type
);
float
vec
[
3
]
=
{
1
.
,
1
.,
1
.};
if
(
type
==
0
)
// x-axis
vec
[
0
]
=
scale
;
...
...
@@ -1592,3 +1595,46 @@ VisWinPlots::DisableExternalRenderRequests(void)
{
return
extRenderedImagesActor
->
DisableExternalRenderRequests
();
}
// ****************************************************************************
// Method: VisWinPlots::FullFrameOn
//
// Purpose:
// Scales the plots to fit into the full-frame.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// ****************************************************************************
void
VisWinPlots
::
FullFrameOn
(
const
double
scale
,
const
int
type
)
{
float
vec
[
3
]
=
{
1
.,
1
.,
1
.};
if
(
type
==
0
)
// x-axis is being scaled
vec
[
0
]
=
scale
;
else
// if (type == 1) // y-axis is being scaled
vec
[
1
]
=
scale
;
ScalePlots
(
vec
);
}
// ****************************************************************************
// Method: VisWinPlots::FullFrameOff
//
// Purpose:
// Undoes the scale that made plots fit into the full-frame.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// ****************************************************************************
void
VisWinPlots
::
FullFrameOff
()
{
float
vec
[
3
]
=
{
1
.,
1
.,
1
.};
ScalePlots
(
vec
);
}
components/VisWindow/Colleagues/VisWinPlots.h
View file @
31c20982
...
...
@@ -111,6 +111,9 @@ class avtTransparencyActor;
// Added method to forward request to register an external rendering
// callback to the externally rendered images actor
//
// Kathleen Bonnell, Fri Jun 6 15:23:05 PDT 2003
// Added FullFrameOn/Off methods.
//
// ****************************************************************************
class
VISWINDOW_API
VisWinPlots
:
public
VisWinColleague
...
...
@@ -163,6 +166,9 @@ class VISWINDOW_API VisWinPlots : public VisWinColleague
bool
EnableExternalRenderRequests
(
void
);
bool
DisableExternalRenderRequests
(
void
);
virtual
void
FullFrameOn
(
const
double
,
const
int
);
virtual
void
FullFrameOff
(
void
);
protected:
std
::
vector
<
avtActor_p
>
plots
;
avtTransparencyActor
*
transparencyActor
;
...
...
components/VisWindow/Colleagues/VisWinQuery.C
View file @
31c20982
...
...
@@ -372,6 +372,9 @@ VisWinQuery::QueryIsValid(const PickAttributes *pa, const Line *lineAtts)
// Kathleen Bonnell, Fri Apr 11 15:20:47 PDT 2003
// Force z-coord of attachmentPoint in 2D to be zero.
//
// Kathleen Bonnell, Fri Jun 6 15:17:45 PDT 2003
// Added support for FullFrame mode.
//
// ****************************************************************************
void
...
...
@@ -422,6 +425,24 @@ VisWinQuery::Pick(const PickAttributes *pa)
projection
[
2
]
=
distance
*
(
pos
[
2
]
-
foc
[
2
]);
pp
->
Shift
(
projection
);
if
(
mediator
.
GetFullFrameMode
())
{
double
scale
;
int
type
;
mediator
.
GetScaleFactorAndType
(
scale
,
type
);
float
vec
[
3
]
=
{
1
.,
1
.,
1
.};
if
(
type
==
0
)
// x_axis
{
vec
[
0
]
=
scale
;
}
else
// y_axis
{
vec
[
1
]
=
scale
;
}
pp
->
Translate
(
vec
);
}
//
// Add the pickpoint to the renderer.
//
...
...
@@ -542,6 +563,9 @@ VisWinQuery::ClearPickPoints()
// Set the actor's designator from the lineAtts designator. Set
// attachmentPoint and secondaryPoint from lineAtts.
//
// Kathleen Bonnell, Fri Jun 6 15:17:45 PDT 2003
// Added support for FullFrame mode.
//
// ****************************************************************************
void
...
...
@@ -592,6 +616,24 @@ VisWinQuery::Lineout(const Line *lineAtts)
lo
->
SetAttachmentPoint
(
attachmentPoint
);
lo
->
SetPoint2
(
secondaryPoint
);
if
(
mediator
.
GetFullFrameMode
())
{
double
scale
;
int
type
;
mediator
.
GetScaleFactorAndType
(
scale
,
type
);
float
vec
[
3
]
=
{
1
.,
1
.,
1
.};
if
(
type
==
0
)
// x_axis
{
vec
[
0
]
=
scale
;
}
else
// y_axis
{
vec
[
1
]
=
scale
;
}
lo
->
Translate
(
vec
);
}
lo
->
Add
(
mediator
.
GetCanvas
());
//
...
...
@@ -650,6 +692,9 @@ VisWinQuery::ClearLineouts()
// Kathleen Bonnell, Tue Oct 1 16:07:40 PDT 2002
// Add ability for reflines to display labels.
//
// Kathleen Bonnell, Fri Jun 6 15:17:45 PDT 2003
// Added support for FullFrame mode.
//
// ****************************************************************************
void
...
...
@@ -691,6 +736,23 @@ VisWinQuery::UpdateQuery(const Line *lineAtts)
lineAtts
->
GetColor
().
GetRgba
(
c
);
(
*
it
)
->
SetForegroundColor
(
c
[
0
],
c
[
1
],
c
[
2
]);
(
*
it
)
->
SetShowLabels
(
lineAtts
->
GetReflineLabels
());
if
(
mediator
.
GetFullFrameMode
())
{
double
scale
;
int
type
;
mediator
.
GetScaleFactorAndType
(
scale
,
type
);
float
vec
[
3
]
=
{
1
.,
1
.,
1
.};
if
(
type
==
0
)
// x_axis
{
vec
[
0
]
=
scale
;
}
else
// y_axis
{
vec
[
1
]
=
scale
;
}
(
*
it
)
->
Translate
(
vec
);
}
}
}
//
...
...
@@ -736,3 +798,80 @@ VisWinQuery::DeleteQuery(const Line *lineAtts)
//
mediator
.
Render
();
}
// ****************************************************************************
// Method: VisWinQuery::FullFrameOn
//
// Purpose:
// Translates the queries so that they appear in the proper spot in
// full-frame mode.
//
// Arguments:
// scale The axis scale factor.
// type The axis scale type.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// ****************************************************************************
void
VisWinQuery
::
FullFrameOn
(
const
double
scale
,
const
int
type
)
{
if
(
scale
>
0
.)
{
float
vec
[
3
]
=
{
1
.,
1
.,
1
.};
if
(
type
==
0
)
// x_axis
vec
[
0
]
=
scale
;
else
// y_axis
vec
[
1
]
=
scale
;
std
::
vector
<
avtPickActor_p
>::
iterator
it
;
for
(
it
=
pickPoints
.
begin
()
;
it
!=
pickPoints
.
end
()
;
it
++
)
{
(
*
it
)
->
Translate
(
vec
);
}
std
::
vector
<
avtLineoutActor_p
>::
iterator
it2
;
for
(
it2
=
lineOuts
.
begin
()
;
it2
!=
lineOuts
.
end
()
;
it2
++
)
{
(
*
it2
)
->
Translate
(
vec
);
}
}
}
// ****************************************************************************
// Method: VisWinQuery::FullFrameOff
//
// Purpose:
// Resets the positions of pick and lineout actors to their original
// position.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// ****************************************************************************
void
VisWinQuery
::
FullFrameOff
()
{
float
distance
=
0
.
003
;
float
foc
[
3
],
pos
[
3
],
projection
[
3
];
mediator
.
GetCanvas
()
->
GetActiveCamera
()
->
GetPosition
(
pos
);
mediator
.
GetCanvas
()
->
GetActiveCamera
()
->
GetFocalPoint
(
foc
);
projection
[
0
]
=
distance
*
(
pos
[
0
]
-
foc
[
0
]);
projection
[
1
]
=
distance
*
(
pos
[
1
]
-
foc
[
1
]);
projection
[
2
]
=
distance
*
(
pos
[
2
]
-
foc
[
2
]);
std
::
vector
<
avtPickActor_p
>::
iterator
it
;
for
(
it
=
pickPoints
.
begin
()
;
it
!=
pickPoints
.
end
()
;
it
++
)
{
(
*
it
)
->
ResetPosition
(
projection
);
}
std
::
vector
<
avtLineoutActor_p
>::
iterator
it2
;
for
(
it2
=
lineOuts
.
begin
()
;
it2
!=
lineOuts
.
end
()
;
it2
++
)
{
(
*
it2
)
->
ResetPosition
();
}
}
components/VisWindow/Colleagues/VisWinQuery.h
View file @
31c20982
...
...
@@ -49,6 +49,9 @@
// Replaced char * argument of QueryIsValid and Pick methods with
// PickAttributes.
//
// Kathleen Bonnell, Fri Jun 6 15:17:45 PDT 2003
// Added FullFrameOn/Off methods.
//
// ****************************************************************************
class
VISWINDOW_API
VisWinQuery
:
public
VisWinColleague
...
...
@@ -83,6 +86,9 @@ class VISWINDOW_API VisWinQuery : public VisWinColleague
void
Pick
(
const
PickAttributes
*
);
void
ClearPickPoints
(
void
);
virtual
void
FullFrameOn
(
const
double
,
const
int
);
virtual
void
FullFrameOff
(
void
);
protected:
std
::
vector
<
avtPickActor_p
>
pickPoints
;
std
::
vector
<
avtLineoutActor_p
>
lineOuts
;
...
...
components/VisWindow/Colleagues/VisWinTools.C
View file @
31c20982
...
...
@@ -1011,3 +1011,49 @@ vtkHighlightActor2D::RegenerateHighlight()
highlightActor
->
SetMapper
(
highlightMapper
);
highlightActor
->
PickableOff
();
}
// ****************************************************************************
// Method: VisWinTools::FullFrameOn
//
// Purpose:
// Tells tools that FullFrame mode has been turned on.
//
// Arguments:
// scale : The axis scale factor.
// type : The axis scale type.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// Modifications:
//
// ****************************************************************************
void
VisWinTools
::
FullFrameOn
(
const
double
scale
,
const
int
type
)
{
for
(
int
i
=
0
;
i
<
numTools
;
++
i
)
tools
[
i
]
->
FullFrameOn
(
scale
,
type
);
}
// ****************************************************************************
// Method: VisWinTools::FullFrameOff
//
// Purpose:
// Tells tools that FullFrame mode has been turned off.
//
// Programmer: Kathleen Bonnell
// Creation: June 6, 2003
//
// Modifications:
//
// ****************************************************************************
void
VisWinTools
::
FullFrameOff
()
{