82 static vtkSMTrace* StartTrace(
const char* preamble =
nullptr);
88 static std::string StopTrace();
96 vtkSetMacro(TraceXMLDefaults,
bool);
97 vtkGetMacro(TraceXMLDefaults,
bool);
105 vtkSetMacro(LogTraceToStdout,
bool);
106 vtkGetMacro(LogTraceToStdout,
bool);
117 vtkSetMacro(FullyTraceSupplementalProxies,
bool);
118 vtkGetMacro(FullyTraceSupplementalProxies,
bool);
125 vtkSetMacro(SkipRenderingComponents,
bool);
126 vtkGetMacro(SkipRenderingComponents,
bool);
133 vtkSetMacro(FullyTraceCameraAdjustments,
bool);
134 vtkGetMacro(FullyTraceCameraAdjustments,
bool);
139 RECORD_ALL_PROPERTIES = 0,
140 RECORD_MODIFIED_PROPERTIES = 1,
141 RECORD_USER_MODIFIED_PROPERTIES = 2
145 PropertiesToTraceOnCreate,
int, RECORD_ALL_PROPERTIES, RECORD_USER_MODIFIED_PROPERTIES);
146 vtkGetMacro(PropertiesToTraceOnCreate,
int);
151 std::string GetCurrentTrace();
160 static std::string GetState(
vtkSMProxy* options);
181 TraceItemArgs& arg(
const char* key,
const std::vector<int>& val);
182 TraceItemArgs& arg(
const char* key,
const std::vector<double>& val);
198 vtkInternals* Internals;
212 class TraceItemInternals;
213 TraceItemInternals* Internals;
224 bool CheckForError();
239 vtkInternals* Internals;
246 #define SM_SCOPED_TRACE_0(x, y) x##y 247 #define SM_SCOPED_TRACE_1(x, y) SM_SCOPED_TRACE_0(x, y) 248 #define SM_SCOPED_TRACE(_A_TRACE_TYPE) \ 249 vtkSMTrace::TraceItem SM_SCOPED_TRACE_1(_trace_item, __LINE__)(#_A_TRACE_TYPE); \ 250 SM_SCOPED_TRACE_1(_trace_item, __LINE__) = vtkSMTrace::TraceItemArgs()
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMTrace is used to produce Python trace in the ParaView application.
bool FullyTraceSupplementalProxies
Returns true of there's an error.
bool TraceXMLDefaults
Returns true of there's an error.
bool SkipRenderingComponents
Returns true of there's an error.
superclass for most server manager classes
bool FullyTraceCameraAdjustments
Returns true of there's an error.
static vtkSMTrace * GetActiveTracer()
Provides access to the "active" tracer.
static vtkSMObject * New()
proxy for a VTK object(s) on a server
bool LogTraceToStdout
Returns true of there's an error.
int PropertiesToTraceOnCreate
Returns true of there's an error.
void PrintSelf(ostream &os, vtkIndent indent) override