-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathikGroupContainer.h
27 lines (22 loc) · 1010 Bytes
/
ikGroupContainer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include "ik.h"
#include <vector>
#include "ikGroup.h"
class CIkGroupContainer
{
public:
CIkGroupContainer();
virtual ~CIkGroupContainer();
CIkGroupContainer* copyYourself() const;
CikGroup* getIkGroup(int groupHandle) const;
CikGroup* getIkGroup(std::string groupName) const;
void addIkGroup(CikGroup* anIkGroup,bool keepCurrentHandle);
void removeIkGroup(int ikGroupHandle);
void removeAllIkGroups();
void announceSceneObjectWillBeErased(int objectHandle);
void announceIkGroupWillBeErased(int ikGroupHandle);
int computeAllIkGroups(bool exceptExplicitHandling);
int computeIk(int groupHandle,double precision[2],int(*cb)(const int*,double*,const int*,const int*,const int*,const int*,double*,double*,double*,int,int));
int computeIk(const std::vector<int>& groupHandles,double precision[2],int(*cb)(const int*,double*,const int*,const int*,const int*,const int*,double*,double*,double*,int,int));
std::vector<CikGroup*> ikGroups;
};