Home
last modified time | relevance | path

Searched refs:TDoubleParam (Results 1 – 25 of 59) sorted by relevance

123

/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/toonzqt/
H A Dfunctionselection.h28 class TDoubleParam; variable
35 virtual TDoubleParam *getCurve(int columnIndex) const = 0;
55 int getCurveIndex(TDoubleParam *curve) const;
58 int touchCurveIndex(TDoubleParam *curve);
70 void selectCurve(TDoubleParam *curve);
76 const QList<TDoubleParam *> &curves);
82 void select(TDoubleParam *curve, int k);
83 bool isSelected(TDoubleParam *curve, int k) const;
84 void selectSegment(TDoubleParam *, int k,
93 QPair<TDoubleParam *, int> getSelectedSegment()
[all …]
H A Dfunctionpanel.h24 class TDoubleParam; variable
111 TDoubleParam *curve;
140 double getPixelRatio(TDoubleParam *curve) const;
147 double valueToY(TDoubleParam *curve, double value) const;
148 double yToValue(TDoubleParam *curve, double y) const;
159 QPointF getWinPos(TDoubleParam *curve, double frame, double value) const;
163 QPointF getWinPos(TDoubleParam *curve, double frame) const;
164 QPointF getWinPos(TDoubleParam *curve, const TDoubleKeyframe &kf) const;
166 int getCurveDistance(TDoubleParam *curve, const QPoint &winPos);
184 TDoubleParam *getCurrentCurve() const;
[all …]
H A Dfunctionviewer.h36 class TDoubleParam; variable
136 void curveIo(int type, TDoubleParam *curve, const std::string &name);
152 void onCurveSelected(TDoubleParam *);
187 TDoubleParam *m_curve;
198 void emitIoCurve(int type, TDoubleParam *curve, const std::string &name) { in emitIoCurve()
H A Dfunctiontreeviewer.h32 class TDoubleParam; variable
171 Channel(FunctionTreeModel *model, TDoubleParam *param,
175 TDoubleParam *getParam() const { in getParam()
176 return (TDoubleParam *)m_param.getPointer(); in getParam()
234 int getColumnIndexByCurve(TDoubleParam *param) const;
270 void curveSelected(TDoubleParam *);
288 void emitCurveSelected(TDoubleParam *curve) { emit curveSelected(curve); } in emitCurveSelected()
H A Dfunctionsegmentviewer.h42 TDoubleParam *m_curve;
73 TDoubleParam *getCurve() const { return m_curve; } in getCurve()
109 void setSegment(TDoubleParam *curve, int segmentIndex);
110 void setSegmentByFrame(TDoubleParam *curve, int frame);
124 TDoubleParam *getCurve() const { return m_viewer->getCurve(); } in getCurve()
H A Dfunctiontoolbar.h30 class TDoubleParam; variable
67 TDoubleParam *m_curve;
95 void setCurve(TDoubleParam *curve);
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/
H A Dtdoubleparam.h33 class TDoubleParam; variable
45 template class DVAPI TPersistDeclarationT<TDoubleParam>;
54 class DVAPI TDoubleParam final : public TParam {
55 PERSIST_DECLARATION(TDoubleParam)
61 TDoubleParam(double v = 0.0);
62 TDoubleParam(const TDoubleParam &src);
63 ~TDoubleParam();
65 TDoubleParam &operator=(const TDoubleParam &);
67 TParam *clone() const override { return new TDoubleParam(*this); } in clone()
164 DEFINE_PARAM_SMARTPOINTER(TDoubleParam, double)
H A Dtexpression.h26 class TDoubleParam; variable
87 void setOwnerParameter(TDoubleParam *param);
88 TDoubleParam *getOwnerParameter() const;
H A Dtgrammar.h28 class TDoubleParam; variable
79 TDoubleParam *m_param; //!< (not owned) Owner of the calculator object
98 void setOwnerParameter(TDoubleParam *param) { m_param = param; } in setOwnerParameter()
99 TDoubleParam *getOwnerParameter() const { return m_param; } in getOwnerParameter()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonz/
H A Dcurveio.cpp21 LoadCurveUndo(TDoubleParam *curve) : m_curve(curve) { in LoadCurveUndo()
22 m_oldCurve = static_cast<TDoubleParam *>(curve->clone()); in LoadCurveUndo()
25 m_newCurve = static_cast<TDoubleParam *>(m_curve->clone()); in onAdd()
39 TDoubleParam *m_curve;
43 TDoubleParam *curve) in CurvePopup()
70 TDoubleParam *getCurve() const { return m_curve; } in getCurve()
77 SaveCurvePopup(const TFilePath folderPath, TDoubleParam *curve) in SaveCurvePopup()
135 TDoubleParam *curve = getCurve(); in execute()
190 TDoubleParam *curve = getCurve(); in execute()
216 void saveCurve(TDoubleParam *curve) { in saveCurve()
[all …]
H A Dexpressionreferencemanager.h17 class TDoubleParam; variable
31 QMap<TDoubleParam*, ExpressionReferenceMonitorInfo>& info(
34 ExpressionReferenceMonitorInfo& touchInfo(TDoubleParam* param,
40 FunctionTreeModel::Channel* findChannel(TDoubleParam* param,
43 void gatherParams(TreeModel::Item* item, QList<TDoubleParam*>&);
44 bool refreshParamsRef(TDoubleParam* curve, TXsheet* xsh = nullptr);
47 TDoubleParam* curve, const std::map<std::string, std::string> replaceMap,
61 bool isIgnored(TDoubleParam*) override;
H A Dcurveio.h8 class TDoubleParam; variable
10 void saveCurve(TDoubleParam *curve);
11 void loadCurve(TDoubleParam *curve);
12 void exportCurve(TDoubleParam *curve, const std::string &name);
H A Dexpressionreferencemanager.cpp148 TDoubleParam* param, TXsheet* xsh) { in touchInfo()
220 QSet<TDoubleParam*> paramsRef; in refreshParamsRef()
233 QSet<TDoubleParam*> tmpParamsRef; in refreshParamsRef()
325 QList<TDoubleParam*> paramSet; in onXsheetChanged()
429 TDoubleParam* curve = dynamic_cast<TDoubleParam*>(change.m_param); in onChange()
541 QList<TDoubleParam*> paramsToBeDeleted; in doCheckReferenceDeletion()
568 QSet<TDoubleParam*> cautionParams; in doCheckReferenceDeletion()
569 QSet<TDoubleParam*> invCautionParams; in doCheckReferenceDeletion()
777 QMap<TDoubleParam*, TDoubleParam*> curveReplaceTable; in transferReference()
881 QSet<TDoubleParam*> insertedCurves; in transferReference()
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzqt/
H A Dfunctionselection.cpp59 TDoubleParam *m_param;
130 TDoubleParam *m_param;
134 TDoubleParam *m_param;
216 TDoubleParam *m_param;
307 TDoubleParam *curve = curves[i]; in selectCells()
348 QList<TDoubleParam *> curves; in selectCells()
476 std::vector<TDoubleParam *> params; in doPaste()
599 TDoubleParam *curve = col.first; in setStep()
627 TDoubleParam *curve = col.first; in getCommonStep()
659 TDoubleParam *curve = col.first; in setSegmentType()
[all …]
H A Dfunctionpaneltools.h12 class TDoubleParam; variable
62 TDoubleParam *m_curve;
67 RectSelectTool(FunctionPanel *panel, TDoubleParam *curve) in RectSelectTool()
92 MovePointDragTool(FunctionPanel *panel, TDoubleParam *curve);
113 TDoubleParam *m_curve;
126 MoveHandleDragTool(FunctionPanel *panel, TDoubleParam *curve, int kIndex,
H A Dfunctionsegmentviewer.cpp210 TDoubleParam *curve = getCurve(); in onLastHandleXChanged()
238 TDoubleParam *curve = getCurve(); in onLastHandleYChanged()
275 TDoubleParam *curve = getCurve(); in refresh()
329 TDoubleParam *curve = getCurve(); in init()
396 TDoubleParam *curve = getCurve(); in refresh()
407 TDoubleParam *curve = getCurve(); in onEase0Changed()
417 TDoubleParam *curve = getCurve(); in onEase1Changed()
427 TDoubleParam *curve = getCurve(); in init()
521 TDoubleParam *curve = getCurve(); in refresh()
546 TDoubleParam *curve = getCurve(); in init()
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/tparam/
H A Dtdoubleparam.cpp298 class TDoubleParam::Imp {
455 TDoubleParam::TDoubleParam(double v) : m_imp(new TDoubleParam::Imp(v)) {} in TDoubleParam() function in TDoubleParam
459 TDoubleParam::TDoubleParam(const TDoubleParam &src) in TDoubleParam() function in TDoubleParam
466 TDoubleParam::~TDoubleParam() {} in ~TDoubleParam()
470 TDoubleParam &TDoubleParam::operator=(const TDoubleParam &dp) { in operator =()
478 void TDoubleParam::copy(TParam *src) { in copy()
479 TDoubleParam *p = dynamic_cast<TDoubleParam *>(src); in copy()
858 bool TDoubleParam::isDefault() const { in isDefault()
931 void TDoubleParam::clearKeyframes() { in clearKeyframes()
1025 void TDoubleParam::loadData(TIStream &is) { in loadData()
[all …]
H A Dtpixelparam.cpp13 : m_r(new TDoubleParam(p.r / 255.0)) in TPixelParamImp()
14 , m_g(new TDoubleParam(p.g / 255.0)) in TPixelParamImp()
15 , m_b(new TDoubleParam(p.b / 255.0)) in TPixelParamImp()
16 , m_m(new TDoubleParam(p.m / 255.0)) in TPixelParamImp()
204 if (on == false) m_data->m_m = new TDoubleParam(255.0); in enableMatte()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/toonz/
H A Dtxsheetexpr.h22 class TDoubleParam; variable
26 DVAPI bool dependsOn(TExpression &expr, TDoubleParam *possiblyDependentParam);
27 DVAPI bool dependsOn(TDoubleParam *param, TDoubleParam *possiblyDependentParam);
29 QSet<TDoubleParam *> &params);
H A Dexpressionreferencemonitor.h20 class TDoubleParam; variable
32 QSet<TDoubleParam*> m_paramRefMap;
38 QSet<TDoubleParam*>& paramRefMap() { return m_paramRefMap; } in paramRefMap()
42 QMap<TDoubleParam*, ExpressionReferenceMonitorInfo> m_info;
46 QMap<TDoubleParam*, ExpressionReferenceMonitorInfo>& info() { return m_info; } in info()
H A Ddoubleparamcmd.h39 std::vector<std::pair<double, int>> &rotatingSpeeds, TDoubleParam *param,
43 KeyframeSetter(TDoubleParam *param, int kIndex = -1, bool enableUndo = true);
46 TDoubleParam *getCurve() const { return m_param.getPointer(); } in getCurve()
98 static void setValue(TDoubleParam *curve, double frame, double value) { in setValue()
103 static void removeKeyframeAt(TDoubleParam *curve, double frame);
105 static void enableCycle(TDoubleParam *curve, bool enabled,
H A Dtstageobjectspline.h24 class TDoubleParam; variable
46 std::vector<TDoubleParam *> m_posPathParams;
83 void addParam(TDoubleParam *param);
84 void removeParam(TDoubleParam *param);
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/
H A Dtxsheetexpr.cpp50 TDoubleParam *m_possiblyDependentParam;
54 ParamDependencyFinder(TDoubleParam *possiblyDependentParam) in ParamDependencyFinder()
57 void check(TDoubleParam *param) { in check()
80 QSet<TDoubleParam *> m_refParams;
86 void registerRefParam(TDoubleParam *param) { m_refParams.insert(param); } in registerRefParam()
92 QSet<TDoubleParam *> refParams() const { return m_refParams; } in refParams()
150 if (TDoubleParam *ownerParam = getCalculator()->getOwnerParameter()) { in onChange()
374 TDoubleParam *channel = object->getParam(channelName); in createNode()
709 bool dependsOn(TExpression &expr, TDoubleParam *possiblyDependentParam) { in dependsOn()
715 bool dependsOn(TDoubleParam *param, TDoubleParam *possiblyDependentParam) { in dependsOn()
[all …]
H A Dtstageobject.cpp364 , m_x(new TDoubleParam()) in TStageObject()
365 , m_y(new TDoubleParam()) in TStageObject()
366 , m_z(new TDoubleParam()) in TStageObject()
367 , m_so(new TDoubleParam()) in TStageObject()
368 , m_rot(new TDoubleParam()) in TStageObject()
369 , m_scalex(new TDoubleParam(1.0)) in TStageObject()
371 , m_scale(new TDoubleParam(1.0)) in TStageObject()
372 , m_posPath(new TDoubleParam()) in TStageObject()
373 , m_shearx(new TDoubleParam()) in TStageObject()
374 , m_sheary(new TDoubleParam()) in TStageObject()
[all …]
H A Dtstageobjectspline.cpp57 void update(TDoubleParam *param) { in update()
143 (TDoubleParam *)m_posPathParams[i]->clone()); in clone()
252 void TStageObjectSpline::addParam(TDoubleParam *param) { in addParam()
261 void TStageObjectSpline::removeParam(TDoubleParam *param) { in removeParam()
262 std::vector<TDoubleParam *>::iterator it = in removeParam()

123