⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 swig_wrap.cxx

📁 Wrapper Class For SWT Opencascade
💻 CXX
📖 第 1 页 / 共 2 页
字号:
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  int arg5 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = (int)jarg3; 
  arg4 = (int)jarg4; 
  arg5 = (int)jarg5; 
  (arg1)->ShiftSelect(arg2,arg3,arg4,arg5);
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1ShiftSelect_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->ShiftSelect();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1BackgroundColor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = *(int **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
    return ;
  } 
  arg3 = *(int **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
    return ;
  } 
  arg4 = *(int **)&jarg4;
  if(!arg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
    return ;
  } 
  (arg1)->BackgroundColor(*arg2,*arg3,*arg4);
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1UpdateCurrentViewer(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->UpdateCurrentViewer();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1FrontView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->FrontView();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1TopView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->TopView();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1LeftView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->LeftView();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1BackView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->BackView();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1RightView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->RightView();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1BottomView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->BottomView();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1AxoView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->AxoView();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1ZoomAllView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->ZoomAllView();
}


SWIGEXPORT jfloat JNICALL Java_occjniJNI_OCCViewer_1Scale(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jfloat jresult = 0 ;
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  float result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  result = (float)(arg1)->Scale();
  jresult = (jfloat)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1ResetView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->ResetView();
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1SetDisplayMode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->SetDisplayMode(arg2);
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1SetColor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = (int)jarg3; 
  arg4 = (int)jarg4; 
  (arg1)->SetColor(arg2,arg3,arg4);
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1ObjectColor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jlong jarg3, jlong jarg4) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  int *arg2 = 0 ;
  int *arg3 = 0 ;
  int *arg4 = 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = *(int **)&jarg2;
  if(!arg2) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
    return ;
  } 
  arg3 = *(int **)&jarg3;
  if(!arg3) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
    return ;
  } 
  arg4 = *(int **)&jarg4;
  if(!arg4) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "int & reference is null");
    return ;
  } 
  (arg1)->ObjectColor(*arg2,*arg3,*arg4);
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1SetBackgroundColor(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  int arg2 ;
  int arg3 ;
  int arg4 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = (int)jarg2; 
  arg3 = (int)jarg3; 
  arg4 = (int)jarg4; 
  (arg1)->SetBackgroundColor(arg2,arg3,arg4);
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1EraseObjects(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  (arg1)->EraseObjects();
}


SWIGEXPORT jfloat JNICALL Java_occjniJNI_OCCViewer_1GetVersion(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jfloat jresult = 0 ;
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  float result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  result = (float)(arg1)->GetVersion();
  jresult = (jfloat)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1SetMaterial(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->SetMaterial(arg2);
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1SetTransparency(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  int arg2 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = (int)jarg2; 
  (arg1)->SetTransparency(arg2);
}


SWIGEXPORT jboolean JNICALL Java_occjniJNI_OCCViewer_1Dump(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
    if (!arg2) return 0;
  }
  result = (bool)(arg1)->Dump(arg2);
  jresult = (jboolean)result; 
  if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_occjniJNI_OCCViewer_1IsObjectSelected(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jboolean jresult = 0 ;
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  result = (bool)(arg1)->IsObjectSelected();
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jint JNICALL Java_occjniJNI_OCCViewer_1DisplayMode(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
  jint jresult = 0 ;
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  result = (int)(arg1)->DisplayMode();
  jresult = (jint)result; 
  return jresult;
}


SWIGEXPORT void JNICALL Java_occjniJNI_OCCViewer_1CreateNewView(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2) {
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  void *arg2 = (void *) 0 ;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = *(void **)&jarg2; 
  (arg1)->CreateNewView(arg2);
}


SWIGEXPORT jboolean JNICALL Java_occjniJNI_OCCViewer_1SetAISContext(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jlong jarg2, jobject jarg2_) {
  jboolean jresult = 0 ;
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  OCCViewer *arg2 = (OCCViewer *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  (void)jarg2_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = *(OCCViewer **)&jarg2; 
  result = (bool)(arg1)->SetAISContext(arg2);
  jresult = (jboolean)result; 
  return jresult;
}


SWIGEXPORT jboolean JNICALL Java_occjniJNI_OCCViewer_1ImportBRep(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
  jboolean jresult = 0 ;
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  char *arg2 = (char *) 0 ;
  bool result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = 0;
  if (jarg2) {
    arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0);
    if (!arg2) return 0;
  }
  result = (bool)(arg1)->ImportBRep(arg2);
  jresult = (jboolean)result; 
  if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2);
  return jresult;
}


SWIGEXPORT jint JNICALL Java_occjniJNI_OCCViewer_1CharToInt(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jchar jarg2) {
  jint jresult = 0 ;
  OCCViewer *arg1 = (OCCViewer *) 0 ;
  char arg2 ;
  int result;
  
  (void)jenv;
  (void)jcls;
  (void)jarg1_;
  arg1 = *(OCCViewer **)&jarg1; 
  arg2 = (char)jarg2; 
  result = (int)(arg1)->CharToInt(arg2);
  jresult = (jint)result; 
  return jresult;
}


#ifdef __cplusplus
}
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -