7 #ifndef __opview_SurfaceViewerOp_h__ 8 #define __opview_SurfaceViewerOp_h__ 29 e_reframeObject= 0x00,
37 void initialize(
void);
40 virtual void handle(
Record& a_rSignal);
45 I32 drawableCount(
void);
50 I32 cameraCount(
void);
52 BWORD getRebuild(
void);
54 void target(Targeting a_targeting);
55 Targeting targeting(
void)
const;
58 String orthoAxis(
void)
const;
59 BWORD uvSpace(
void)
const;
60 BWORD cameraView(
void)
const;
61 I32 cameraIndex(
void)
const;
62 BWORD help(
void)
const;
63 BWORD spiral(
void)
const;
64 BWORD tracking(
void)
const;
65 BWORD edging(
void)
const;
66 BWORD grid(
void)
const;
67 BWORD outline(
void)
const;
68 BWORD backfacing(
void)
const;
69 BWORD lighting(
void)
const;
70 BWORD shadows(
void)
const;
71 Real pointSize(
void)
const;
72 Real lineWidth(
void)
const;
73 I32 refinement(
void)
const;
75 I32 glowFrame(
void)
const {
return m_glowFrame; }
77 Real updateSlack(
void);
78 void setSlack(Real a_slack,Real a_slackInc,
81 m_slackInc=a_slackInc;
82 m_slackMin=a_slackMin; }
84 String menuString(
void)
const {
return m_menuString; }
85 void setMenuString(
String a_string)
86 { m_menuString=a_string; }
90 a_spSurfaceAccessible,
String a_nodeName);
95 void post(Real a_frame);
97 void partitionSurface(I32 a_surfaceIndex);
98 String inputNameByIndex(I32 a_inputIndex);
107 virtual void handle(
Record& a_render);
110 { m_spDrawI=a_spDrawI; }
111 void bindDrawable(I32 a_inputIndex,I32 a_surfaceIndex,
114 void incrementSerial(
void) { m_serial++; }
115 void setFrame(Real a_frame);
116 void updateFrame(
void);
117 Real minFrame(
void)
const {
return m_minFrame; }
118 Real maxFrame(
void)
const {
return m_maxFrame; }
119 void setStartFrame(Real a_frame) { m_startFrame=a_frame; }
120 Real startFrame(
void)
const {
return m_startFrame; }
121 void setEndFrame(Real a_frame) { m_endFrame=a_frame; }
122 Real endFrame(
void)
const {
return m_endFrame; }
124 void setMicroseconds(I32 a_us) { m_us=a_us; }
125 I32 microseconds(
void) {
return m_us; }
128 {
return m_spImpactSurface; }
130 String nodeName(I32 a_surfaceIndex)
const;
132 I32 isolatedIndex(
void)
133 {
return m_isolateSurfaceIndex; }
135 BWORD hideAll(I32 a_surfaceIndex);
136 BWORD ghostAll(I32 a_surfaceIndex);
138 void setSurfaceViewerOp(
140 void setImpactAccessible(
143 { m_spImpactSurface=a_spSurface; }
144 void setSurfaceImpact(
147 m_spSurfaceImpact=a_spSurfaceImpact; }
148 void setImpactNodeName(
String a_nodeName)
149 { m_impactNodeName=a_nodeName; }
150 void setImpactInputName(
String a_inputName)
151 { m_impactInputName=a_inputName; }
153 I32 impactSurfaceIndex(
void)
154 {
return m_impactSurfaceIndex; }
155 void setImpactSurfaceIndex(I32 a_surfaceIndex)
156 { m_impactSurfaceIndex=a_surfaceIndex; }
158 void pickIncrement(I32 a_increment);
159 void pick(I32 a_surfaceIndex);
161 void hideSelected(
void);
162 void ghostSelected(
void);
163 void isolateToggle(
void);
164 void paperToggle(
void);
167 Real& a_rRadius)
const ;
169 Real& a_rRadius)
const ;
171 void setPickingSurfaceIndex(I32 a_surfaceIndex)
172 { m_pickingSurfaceIndex=a_surfaceIndex; }
173 void setPickingAccessible(
175 void setPickingNodeName(
String a_nodeName)
176 { m_pickingNodeName=a_nodeName; }
177 void setPickingImpact(
179 { m_spPickingImpact=a_spPickingImpact; }
181 { m_pickPoint=a_point;
182 m_pickRadius=a_radius; }
184 void clearEmphasis(
void);
185 void setEmphasis(I32 a_surfaceIndex,Real a_emphasis);
187 void clearGeodesics(
void);
189 void drawNormals(I32 a_surfaceIndex);
190 void drawInstances(I32 a_surfaceIndex,
191 const Color* a_pColor);
192 void drawHorizon(
void);
193 void drawDesignator(I32 a_surfaceIndex);
195 void findPart(
String a_partname);
196 void clearBuffer(I32 a_surfaceIndex);
197 void clearBuffers(
void);
198 void applyHidden(I32 a_surfaceIndex);
199 void applyGhosted(I32 a_surfaceIndex);
202 Color background(
void);
244 I32 m_reopenCountdown;
246 I32 m_pickingSurfaceIndex;
253 BWORD m_selectRegion;
257 I32 m_isolateSurfaceIndex;
262 Real m_multiplication;
263 I32 m_characterWidth;
268 std::map<U64,Edge> m_edgeMap;
277 I32 m_impactSurfaceIndex;
297 EventHandler(
void) {}
299 virtual void handle(
Record& a_render);
302 { m_hpSurfaceViewerOp=a_spSurfaceViewerOp; }
309 class Worker:
public Thread::Functor
314 m_hpJobQueue(a_spJobQueue),
320 virtual ~Worker(
void) {}
322 virtual void operate(
void);
325 { m_pSurfaceViewerOp=
366 Targeting m_targeting;
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Special vector for color (RGBA)
Definition: Color.h:21
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Generalized windowing event.
Definition: WindowEvent.h:43
Safe handle for shared pointer.
Definition: Handled.h:61
Automatically reference-counted string container.
Definition: String.h:128
Partial Generic SurfaceI Implemention.
Definition: OperatorSurfaceCommon.h:20
Wrapper for std::vector.
Definition: Array.h:21
Reference to an instance of a Layout.
Definition: RecordSB.h:35
DrawStyle
Rendering schemes that an an implementation may recognize.
Definition: DrawMode.h:42
Operator to look at surfaces in an independent window.
Definition: SurfaceViewerOp.h:22
SignalerViewerI attributes.
Definition: SignalerViewerI.h:37
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192